Skip to content

Conversation

@kneirinck
Copy link
Contributor

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.

…ered webservice callback

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.
Copy link
Contributor

@MarvinSchenkel MarvinSchenkel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks @kneirinck 🎉

@MarvinSchenkel MarvinSchenkel merged commit 570d968 into music-assistant:dev Jan 2, 2026
8 of 10 checks passed
github-actions bot pushed a commit that referenced this pull request Jan 2, 2026
…ered 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.
MarvinSchenkel pushed a commit that referenced this pull request Jan 2, 2026
…ered 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.
@derekngibbs
Copy link

Same issue with trying to add Spotify and authenticate. I click the link "click here if the popup did not open". It opens authenticate.Spotify.com and I scroll down and select "agree". Then the browser pulls up a random page and Spotify is not setup. This is being done from IPhone. Running 2.8.0b4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants