Auto-DJ scripts
Auto-DJ scripts
Starting from MediaMonkey 3.0 alpha 4 there will be support for custom Auto-DJ scripts, i.e. developers will be able to create their own engine for track selection. You can read more about it in http://www.mediamonkey.com/wiki/index.p ... DJ_scripts
Jiri
Jiri
Wow, nice suprise.
Look forward to seeing alpha4!
Look forward to seeing alpha4!
New script: Last.FM Node Now with DJ Mode!
Last.fm + MediaMonkey = Scrobbler DJ!
Tag with MusicBrainz ~ Get Album Art!
Tweak the Monkey! ~ My Scripts Page
Last.fm + MediaMonkey = Scrobbler DJ!
Tag with MusicBrainz ~ Get Album Art!
Tweak the Monkey! ~ My Scripts Page
This looks like it could be useful, but more so if "GenerateTrack" actually returned a list of tracks to be added. Is this possible?
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Oh yeah, that would work!
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
So, let me get this straight....
Suppose I have set-up my MM3 to automatically maintain 10 following tracks in the now playing list and I choose to play the last song...
Will GenerateTrack be called sequentially 10 times???
Another question, is there a way for the script to know how many tracks will be maintained it the now playing list?
Finally, a question I should have asked a long time ago; is there a way to know whether a volume is online (e.g. a USB disk is plugged and activated)? Is it possible to add an event that will inform of such changes (when a volume goes online or offline??)
Suppose I have set-up my MM3 to automatically maintain 10 following tracks in the now playing list and I choose to play the last song...
Will GenerateTrack be called sequentially 10 times???
Another question, is there a way for the script to know how many tracks will be maintained it the now playing list?
Finally, a question I should have asked a long time ago; is there a way to know whether a volume is online (e.g. a USB disk is plugged and activated)? Is it possible to add an event that will inform of such changes (when a volume goes online or offline??)
I personally would fint it a bit a waste of time since ive got all the next X songs i need. Why not enqueue them at one?jiri wrote:The idea is that the function would always return one track and in case in has more results to return, it would 'cache' them (i.e. store in some variable internally) and return when its called the next time. Is it ok?
Jiri
Is it to complicate to use internally a SDB playlist?
Regards,
Red
I'd have thought SDBSongList would be better than a playlist. I'd like to turn my AutoAlbumDJ script into a script of this type, but can't if it will only add one track at a time.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
My point was, that if user configures MM to always maintain the next 3 tracks in NP window, then MM should handle this somehow. If MM asks a script to return tracks in a list, it can easily return different number, like 10 and it isn't clear what MM should do then - forget about the next 7 tracks? remember them and use the next time?
I still don't see the problem with the current implementation - the script can very easily remember unused tracks and return them the next time. It's about some 2 lines of code while giving the script maximum flexibility, don't you agree?
Jiri
I still don't see the problem with the current implementation - the script can very easily remember unused tracks and return them the next time. It's about some 2 lines of code while giving the script maximum flexibility, don't you agree?
Jiri
Yeah, this makes sense!
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.