-
Notifications
You must be signed in to change notification settings - Fork 128
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
Rebase on the lastest librespot library #503
Comments
My bad, I didn't check well, you're actually relying on librespot-org I will try to build HifiberryOS with an up to date version of this repo to see if it's working fine. |
HiFiBerryOS uses this repo: Feel free to create a patch to this repository. However, as far as I can see it's in sync with the vollibrespot master branch. We can't use the original repository as some changes are required for the HBOS integration. |
I believe this needs to be priorized: I'm seeing constant crashes with some tracks, for example with this error (among others):
This error cannot happen in librespot since librespot-org/librespot#823, merged in 2021, which handles this error case more gracefully. In effect, this means that Hifiberry OS is basically unusable for me right now, far from the plug-and-play solution it aims to be (on each crash, the service is restarted, but playback is interrupted and Spotify takes a while to recover and reconnect, and even then I need to manually resume playback). I've browsed the source code superficially, and it seems to me that
Correct me if I'm wrong, but I suspect what Hifiberry primarily needs is the metadata stream. Given that So, what about:
Assuming that this works reliably, this seems like a much more maintainable approach. |
Maybe, a more direct substitute would be to create a new fork of Could you confirm that the metadata/event output is really all that HBOS needs? |
A player needs to implement at least 2 functions:
Metadata alone are not enough. If you can create a wrapper around librespot that handles this, feel free to create one and we're happy to integrate it. However, as we don't have any Rust skills, we won't be able to do this. |
I've thought about this a bit more a while ago, and had one more idea on how to approach this: If upstream librespot would support the idea, one could add MPRIS support to librespot. There's a crate I might look into this myself at some point (...) |
spotifyd already has mpris support. We had to change to vollibrespot as the MPRIS server got stuck after 60 minutes. |
For reference, I think this is what you are refering to: Spotifyd/spotifyd#337 |
Yes |
Is your feature request related to a problem? Please describe.
I am unable to initiate playback from a macOS on Spotify. When I select my Rpi with Hifiberry from my Mac, the Vollibrespot extension crashes. (see the logs below)
This issue is known and is in the process of being resolved on the most active librespot repo. (something linked with the authentication)
However, I noticed that Hifiberry relies on older versions of Vollibrespot and librespot from a repo that is no longer maintained.
Is there a specific reason why the librespot-org repo was not chosen?
Thanks !
Describe the solution you'd like
To be able to initiate playback using Spotify from any device.
Describe alternatives you've considered
It's working if I initiate playback from an iOS first (authentication works from there) ans then control it from macOS.
Additional context
Here are the logs that helped me trace the issue:
The text was updated successfully, but these errors were encountered: