Bugzilla – Bug 1445
Powering off players should cancel sleep
Last modified: 2008-09-15 14:37:04 UTC
Powering off a player should cancel its sleep setting. Right now sleep stays active. I have a patch. Index: server/Slim/Control/Command.pm =============================================================== ==== --- server/Slim/Control/Command.pm (revision 3081) +++ server/Slim/Control/Command.pm (working copy) @@ -745,6 +745,14 @@ } $client->power($p1); + + if ($p1 eq "0") { + # Powering off cancels sleep... + Slim::Utils::Timers::killTimers($client, \&sleepStartFade); + Slim::Utils::Timers::killTimers($client, \&sleepPowerOff); + $client->sleepTime(0); + $client->currentSleepTime(0); + } } } elsif ($p0 eq "sync") {
bugs with patches, best kind of report...
committed at change 3086 for 6.1, not considered required for 6.0.2
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.