Spotty-Plugin icon indicating copy to clipboard operation
Spotty-Plugin copied to clipboard

Random volume change

Open swassert opened this issue 1 year ago • 9 comments

The spotty plugin started to change the player volume randomly to 37%. This has started some months ago.

The debug log has the following entry:

[24-09-16 17:28:40.0775] Plugins::Spotty::Connect::_connectEvent (393) Set volume to 37

swassert avatar Sep 16 '24 15:09 swassert

Seems to be a change on Spotify's end which is unexpected by the plugin. Other users have reported 100%... Unfortunately the only option right now to prevent this is to disable Connect functionality.

michaelherger avatar Sep 16 '24 16:09 michaelherger

Ok thanks. Hopefully this will be fixed by Spotify...

swassert avatar Sep 16 '24 16:09 swassert

I experienced the same issue, but with the volume being set to 68%. Hopefully, this gets fixed soon.

jdedo avatar Oct 19 '24 11:10 jdedo

Unfortunately I have to re-implement most of the Connect mode, as librespot's API has changed considerably. It'll take some time before I have a new release.

michaelherger avatar Oct 19 '24 14:10 michaelherger

I am also experiencing this issue, with all players' volume level being set to 24, each time it happens. I'll disable the Spotify Connect functionality for now and subscribe to this issue for updates. Feel free to get in touch if I can help with any testing of workarounds or new versions. Thanks @michaelherger for your excellent work on this plugin.

tullis avatar Nov 18 '24 23:11 tullis

Hi,

I made some workaround which seems to be working as long you've a fixed wrong volume problem (not possible if random value). Mine was 41 % and it uses the CLI. Feel free to use it in meanwhile @michaelherger is continuing his excellent job.

Max volumeMonitorLMS.sh.txt

alfredtorch avatar Jan 12 '25 13:01 alfredtorch

Thanks @alfredtorch for the workaround. I have 6 players and all of them switch randomly to 28%, which, of course, is annoying. Maybe @michaelherger will find some spare time for looking into this. Spotty is such an essential plugin for LMS!

Greetings from rainy germany, Andi

schimmelbirne avatar Apr 24 '25 07:04 schimmelbirne

You could also modify Spotty itself: there's a check for volume 49 built-in already, as at some point that would have been the "random" volume change value. Change that value to whatever you see, or add more values:

https://github.com/michaelherger/Spotty-Plugin/blob/master/Connect.pm#L388-L391

michaelherger avatar Apr 24 '25 08:04 michaelherger

Nice. Will try this.

schimmelbirne avatar Apr 24 '25 08:04 schimmelbirne

With the recent changes Spotify applied to their infrastructure I'll have to re-implement Connect mode from scratch. I therefore decided to remove that feature from the current release. Let's collect new reports once I have found a way to re-implement Connect.

Thanks for your understanding.

michaelherger avatar Aug 13 '25 20:08 michaelherger