Bugzilla – Bug 4759
Power On Resume should work with power disconnect and restore
Last modified: 2011-01-16 05:58:52 UTC
Somewhere between SS 6.3 and 6.5, code was added to cause SS to "forget" clients that it cannot locate (see discussion in this thread: http://forums.slimdevices.com/showthread.php?t=31585). For my purposes, this is a problem. My SB3 is connected to my home audio system. When the system is off, there is no power at all going to the SB, so it is presumed lost, and though it was playing when last turned off, it is stopped when it powers up next time. This means I cannot turn my system on in, say, the bathroom and have music begin to play, as I could under 6.3 (to which I have had to revert). I must go to the SB3 in the den or the computer. If this function could be user configurable, it would allow me to update to 6.5 and beyond. Until then, I am stuck with 6.3 because auto-play is an essential WAF. Thanks for considering.
Please leave targets as undefined. They are for internal use.
We should try to make the player come back in the same state on power cycling. (i.e. continue playing if it was playing), not just have the forget time be configurable. Targetting 7.0 for this
We'll look at this post-7.0.
(In reply to comment #3) > We'll look at this post-7.0. > Please don't let this fall off the radar.
Jim emailed me and asked: Dean, is anything being done about the functionality discussed in this Bugzilla case? It seemed to have some support from you early on, but then was pushed back to “post 7.0.” I know many things have changed (Logitech purchase) since the bug was first filed, but the lack of this function keeps my home system anchored to 6.3. I’d love to upgrade, and maybe even buy one of the new remotes, but I can’t unless or until this issue is resolved. I’d appreciate any update you could give. Thanks. I think that this isn't about "forgetting" players, rather it's about starting playback automatically when powering on. I believe that this setting works in 7.0. QA: can you verify?
The "Power On Resume" feature does indeed work when using the power button on the remote, web interface or the Controller. It does not work when power is cut to the Squeezebox and then later restored however. In this situation the player always returns to the stopped state. Dean, perhaps the summary should be changed to "Power On Resume should work with power disconnect and restore" or something similar.
Alan, would this be something for you?
Ok, I'll try to look at it for 7.1.
Jim Kyle wrote: > Alan, I see this bug was assigned to you, and I guess it didn't make it for 7.1. I was wondering about the chances of this ever being resolved. It seems to get pushed back with each new release. Should I just give up hope that this feature will ever be added to SqueezeCenter? > > Jim Kyle > Hi Jim, I'm afraid that it won't make 7.2 either. I might be able to do it for 7.3. The problem is making sure that I catch all the nasty error cases which might cause one's player to suddenly start playing in the middle of the night. The server does not know that a player has been power-cycled, only that it has disconnected and then reconnected. Reconnection like this is known to happen from time to time and so I am very wary of making a network reconnect be a proxy for a positive user action. I'll think about it some more.
Alan, this functionality was available in 6.3. How was it handled then?
I don't know. I was not involved back then. It may be something to do with the more-aggressive "forgetting" of disconnected players - the design paradigm of SC is that players are never powered off.
I'd like to see this addressed for 7.4
Thank you, Dean. I have thought long and hard about Alan's comment of 8/12/08, and I don't see how resolving my issue could create a problem with someone's player starting in the middle of the night. I am not asking that a player somehow change from STOP to PLAY, all I am asking is that the program remember that a particular player was playing the last time it was connected, and play should resume when it reconnects. It seems to me that if most players are always connected, and they are manually stopped by the owner, that there would be no problem with them playing unexpectedly if they should somehow disconnect and reconnect. If someone hasn't turned their player off, they shouldn't be surprised if it begins to play after a disconnection. If someone has turned their player off, what I am asking for should not cause their player to begin playing after an inadvertent disconnect. Am I misunderstanding something?
(In reply to comment #12) > I'd like to see this addressed for 7.4 Dean, I have already spent some time looking at this and cannot see an easy solution. I suspect that it would take more than 2 full days of work to resolve properly, and I do not even know if that estimate would be sufficient. Do you really want me to look at this for 7.4?
In reading over the bug fixes currently included in 7.4, I don't see this issue included. Does that mean it definitely won't be in 7.4 or is there still a chance it could be added?
It is currently targeted for 7.4 but with low priority. It is something I think about from time to time and, as yet, have not come up with a good solution. It is a difficult problem.
Keep at it, Alan. I know you can figure it out. Think how satisfied you will be!
Sorry Jim, but I'm pushing this out again.
(In reply to comment #18) > Sorry Jim, but I'm pushing this out again. Just don't give up altogether. Dean didn't get fired because he was pushing this issue so hard, did he?
Maybe the playingAtPowerOff preference could be used when forgetting a player and when one connects.
Update hours
Sorry Jim, but this is not going to happen.
I'm sorry to hear this. I know this item received little support from users, but it actually was mentioned recently here: http://forums.slimdevices.com/showthread.php?t=83783. I don't think many people realized the significance for automated power switches in home audio applications.