I uploaded a server.log including all messages after the restart. I guess
this is the interesting part:
[21-08-04 08:36:34.1584] Plugins::Spotty::Connect::_connectEvent (368) Got
called from spotty helper: volume
Ok, I'm seeing the issue in the log file. It's complicated, and as
always with timeouts and similar values: whatever you pick it's too long
or too short.
There's a "grace period" between when the connect daemon is fired up and
when Spotify tells us about its volume value. If during this period we
receive a 50% (and recently 49%), the plugin would ignore the info and
not sync the volume. But it looks as if things take a little longer on
your system: the notification came after the grace period, thus was NOT
ignored.
Are you using a slow internet connection? Or slow hardware to run LMS on?
As you're running Linux you might be comfortable editing a file? Open
/config/cache/InstalledPlugins/Plugins/Spotty/Connect.pm, modify line 20
to make VOLUME_GRACE_PERIOD be 15 or even longer. That's the period in
seconds during which an instruction from Spotify to set the volume to 49
or 50 would be ignored. You could even set it to a minute. The only
drawback then would be that you could not use the Spotify app to set the
volume to one of these two values during that period.
_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins