hi Erland, ive been happily using for over a year trackstat (as well as dynamic playlist and few others) plugins. I noticed that when i wanted to play favourites (top rated songs not played recently) i always ended up getting same songs ... didn't really pay too much attention to it, until i realised that it simply doesn't track any songs being played. only thing that does work is ratings them selves. I turned on debug logging and saw messages that for some reason 'Not timing file://127.0.0.1:3483/file://data/music ....' etc. Installation was squeezebox server 7.8.1 from community squeeze on fedora 20. i checked all the settings and thought it had something to do with my install. i reformarted hard drive, installed lubuntu 14.04, squeezeboxserver 7.9.0 (nightly release) and long story short - exactly the same behaviour ! In both scenarious i have used squeezelite as soft player running on the same machine where i ran SB server. In order to make sure it has nothing to do with squeezelite i tried using existing Touch player .... and all is good in that case. Seems that the issue is 'url' of the song being played. When playing on Touch log message says 'file:///data/music/etc..' where as when playing on squeezelite it says 'file://127.0.0.1:3483/file:///data/music/etc...' ... so trackstat believes it is NOT a song/file but rather a radio stream or something like that ?
here is the excerpt from the log (1st i changed rating of a song just to be 100% sure that trackstat in general recognises the song) then next song starts (instant crush) and plays to the end but trackstat can not update ... [14-06-02 00:39:06.9464] Plugins::TrackStat::Plugin::setCLIRating (4751) Entering setCLIRating [14-06-02 00:39:06.9484] Plugins::TrackStat::Plugin::rateSong (4621) Changing song rating to: 40 [14-06-02 00:39:06.9488] Plugins::TrackStat::Storage::findTrack (533) findTrack(): URL: file:///data/music/sbox/CDQ/Daft%20Punk/Random%20Access%20Memories%20[Limited%20Box%20Set%20Edition]%20(2014)/04.Within.flac [14-06-02 00:39:06.9492] Plugins::TrackStat::Storage::saveRating (690) Store rating [14-06-02 00:39:06.9493] Plugins::TrackStat::Storage::saveRating (706) Execute UPDATE track_statistics set rating=40 where url = ? or url = ? [14-06-02 00:39:06.9516] Plugins::TrackStat::Plugin::rateSong (4635) Calling Plugins::TrackStat::Plugin [14-06-02 00:39:06.9517] Plugins::TrackStat::Plugin::setTrackStatRating (4652) Entering setTrackStatRating [14-06-02 00:39:06.9533] Plugins::TrackStat::Plugin::setTrackStatRating (4683) Exiting setTrackStatRating [14-06-02 00:39:06.9535] Plugins::TrackStat::Plugin::setCLIRating (4825) Exiting setCLIRating [14-06-02 00:40:12.0321] Plugins::TrackStat::Plugin::commandCallback65 (4135) Entering commandCallback65 [14-06-02 00:40:12.0322] Plugins::TrackStat::Plugin::startTimingNewSong (4252) Starting a new song [14-06-02 00:40:12.0336] Plugins::TrackStat::Plugin::startTimingNewSong (4294) Starting to time file:///data/music/sbox/CDQ/Daft%20Punk/Random%20Access%20Memories%20[Limited%20Box%20Set%20Edition]%20(2014)/05.Instant%20Crush.flac [14-06-02 00:40:12.0338] Plugins::TrackStat::Plugin::commandCallback65 (4242) Exiting commandCallback65 [14-06-02 00:40:12.0343] Plugins::TrackStat::Plugin::commandCallback65 (4135) Entering commandCallback65 [14-06-02 00:40:12.0345] Plugins::TrackStat::Plugin::stopTimingSong (4360) Stopping timing file:///data/music/sbox/CDQ/Daft%20Punk/Random%20Access%20Memories%20[Limited%20Box%20Set%20Edition]%20(2014)/05.Instant%20Crush.flac [14-06-02 00:40:12.0346] Plugins::TrackStat::Plugin::stopTimingSong (4361) Total elapsed time in seconds: 0.000866 [14-06-02 00:40:12.0347] Plugins::TrackStat::Plugin::trackWasPlayedEnoughToCountAsAListen (4564) Time actually played in track: 0.000866 [14-06-02 00:40:12.0348] Plugins::TrackStat::Plugin::trackWasPlayedEnoughToCountAsAListen (4575) "Instant Crush" NOT played long enough: Played 0.000866; needed to play 5 seconds. [14-06-02 00:40:12.0349] Plugins::TrackStat::Storage::findTrack (509) Reading slimserver track: file:///data/music/sbox/CDQ/Daft%20Punk/Random%20Access%20Memories%20[Limited%20Box%20Set%20Edition]%20(2014)/05.Instant%20Crush.flac [14-06-02 00:40:12.0352] Plugins::TrackStat::Storage::findTrack (533) findTrack(): URL: file:///data/music/sbox/CDQ/Daft%20Punk/Random%20Access%20Memories%20[Limited%20Box%20Set%20Edition]%20(2014)/05.Instant%20Crush.flac [14-06-02 00:40:12.0370] Plugins::TrackStat::Plugin::startTimingNewSong (4252) Starting a new song [14-06-02 00:40:12.0378] Plugins::TrackStat::Plugin::startTimingNewSong (4296) Not timing file://127.0.0.1:3483/file:///data/music/sbox/CDQ/Daft%20Punk/Random%20Access%20Memories%20[Limited%20Box%20Set%20Edition]%20(2014)/05.Instant%20Crush.flac - not a file [14-06-02 00:40:12.0380] Plugins::TrackStat::Plugin::commandCallback65 (4242) Exiting commandCallback65 please let me know what i could do ? tx gaha ------------------------------------------------------------------------ gahabana's Profile: http://forums.slimdevices.com/member.php?userid=62064 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
