Bugzilla – Bug 328
After pause-play from web-ui is track restarted, but progress bar remains at old position or jumps to random position
Last modified: 2008-12-18 11:54:44 UTC
When I pause the the currently playing song and unpause it with the play button in the web interface the song starts at the beginning (and this is a different behaviour than with the remote - there it's just a resume at the current position) but the progress bar stays at the old position or jumps to a random value in the future. I can't really reproduce the jump to the future, but take a look at the attached logfile (and the realpos after switching from pause to play). You need to decide if the behaviour with remote and web should be the same or not. Pause/unpause with the pause key works as expected, so the error may be in the "Switching to mode play from pause" function (because unpause with the pause key uses "Switching to mode resume from pause") Regards, Roland Fischer
Created attachment 37 [details] Example where the realpos jumps to a strange value
Created attachment 38 [details] Example where the realpos jumps to a strange value
Created attachment 39 [details] Example 2 where the realpos jumps to a strange value
I agree, the behavior should be consistent between the remote web interface and hitting play when paused should have the default behavior of unpausing. The behavior was broken when switching directly from paused to play. here's a patch: fb:~/slim/server dean$ cvs diff Slim/Player/Source.pm Index: Slim/Player/Source.pm =============================================================== ==== RCS file: /home/cvs/cvsroot/slim/server/Slim/Player/Source.pm,v retrieving revision 1.102 diff -r1.102 Source.pm 261a262,265 > if ($newmode eq "play" && $prevmode eq "pause") { > $newmode = "resume"; > } >
Fixed for the next nightly release. PLAY from the web interface now does an unpause.
This Slimserver bug was fixed a very long time ago, and is now being marked as Closed. If you're still experiencing this issue, please verify you are running a current version of Slimserver and re-open the bug.
Routine bug db maintenance; removing old versions which cause confusion. I apologize for the inconvenience.