Bugzilla – Bug 18148
LMS WebUI playlist gets out of sync
Last modified: 2016-06-10 07:50:38 UTC
Created attachment 7747 [details] Player shows current playing tune; playlist indicates a different tune is playing LMS details ----------- Logitech Media Server Version: 7.9.0 - 1464511112 @ Sun May 29 08:47:53 CUT 2016 Hostname: Yoga IP: 192.168.1.11 HTTP Port: 9000 OS: Windows 8.1 - EN - cp1252 Platform: 8664 Perl Version: 5.14.1 - MSWin32-x86-multi-thread Audio::Scan: 0.95 Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1) Total Players Recognized: 1 Problem details --------------- WebUI Playlist out of sync with Player (see attached screenshot). Player widget shows currently playing tune; playlist shows that a different tune is playing (and seems be missing some tracks from first album. In the attaached screenshot, the player widget correctly shows the playing tune but the playlist indicates that a different song is playing. Also, the playlist count says "track 30 of 72" but there are only 53 items in the playlist. Steps to reproduce ------------------ It seems to me that the problem arises when appending albums to an existing playlist (eg. "play album" followed by "append album to playlist". The top part of the first album disappears from the playlist (perhaps tracks that were already played at the point where the second album is appended?) and thus the currently-playing track number is further down the playlist than it should be. I first noticed it last week, and it's continued through the latest nightly update. I believe LMS used to break long playlists into pages until recently, and I don't see it doing so at the moment (though it may be due to me fiddling with the settings); is this related?
Still working as expected here. Could you please check your server.log for any errors? Oh... and looking at that screenshot I fear it's time to add support for hires displays :-)
The only things in server.log for today are: [16-05-31 10:57:32.4602] Slim::Web::JSONRPC::requestMethod (443) request not dispatchable! [16-05-31 10:57:32.7701] Slim::Web::JSONRPC::requestMethod (443) request not dispatchable! [16-05-31 14:12:08.8405] Slim::Web::Graphics::__ANON__ (403) Artwork resize for music/92992119/cover_50x50_o failed I can't always reproduce it, but something that occurred to me is that I lose connectivity at times (the microwave oven interferes with my WiMax/WiFi gateway) so maybe it happens soon after a reconnect? I'll keep trying to isolate the repro conditions.
Could you please provide the full server.log file? What browser are you using? Did you try to wipe caches, both on the server side as well as in the browser?
Created attachment 7748 [details] zipped server log
Hmm... I don't see anything obvious in that log file. Could you still disable all 3rd party plugins and try again? SmartMix will be defunct by tomorrow anyway :-(.
Okay so... Server log uploaded. Browser is Chrome v50.0.2661.102 m. Haven't tried anything to do with caches yet. I haven't noticed anything in the control panel for server cache; where is it? I'll clear the browser cache now. I've had a play with playlist pagination and it's working correctly so that's not part of the problem; it turns out that I raised the "items per page" setting last week so it just takes longer to reach.
> Haven't tried anything to do with caches yet. I haven't noticed anything in > the control panel for server cache; where is it? Check the last tab in the control panel, or Settings/Information in the web UI. There's a section which indicates the various paths used by LMS.
Okay, so I cleared caches, rescanned library (I was making metadata changes to the files in another application anyway) and updated to the latest nightly build, and the problem didn't recur for 4 or 5 days...until now. I was playing one album, and then did an advanced search by genre; clicked on an album from the resulting list to see what tracks were on it; clicked on the "+" to add the album to the end of the playlist; and when I scrolled down the playlist it was back. I was probably two tracks from the end of the first album, and it's now playing the last track of the album but the "now playing" icon in the playlist is showing on the second track of the second album.
Created attachment 7750 [details] symptom
Other peculiarities... (1) When the second album was almost done playing, the "now playing" indicator disappeared off the end two tracks early; adding a new album to the playlist made it reappear on the first few tracks of the newly added album. (2) pausing playback (using the || button) and restarting (using the |> button on an individual track) caused the "now playing" indicator to display correctly on the currently playing track, but as soon as that track finished it jumped back to being 2 tracks ahead. (3) deleting tracks from the playlist (using the X button) delete tracks _above_ the track clicked. (4) letting the playlist run to the end, and then selecting a new album to play (replacing the old playlist) seems to be back in sync.
And this still happens with all 3rd party plugins disabled?