slartibartfast wrote: 
> @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

if @mherger agrees, we can always add a "can" entry to the base player
(or client) that questions DefeatFFT and do


Code:
--------------------
    
  if ($client->isPlayer && ($client->isa('Slim::Player::SqueezePlay') || 
($client->can('canDefeatTTP') && $client->canDefeatTTP)) && defined 
$paramRef->{'defeatDestructiveTouchToPlay'}) {
  $prefs->client($client)->set('defeatDestructiveTouchToPlay', 
$paramRef->{'defeatDestructiveTouchToPlay'});
  }
  
--------------------


We can use that. We can even remove the SqueezePlay test if we change
SqueezePlay as well to have that canDefeatTTP as well.

I'll leave it to you guys



LMS 7.9  on Pi 3B+ & Odroid-C2 - *SqueezeAMP!*, 5xRadio, 3xBoom, 4xDuet,
1xTouch, 1 SB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000,
ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2,
Squeezelite on Pi,  Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5,
Riva 1 & 3
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=108558

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

Reply via email to