frankd wrote: 
> I know that the other way around works: If You have an active other
> don't stop the music plugin and you enable Sugarcube via players,
> Sugarcube will be preferred. If you disable it your selected don't stop
> the music plugin will be used. 
> 
> That is the way I use it: Select your preferred no Sugarcube Plugin for
> Don't stop the music. You can easily switch between Sugarcube and your
> preferred Plugin by just enabling or disabling sugarcube for your
> player. No need to use the Sugarcube in Don't stop the music at all. 
> Some background info:
> 
> Michael H. has implemented some code for this, line 176 of the don't
> stop the music plugin:
> 
> # don't interfere with the automatically adding RandomPlay and SugarCube
> plugins
> # stop smart mixing when a new RandomPlay mode is started or SugarCube
> is at work
> if (
> (
> Slim::Utils::PluginManager->isEnabled('Slim::Plugin::RandomPlay::Plugin')
> && Slim::Plugin::RandomPlay::Plugin::active($client) )
> || ( Slim::Utils::PluginManager->isEnabled('Plugins::SugarCube::Plugin')
> &&
> preferences('plugin.SugarCube')->client($client)->get('sugarcube_status')
> )
> ) {
> $log->warn("Found RandomPlay or SugarCube active - I'm not going to
> interfere with them.");
> return;
> }Thanks for explaining, indeed a good solution.

Verstuurd vanaf mijn HD1903 met Tapatalk




------------------------------------------------------------------------
mvn2009's Profile: http://forums.slimdevices.com/member.php?userid=33172
View this thread: http://forums.slimdevices.com/showthread.php?t=114102

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to