Bugzilla – Bug 275
Power button crashes server when players synced
Last modified: 2011-03-16 04:18:49 UTC
Sync two players. Play one. Hit pause, then Power. Server program has to be restarted. I was unable to test if putting the server machine to sleep, and waking it up again will now cause players to re-sync. In fixing the Power bug, could you please check that that works too. I've had these units for several months and am *really* looking forward to being able to use them! All I need is for them to sync and stay synced under all circumstances.
I forgot to mention I'm running 5.1.5
Kevin, have you seen this?
it worked fine for me when it was added, but havent tried it out after other updates have been done, so I'm not sure what to say. Are they set to sync power? are they set to sync volume? Are both plaers squeezebox?
I cannot reproduce this with current cvs code.
Hi Tom, Can you try this again with a nightly build, say April 30 (to avoid recent url troubles) and let me know if this is still a problem. I still cannot reproduce this, and I am tempted to close this off if there is no further issue. http://www.slimdevices.com/downloads/nightly/
Sorry I've been out of the loop. I'll try to get to it this wkend. -Tom
Here is the problem, and a fix: In Command.pm you call: syncFunction($client,!$client->power(), "power",undef); ------------------------------------------------^^^^^^ Then in syncFunction the parameters are: sub syncFunction { my $client = shift; my $newval = shift; my $setting = shift; my $controlRef = shift; and later you do a: &$controlRef($eachclient, $newval) well, $controlRef is undef, which makes PERL very unhappy. A simple fix, that works fine for me is the following, just change the above line to: &$controlRef($eachclient, $newval) if defined $controlRef; I hope this is helpful. Best wishes, Henry laxen
This was patched on 4/27. Please try the latest nightlies and confirm that it's fixed.