I decided to implement a plugin to make it easier to make your own playlists plugins such as SQLPlayList and RandomMix.
The main functionallity is: - It collects all different types of playlists below the same menu, today it implements support for Random Mix and saved playlists itself and the SQLPlayList plugin also supports it starting with release 1.5. - To implement your own dynamic playlist and add it to the menu, you need to implement two methods in your plugin: getDynamicPlayLists : Shall return all dynamic playlists implemented by your plugin getNextDynamicPlayListTracks : Will be called when new tracks for a playlist is required and shall return the next tracks All playlist management is handled by the DynamicPlayList plugin so you don't have to handle it in your own plugin. A simple sample implementation can be found in the included README.txt file. The first version of DynamicPlayList plugin is now available for download on 'my download page' (http://erland.homeip.net/download). Thanks to mwphoto and gbronzer for the ideas. -- erland Erland Isaksson 'My homepage' (http://erland.homeip.net) 'My download page' (http://erland.homeip.net/download) ------------------------------------------------------------------------ erland's Profile: http://forums.slimdevices.com/member.php?userid=3124 View this thread: http://forums.slimdevices.com/showthread.php?t=21790 _______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins