Groups: Administrators
Joined: 2/18/2010(UTC) Posts: 4,163 Points: 12,665 Location: California, USA
Thanks: 298 times Was thanked: 3503 time(s) in 640 post(s)
|
Originally Posted by: l4tran  Is it possible to release a plugin module to communicate directly to the Tkaraoke software?
I'm in the middle of developing a local webapp for my digital songbook. The app takes the Tkaraoke Song Catalog.txt file and display it on a webpage. Users can scroll, search and sort through the list. If a user select one song the webapp will output 6 keystroke. ie '1' '0' '0' '0' '9' 'enter' for the nineth song in the list. This works, but not consistently. The user can select 1 or more songs, however only the first 1 or 2 songs get detected sometimes not at all. I'm thinking Tkaraoke cannot pickup the digits fast enough or something else. I even tried pausing 1 second in between keystrokes, still doesn't work. I output the digits to a text file, the digits are in correct sequence.
The plugin module can be a commandline interface. example.
Tqueue.exe -addsongs 1234,0003,4444 ;add 3 songs to the queue Tqueue.exe -display ;display currently queued songs ie 1234,0003,4444 Tqueue.exe -remove 0003 ;remove song 0003 from the queue Tqueue.exe -next ;plays next song. Tqueue.exe -switchtrack ;switch audio track. Are you trying to implement this feature by transmitting SEND_KEY commands? Send_Key won't work reliably. There will be a web service for varous components of TKaraoke to talk to. Not sure if we will be exposing this service for outside clients.
|