Fix multiple spotify connect instances reporting to the latest registered webservice...
authorKlaas Neirinck <kneirinck@users.noreply.github.com>
Fri, 2 Jan 2026 11:52:43 +0000 (12:52 +0100)
committerGitHub <noreply@github.com>
Fri, 2 Jan 2026 11:52:43 +0000 (12:52 +0100)
commit570d9689628719067d5b157686bf2cf31866e548
tree6f7d790764d712c9610ce9e4446dc8216b48ff31
parent615d535c0c59a0ca3916ed44f7160021d063f3fa
Fix multiple spotify connect instances reporting to the latest registered webservice callback (#2905)

os.environ was used to communicate the callback url to the librespot
binary.
When multiple instances are started simultaneously the env variable gets
overwritten and only the last value was used.
Now every librespot instance gets its own env variables instead of using
the shared os.environ.
music_assistant/providers/spotify_connect/__init__.py