I've not done any LMS plugin dev and I'm not super strong with Perl but this code looks like it may be related to sync groups:
Code: -------------------- my @otherclients = grep { $_->name ne $client->name and $_->power } $client->syncGroupActiveMembers(); foreach my $otherclient ( @otherclients ) { $log->info( 'turning off: ' . $otherclient->name ); $otherclient->display->showBriefly( { line => [ 'AirPlay streaming to ' . $client->name . ':', 'Turning this player off' ] } ); $otherclient->execute( [ 'power', 0 ] ); } -------------------- ------------------------------------------------------------------------ Noel Hibbard's Profile: http://forums.slimdevices.com/member.php?userid=62950 View this thread: http://forums.slimdevices.com/showthread.php?t=103783 _______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins