-
-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spotify Connection Issues #721
Comments
Notes:
This crash may be related to Spotifyd/spotifyd#1246 |
After talking with @klay2000 we may be able to solve the instability by making a better process monitor. |
Jason is going to speak to Spotify and find out what a collaborative relationship looks like. |
For the current spotifyd client it looks like there may be another route around this bug. We could refactor our MPRIS interface to use the event-based See the spec for more details: |
As @klay2000 found spotifyd does not appear to broadcast PropertyChanged events for metadata or playback status. However we can change how we poll metadata, if we only do it when playing maybe it won't have this issue? After refactoring the MPRIS code to only poll metadata when playing we still get a slightly different error (smells like the same bug):
|
I figured out how to completely stop polling using PropertiesChanged, will try that and see if it fixes the issue. |
So far this seems to fix the issue we were having, I'd like to keep testing and shaking some small bugs out. |
Context
Under the hood AmpliPi uses spotifyd to stream music from Spotify. The version of spotifyd that we are using (0.3.4) is about a year old. It enables spotify premium users to connect to AmpliPi using the spotify-connect interface using a PC or phone.
Problem
Users have been reporting intermittent problems connecting to the AmpliPi's Spotify streams via spotify-connect.
Potential Solution
Upgrade spotifyd to the latest version and validate the connection process and overall interface is more stable.
The text was updated successfully, but these errors were encountered: