[Slim-Checkins] r12330 - /branches/6.5/server/Plugins/RandomPlay/Plugin.pm
mherger at svn.slimdevices.com
mherger at svn.slimdevices.com
Tue Jul 3 14:06:55 PDT 2007
Author: mherger
Date: Tue Jul 3 14:06:55 2007
New Revision: 12330
URL: http://svn.slimdevices.com?rev=12330&view=rev
Log:
Bug: 5145
Description: make sure RandomPlay continues the same type of mix after pressing PLAY on the remote
Modified:
branches/6.5/server/Plugins/RandomPlay/Plugin.pm
Modified: branches/6.5/server/Plugins/RandomPlay/Plugin.pm
URL: http://svn.slimdevices.com/branches/6.5/server/Plugins/RandomPlay/Plugin.pm?rev=12330&r1=12329&r2=12330&view=diff
==============================================================================
--- branches/6.5/server/Plugins/RandomPlay/Plugin.pm (original)
+++ branches/6.5/server/Plugins/RandomPlay/Plugin.pm Tue Jul 3 14:06:55 2007
@@ -423,12 +423,13 @@
$continuousMode ? 'continuous' : 'static', $type, Slim::Player::Playlist::count($client)
);
+ $mixInfo{$client->masterOrSelf->id}->{'type'} = $type;
+
# $startTime will only be defined if this is a new (or restarted) mix
if (defined $startTime) {
# Record current mix type and the time it was started.
# Do this last to prevent menu items changing too soon
$::d_plugins && msgf("RandomPlay: New mix started at %i\n", $startTime);
- $mixInfo{$client->masterOrSelf->id}->{'type'} = $type;
$mixInfo{$client->masterOrSelf->id}->{'startTime'} = $startTime;
}
}
More information about the checkins
mailing list