mctr wrote: 
> Here you are. Powered on, start playing, powered off while playing,
> error
> 
> This is a paste of powering off AFTER pausing -
> https://pastebin.com/KNsdSn3a
> Debug logging was turned on after powering on the player, so theres a
> chunk missing before line 11, but it is just powering on the player

Thanks for the doc. I have located the problem, which is due to a timing
window in the power off logic and only happens if a player command (such
as 'pause') is received while the plugin is in the process of powering
off the AVR. In your case, the player is sending a 'power off' command
followed immediately by a 'pause' command when powering off if the
player is not currently paused, something my Squeezelite-based players
do not do. I know you probably told me before, but what player hardware
or software are you using?

Attached is a new version of Plugin.pm, renamed to Plugin.pm.txt. Please
copy it into your plugin directory after renaming it to Plugin.pm,
replacing the old version, restart LMS and retry your test scenario. I
apologize for the inconvenience and, if this fixes your problem, I will
publish a new plugin version with the fix ASAP.


+-------------------------------------------------------------------+
|Filename: Plugin.pm.txt                                            |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=38995|
+-------------------------------------------------------------------+


Sam
------------------------------------------------------------------------
SamY's Profile: http://forums.slimdevices.com/member.php?userid=63495
View this thread: http://forums.slimdevices.com/showthread.php?t=60114

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

Reply via email to