Bug 10738 - SC WebUI should stop updating when player is gone
: SC WebUI should stop updating when player is gone
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Web Interface
: 7.4.0
: PC Windows XP
: P5 minor with 1 vote (vote)
: 7.4.0
Assigned To: Michael Herger
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-01-17 07:07 UTC by Moonbase
Modified: 2009-10-05 14:37 UTC (History)
0 users

See Also:
Category: ---


Attachments
Screenshot: Playing progress with no player anymore (56.51 KB, image/jpeg)
2009-01-17 07:09 UTC, Moonbase
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Moonbase 2009-01-17 07:07:35 UTC
SC 7.3.3-24684/Win (and earlier 7.3 versions) show "playing progress" long after a (software) player has been disconnected. (Crashed or program exited.)

I could reproduce this with both SP and SoftSqueeze. Even hitting the "power off" button on the (non-existing) player in the WebUI just leaves a Slim::Web::JSONRPC::requestMethod "request not dispatchable!" message in the log while the WebUI happily increases the progress bar, hits at the end and continues counting minutes:seconds forever.

Lower priority, but surely not "nice" to see.
Comment 1 Moonbase 2009-01-17 07:09:36 UTC
Created attachment 4666 [details]
Screenshot: Playing progress with no player anymore
Comment 2 Michael Herger 2009-01-18 13:56:47 UTC
A loooong standing issue.
Comment 3 Michael Herger 2009-01-21 09:35:15 UTC
change 24731 - stop updating web UI when player has gone away.

Please note that the player will be alive in SC for another minute or so (this is used to continue if there are eg. temporary network issues). During this time playtime etc. will still be updating, and you might still get that error message. But after 1-2 minutes it should be fine.
Comment 4 Moonbase 2009-01-23 09:27:24 UTC
Ok I'll give it a try the next few days (currently fighting with some bad drives & restoring backups, sorry). Screenshot shows 1:50 "overdue" (and player in dropdown menu gone), but I've seen much longer times.

Should I use 7.3.x or 7.4 for testing the change?
Comment 5 James Richardson 2009-10-05 14:37:38 UTC
This bug has been marked as fixed in the 7.4.0 release version of SqueezeBox Server!
    * SqueezeCenter: 28672
    * Squeezebox 2 and 3: 130
    * Transporter: 80
    * Receiver: 65
    * Boom: 50
    * Controller: 7790
    * Radio: 7790  

Please see the Release Notes for all the details: http://wiki.slimdevices.com/index.php/Release_Notes

If you haven't already, please download and install the new version from http://www.logitechsqueezebox.com/support/download-squeezebox-server.html

If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.