Hi

I notice that dynamic playlists have grown a 'partly played' option
(thanks btw). When play or add is pressed this comes up.

2006-07-27 14:21:00.6574 DynamicPlayList: Get playlist context for
level=1
2006-07-27 14:21:00.6577 DynamicPlayList: Getting group: Partly played
2006-07-27 14:21:00.6578 DynamicPlayList: Adding context: Partly
played
2006-07-27 14:21:00.6579 DynamicPlayList: Get playlist context for
level=2
2006-07-27 14:21:00.6581 DynamicPlayList: Getting group: Partly played
2006-07-27 14:21:00.6583 DynamicPlayList: Getting group: Partly played
2006-07-27 14:21:00.6584 DynamicPlayList: Adding playlist:
trackstat_partlyplayedartists
2006-07-27 14:21:00.6585 DynamicPlayList: Adding playlist:
trackstat_partlyplayedalbums
2006-07-27 14:21:04.6652 DynamicPlayList: Get playlist:
trackstat_partlyplayedalbums
2006-07-27 14:21:04.6655 DynamicPlayList: playRandom called with type
trackstat_partlyplayedalbums
2006-07-27 14:21:04.8140 DynamicPlayList: 40 songs remaining, songIndex
= 5
2006-07-27 14:21:04.8145 DynamicPlayList: Get playlist:
trackstat_partlyplayedalbums
2006-07-27 14:21:04.8146 DynamicPlayList: Starting random selection of
1 items for type: trackstat_partlyplayedalbums
2006-07-27 14:21:04.8147 DynamicPlayList: Get playlist:
trackstat_partlyplayedalbums
2006-07-27 14:21:04.8148 DynamicPlayList: Calling:
Plugins::TrackStat::Plugin with: trackstat_partlyplayedalbums , 1 , 0
2006-07-27 14:21:04.8149 DynamicPlayList: Calling:
Plugins::TrackStat::Plugin :: getNextDynamicPlayListTracks
2006-07-27 14:21:04.8151 TrackStat: Got: partlyplayedalbums, 1
2006-07-27 14:21:04.8155 TrackStat: Calling playlistfunction for
partlyplayedalbums
2006-07-27 14:21:04.8157 TrackStat::Statistics: Executing: select
albums.id,avg(case when track_statistics.rating is null then 60 else
track_statistics.rating end) as avgrating, avg(case when
track_statistics.playCount is null then tracks.playCount else
track_statistics.playCount end) as
avgcount,max(track_statistics.lastPlayed) as lastplayed,
max(track_statistics.added) as maxadded from tracks left join
track_statistics on tracks.url = track_statistics.url join albums on
tracks.album=albums.id group by tracks.album having min(case when
track_statistics.playCount is null then case when tracks.playCount is
not null then tracks.playCount else 0 end else
track_statistics.playCount end)=0 having count(tracks.id)>=2  order by
avgrating desc,avgcount desc,random() limit 50
2006-07-27 14:21:04.8160 DBD::SQLite::db prepare failed: near "having":
syntax error(1) at dbdimp.c line 268 at C:\Program
Files\SlimServer\server/Plugins/TrackStat/Statistics/Base.pm line 277.
2006-07-27 14:21:04.8195 TrackStat: Failure calling playlistfunction
for partlyplayedalbums: DBD::SQLite::db prepare failed: near "having":
syntax error(1) at dbdimp.c line 268 at C:\Program
Files\SlimServer\server/Plugins/TrackStat/Statistics/Base.pm line 277.

2006-07-27 14:21:04.8198 TrackStat: Got 0 tracks

Not too sure whats going on here as all the other options appear to
still work. Is this function stil WIP?

Tim


-- 
TimM
------------------------------------------------------------------------
TimM's Profile: http://forums.slimdevices.com/member.php?userid=1204
View this thread: http://forums.slimdevices.com/showthread.php?t=20533

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to