AHodsdon;505154 Wrote: > Is there a way to get a SQL Playlist to only play a fixed number of > tracks? It seems that no matter what I try and do, the playlist gets > repopulated when the last track finishes. Here's what I've got so far: > > Code: -------------------- > > > If you like to avoid repopulation, you need to make sure the SQL doesn't return any more tracks when it's executed next time. Or alternatively uncheck the "Add new items when old ones finish" option in the Dynamic Playlist web interface but that affects all dynamic playlists. > > If you want to make the SQL not return more tracks, you probably want to look at the number of items in the dynamicplaylist_history table for the current player and make sure the SQL doesn't return anything if it contains more than a certain amount of items. > > I'm not going to be available for a while so hopefully some other user might be able to help you if you can't solve it yourself.
-- erland Erland Isaksson 'My homepage' (http://erland.isaksson.info) (Install my plugins through Extension Downloader) (Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse, Custom Scan, Custom Skip, Multi Library, Title Switcher and Database Query plugins' (http://wiki.erland.isaksson.info/index.php/Category:SlimServer)) ------------------------------------------------------------------------ erland's Profile: http://forums.slimdevices.com/member.php?userid=3124 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
