Roland0 wrote: 
> Tested with squeezelite only, maybe a HW player behaves differently.
> If you want to help debug this:
> on the server, edit the file LMSannounce/Plugin.pm and change lines
> 214-216 from:
> > 
Code:
--------------------
  >   >                 #my $clientpower = $targetClient->execute(['power', 
'?'])->getResults()->{'_power'};
  >             #my $clientpower = $targetClient->power();
  >             #$log->debug("client power: $clientpower alt: " . 
$targetClient->power() );
--------------------
> > 
> to
> > 
Code:
--------------------
  >   >                 my $clientpower = $targetClient->execute(['power', 
'?'])->getResults()->{'_power'};
  >             #my $clientpower = $targetClient->power();
  >             $log->debug("client power: $clientpower alt: " . 
$targetClient->power() );
--------------------
> > 
> 
> (i.e. remove the # from the beginning of the lines 214 and 216)
> restart LMS, set logging for plugin.lmsannounce to DEBUG, check the
> server logs for lines starting with:
> > 
Code:
--------------------
  >   > handleJSONP cmd=
  > handleJSONP targetClient=
  > client power: 
  > announcement discarded
--------------------
> > 
> 
> 
> the link is in the repository's repo.xml file, you can simply copy it
> from there

Since I didn't find those code lines, I downloaded version 0.1.0, copied
the Plugin.pm over the old one.
Now, indeed, I got the anouncement discarded message (and the SB stayed
off). So everything fine! Thank you very much. :)

Regards karlek


------------------------------------------------------------------------
karlek's Profile: http://forums.slimdevices.com/member.php?userid=64321
View this thread: http://forums.slimdevices.com/showthread.php?t=109096

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to