Bug 14217 - Exit power saving mode when music starts
: Exit power saving mode when music starts
Status: CLOSED FIXED
Product: SB Radio
Classification: Unclassified
Component: Power Management
: Include FW version in comment
: PC Windows XP
: P1 normal (vote)
: 7.4.0
Assigned To: Richard Titmuss
:
Depends on:
Blocks: 13781
  Show dependency treegraph
 
Reported: 2009-09-23 09:07 UTC by Richard Titmuss
Modified: 2009-10-05 14:26 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Titmuss 2009-09-23 09:07:09 UTC
When starting music remotely (for example controller or web interface), or with an alarm then you may not here music if the power amp is off.
Comment 1 Richard Titmuss 2009-09-23 11:27:08 UTC
Patch to verify:

Index: squeezeplay/share/jive/audio/Playback.lua
===================================================================
--- squeezeplay/share/jive/audio/Playback.lua	(revision 7720)
+++ squeezeplay/share/jive/audio/Playback.lua	(working copy)
@@ -125,6 +125,7 @@
 
 	log:info("loop file ", file)
 
+	Framework.wakeup()
 	self.source = "file"
 
 	self:_streamDisconnect(nil, true)
@@ -385,6 +386,7 @@
 function _streamConnect(self, serverIp, serverPort)
 	log:info("connect ", _ipstring(serverIp), ":", serverPort, " ", string.match(self.header, "(.-)\n"))
 
+	Framework.wakeup()
 	self.source = "stream"
 
 	self.stream = Stream:connect(serverIp, serverPort)
@@ -746,6 +748,7 @@
 	self.capturePlayMode = capturePlayMode
 
 	if capturePlayMode then
+		Framework.wakeup()
 		self.source = "capture"
 	else
 		self.source = nil
Comment 2 Ben Klaas 2009-09-23 11:49:44 UTC
Patch works well to fix this issue
Comment 3 SVN Bot 2009-09-23 12:54:33 UTC
 == Auto-comment from SVN commit #7721 to the jive repo by richard ==
 == https://svn.slimdevices.com/jive?view=revision&revision=7721 ==

Fixed bug #14217
Wake up from power saving when music starts.
Reviewed by Ben and Tom.

Can be tested using the alarm (see bug 13781), or by starting playback from the web interface/controller once 
power saving has started on baby.
Comment 4 James Richardson 2009-10-05 14:26:39 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.