Main > Audio/Jukebox/MP3 Forum
Plugins: Document API for JukePlugSys
AussieJuke:
--- Quote from: Space Fractal on March 21, 2008, 06:46:31 am ---I add the filename addation to my software, I hope Uncle'T like that idea. In MultiJuke this was only required 3 code lines for all 3 commands. Theses is:
JUKE_SONGLIST_ADD_SONG
JUKE_SONG_START
JUKE_SONG_NEXT
--- End quote ---
I've been meaning to ask; when should the juke app send the JUKE_SONG_NEXT command?
Is it as soon as a new song moves to the top of the play queue?
Space Fractal:
It could pause the song directly after a new song through a KeyEvent, if it have been defined by the software. If so, it would been possible to do a pause/unpause tricks instead, which would do the same. If the user try to unpause while playing a sound from the plug-in, tell the jukebox software to pause that song again.
Of course this is required the jukebox software to have defined such a command to been used trough PLUGIN_EVENT command.
Because of that, this idea is dropped.
JUKE_SONG_NEXT:
Yes, it used by Sound Wav as well, so the plug-in doesn't need to perform the queue/playlist the software use.
And yes, Its practical the same as the first song in the queue.
In MultiJuke it actuelly the second song, since I use a different songlist system, hence JUKE_SONGLIST_CURRENTPOSITION is set to 1 here. Not all JB software does need that JUKE_SONGLIST_CURRENTPOSITION command yet.
unclet:
Sorry, I Have been quite busy lately ...... I will try to look at this tonight when I get home, but it might have to wait until this weekend possibly.
It seems you are requesting the filename path be added as the last parameter to the following commands
JUKE_SONGLIST_ADD_SONG
JUKE_SONG_START
JUKE_SONG_NEXT
Is this correct?
As for the JUKE_SONG_NEXT command being sent ...... my software sends this command any time a new "next song" exists.
Space Fractal:
also filename with full path, otherwice you correct. Should I add this to SDK?
unclet:
You can add it to the SDK if you want. If I have trouble supplying the path for some reason then I would simply supply a "nullstring" instead of the file path. I would assume I would be able to supply the path though, but I have been wrong before so I need to check first :P
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version