Philip Meyer;321471 Wrote: > I thought that perhaps I could edit the actual TrackStat queries, but > looking around the sub-folders in the TrackStat plugin folder, I can't > see anything specificaly for Not Rated Songs. Is the SQL built > dynamically in the plugin code? > You have guessed correctly, the SQL for the TrackStat based dynamic playlists is in the perl code.
If you have enabled debug logging for TrackStat, you will see the actual SQL that its executed, the log message should come from the file: Plugins/TrackStat/Statistics/Base.pm. You can almost use this SQL directly in a playlist created by SQL Playlist plugin, you will just have to change it so it returns tracks.url instead of tracks.id as I think it do when it's used inside TrackStat. -- erland Erland Isaksson 'My homepage' (http://erland.isaksson.info) 'My download page' (http://erland.isaksson.info/download) (Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse, Custom Scan, Custom Skip, Multi Library 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=49886 _______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins