yann wrote: 
> Actually, thanks to the option 'power on/off all with group' the SB3
> switch on and off with the group. But due to my use of the IR-blaster
> plugin, I expect also that the SB3 switch on and off my power amplifier
> by sending IR signals through the IR blaster connected to back of the
> SB3. I does switch on the power amplifier when the SB3 is switched on
> with the group, but it does not switch off the power amplifier when the
> SB3 is switched off with the group. The power amplifier is switched off
> as expected if switch off the SB3 directly.
> 
> Is someone has the same configuration SB3 + IR-blaster plugin than me
> with the same issue ?

I don't know what's happening. I'm not using IR-blaster plugin. I did
check the code and I think I send the instruction that would allow it to
intercept the power on/off and if on works I can't see why off would not
at this point


Code:
--------------------
    
        my $power = $prefs->client($client)->get('powerMaster');
        main::INFOLOG && $log->is_info && $log->info("powering $on all members 
for ", $client->name) if $power;
        
        # power on/off all connected members
        foreach ( @{$prefs->client($client)->get('members') || [] } )   {
                my $member = Slim::Player::Client::getClient($_);
                next unless $member;
                Slim::Control::Request::executeRequest($member, ['power', $on, 
$noplay]) if $power;
                $member->pluginData(marker => 0);
        }
  
--------------------


What do you have in log when you enable INFO level for Groups?



LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000,
ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi
B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010,
AppleTV 4, Airport Express, GGMM E5
------------------------------------------------------------------------
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
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to