Bugzilla – Bug 14353
power off does not silence Baby if SBS down
Last modified: 2010-05-27 14:45:40 UTC
0) started an SBS 7.4.0 (SVN 28664) instance with --failsafe 1) started playing an internet radio stream on Baby (PB1 @ firmware r7779) 2) kill SBS instance 3) noted the "Connetcing to $servername" spinny 4) ignoring the spinny, pressed power button on Baby 5) Baby's screen goes dark (as configured in screensavers) The music keeps playing. Shouldn't SqueezePlay be smart/fat enough to know to stop playing?
Doing the same steps as above, leaving out STEP 2, Radio will properly stop audio playback before going into sleep mode Doing the same steps above, doing a long-press to power down Radio will properly power off Radio
Created attachment 5981 [details] patch for Richard's review
Richard, I attached a patch for your review. I believe we had planned this to be 7.4.1, please confirm. Before the patch, only if player:isConnected() was true would power commands happen (which in the local player case also pauses music). I believe I had coded it that way to try to gracefully deal with the disconnected remote player case, which is tricky and still undesigned). But for local players, the problem is simpler. So, now I also send power commands if player:isConnected or player:isLocal() and inside localPlayer I added a check in the rare case that the local player has no slimserver object (connected or not). Note: Jive is unaffected by these changes because jive does have a soft power capability.
Created attachment 5982 [details] updated (removed bogus comment)
== Auto-comment from SVN commit #7825 to the jive repo by tom == == https://svn.slimdevices.com/jive?view=revision&revision=7825 == Fixed Bug: 14353 Description: - call power commands for local player even if player is not connected so music stops playing.
Verified fixed in r7847
These bugs have all been marked resolved and belong to a component which is being removed. Therefore they have been moved to the most applicable of the new components.