Bug 4759 - Power On Resume should work with power disconnect and restore
: Power On Resume should work with power disconnect and restore
Status: RESOLVED WONTFIX
Product: Logitech Media Server
Classification: Unclassified
Component: Player UI
: unspecified
: PC Windows XP
: P4 enhancement with 1 vote (vote)
: ---
Assigned To: Alan Young
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-02-12 11:52 UTC by Jim Kyle
Modified: 2011-01-16 05:58 UTC (History)
3 users (show)

See Also:
Category: Feature


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Kyle 2007-02-12 11:52:49 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.
Comment 1 KDF 2007-02-12 16:08:08 UTC
Please leave targets as undefined.  They are for internal use.
Comment 2 Blackketter Dean 2007-02-13 07:27:39 UTC
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
Comment 3 Blackketter Dean 2007-12-29 05:59:33 UTC
We'll look at this post-7.0.
Comment 4 Jim Kyle 2007-12-29 19:16:41 UTC
(In reply to comment #3)
> We'll look at this post-7.0.
> 

Please don't let this fall off the radar. 

Comment 5 Blackketter Dean 2008-04-28 20:07:20 UTC
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?
Comment 6 Spies Steven 2008-04-29 12:53:56 UTC
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.
Comment 7 Blackketter Dean 2008-04-29 13:48:12 UTC
Alan, would this be something for you?
Comment 8 Alan Young 2008-06-04 08:26:44 UTC
Ok, I'll try to look at it for 7.1.
Comment 9 Alan Young 2008-08-12 12:29:14 UTC
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.
Comment 10 Jim Kyle 2008-08-12 15:01:28 UTC
Alan, this functionality was available in 6.3.  How was it handled then?
Comment 11 Alan Young 2008-08-12 23:04:40 UTC
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.
Comment 12 Blackketter Dean 2009-02-28 18:11:12 UTC
I'd like to see this addressed for 7.4
Comment 13 Jim Kyle 2009-02-28 18:18:54 UTC
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?
Comment 14 Alan Young 2009-03-01 01:29:13 UTC
(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?
Comment 15 Jim Kyle 2009-04-21 12:49:12 UTC
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?
Comment 16 Alan Young 2009-04-21 13:26:06 UTC
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.
Comment 17 Jim Kyle 2009-04-21 20:10:09 UTC
Keep at it, Alan.  I know you can figure it out.   Think how satisfied you will be!
Comment 18 Alan Young 2009-09-17 09:24:54 UTC
Sorry Jim, but I'm pushing this out again.
Comment 19 Jim Kyle 2009-09-17 10:22:46 UTC
(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?
Comment 20 Alan Young 2009-09-29 02:48:25 UTC
Maybe the playingAtPowerOff preference could be used when forgetting a player and when one connects.
Comment 21 Alan Young 2009-09-29 03:09:08 UTC
Update hours
Comment 22 Alan Young 2011-01-13 23:08:36 UTC
Sorry Jim, but this is not going to happen.
Comment 23 Jim Kyle 2011-01-16 05:58:52 UTC
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.