Auto add smart playlist to queue
#1
Smile 
Since I moved from MediaMonkey to Kodi I have been missing MM:s Auto-DJ function. When the last audio track in the queue starts playing, five new tracks are added at the end of the queue, so that the music never ends. These five (or n) tracks is chosen on special premises, exactly like a Smart playlist.
For example: As the last track is starting, the five least played tracks from the music library is added at the end.
I'm looking for a way to implement this on my Kodi installation on OSMC (RPi2). Perhaps I can make use of the Kodi Callbacks addOn, using the onQueueNextItem event? I guess I can trigger a Python script, but I can't figure out how the script should look and where it should be placed in the file system.

I found that maybe the xbmc library could be used... XBMCAddon::xbmc::PlayList::add( ...)

I really need to find a way forward on this. Seems I can grasp most of the components, but I'm a complete newbie when it comes to getting things together :-)
Reply


Messages In This Thread
Auto add smart playlist to queue - by niceboy - 2019-02-08, 16:00
Logout Mark Read Team Forum Stats Members Help
Auto add smart playlist to queue0