Bugzilla – Bug 563
unpausing from web interface causes box to play even if it's off
Last modified: 2008-12-18 11:54:08 UTC
Pause player (from web interface or remote) Power off player (from web interface or remote) Hit play on web interface Player starts playing, even though it's still off.
changing Source.pm line 312 from: if ($newmode eq "play") { to: if ($newmode eq "play" || $newmode eq "resume") { should take care of it. when the player is off, I believe it goes into playmose pause. A recent change added playmode resume, which is the state created when the desired newmode is "play" from an oldmode of "pause"
the diff for this fix: Index: Slim/Player/Source.pm =================================================================== RCS file: /home/cvs/cvsroot/slim/server/Slim/Player/Source.pm,v retrieving revision 1.111 diff -u -p -B -r1.111 Source.pm --- Slim/Player/Source.pm 16 Sep 2004 15:34:17 -0000 1.111 +++ Slim/Player/Source.pm 21 Sep 2004 01:09:23 -0000 @@ -309,7 +309,7 @@ sub playmode { } # if we're playing, then open the new song the master. - if ($newmode eq "play") { + if ($newmode eq "play" || $newmode eq "resume") { # if the player is off, we automatically power on when we start to play if (!$client->power()) {
hrm...should this one be patched into the release retroactively?
tested and committed to cvs sept 21, 2004
*** Bug 594 has been marked as a duplicate of this bug. ***
There are 536 bugs in the database with targets of '---' that were fixed prior to new year 2006. I am setting them to targets of 6.2.1 to keep them from showing up in my queries.
Routine bug db maintenance; removing old versions which cause confusion. I apologize for the inconvenience.