philippe_44 wrote:
> Unfortunately not. I have a generic model to add "common" preferences to
> Group, so that would be just a one line adder here, but LMS has a check
> for the model to be a "SqueezePlay" before it saves Defeat TTP (see
> Slim::Web::Settings::Player::Basic.pm)
> >
Code:
--------------------
> >
> if ($paramRef->{'saveSettings'}) {
>
> for my $pref (@prefs) {
>
> my $i = 0;
> my @array;
>
> while (defined $paramRef->{'pref_'.$pref.$i}) {
>
> if ($paramRef->{'pref_'.$pref.$i} ne "-1") {push @array,
$paramRef->{'pref_'.$pref.$i};}
> $i++;
> }
>
> $prefs->client($client)->set($pref, \@array);
> }
>
> if ($client->isPlayer && $client->isa('Slim::Player::SqueezePlay') &&
defined $paramRef->{'defeatDestructiveTouchToPlay'}) {
> $prefs->client($client)->set('defeatDestructiveTouchToPlay',
$paramRef->{'defeatDestructiveTouchToPlay'});
> }
> }
>
--------------------
> > @mherger would it be possible to allow a group consisting only of
squeezeplay players to act like a single squeezeplay player with regard
to "Defeat destructive Touch-To-Play"? At the moment adding tracks using
a Controller destroys the existing playlist. Material skin works OK as
it ignores the defeat TTP setting and has its own setting.
Sent from my Pixel 3a using Tapatalk
------------------------------------------------------------------------
slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=108558
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins