ldsz / plugin.audio.spotify

Unofficial spotify plugin for Kodi 19
GNU General Public License v3.0
47 stars 17 forks source link

Spotify Connect: Spotify volume control disables/overrides Kodi volume control #3

Open jmbreuer opened 3 years ago

jmbreuer commented 3 years ago

In release 1.2.2, I observe the following behavior:

The volume value set by Spotify hard-overwrites Kodi's volume value roughly once per second. So volume control in Kodi is still possible but only kept for a very brief moment. In contrast, when volume is controlled by Spotify, the volume icon at the top of Kodi's audio playback / visualizer display is not shown. Volume control through Spotify lags considerably (~ 3 seconds?) - like all Spotify Connect remote operations for me (is this normal?).

For me, personally, Kodi volume control is more important than volume control via Spotify, if there is no good solution I'd like to have a setting to choose either. I'm happy to start working on implementing this.

Just for reference, the mute control seems to work completely separate from that: Both Kodi AND Spotify need to be unmuted for sound to play, this can be confusing but allows for "I'm getting a phone call" mute operation no matter where from.

ldsz commented 3 years ago

You can try to replace the file player_monitor.py with the new one. It will change the volume only if you change it first with the remote app.