Bugzilla – Bug 5444
Random Mix status doesn't update in non-continuous mode
Last modified: 2008-12-18 11:12:53 UTC
If you start a random mix that isn't continuously adding, then the %stopcommands are never allowed to clear the $miXinfo{type} and the player ui and web will always show the status as currently playing a mix. problem code at line 740: if (!defined $client || !defined $mixInfo{$client->masterOrSelf->id}->{'type'} || !$prefs->get('continuous')) { return; } quick fix is to only set the type when mode is continuous (line 511) if ($continuousMode) { $mixInfo{$client->masterOrSelf->id}->{'type'} = $type; } Not sure what other problems this might introduce, however. More complicated is to track the type and state until one of the stop commands are encountered, or for static mode we wipe the status after the static list is ended (for non-repeat play).
I'm not sure who I could rope in that might have some opinion on your quick fix, KDF. I'll target it for 7.0, though.
fixed at change 13006 for trunk (v7.0a1 only) please reopen if there are any problems.
This bug is being closed since it was resolved for a version which is now released! Please download the new version of SqueezeCenter (formerly SlimServer) at http://www.slimdevices.com/su_downloads.html If you are still seeing this bug, please re-open it and we will consider it for a future release.