-
Notifications
You must be signed in to change notification settings - Fork 457
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
librespot causing snapcast to crash when starting a stream #1063
Comments
There are some fixes in the develop branch for previous reported issues like this. Have you tried the latest code? |
No. I haven't tried that. The AUR package just picks up the last tagged release. Let me modify it and try the Thanks. |
Just installed the development branch - got the same error. EDIT: Installing the librespot |
Please try the latest develop version, I've replaces all regex searches with simple string parsing (f3372b1). I hope this fixes the issue. |
Thanks. Will test when I can. |
Getting a very similar issue on Raspberry Pi OS 11. Installed via apt from the downloaded snapserver_0.26.0-1_armhf.deb. Server runs fine with Librespot disabled, but fails to start the service when enabled. Getting the following output (scrubbed sensitive info):
|
Just to follow up, using @elParaguayo suggestion of building Librespot from the stable 0.4.2 instead of 0.5.0-dev, I was able to get everything working without issue. @badaix, I would have texted but I wasn't quite able to figure out how to pull the dev version of Snapcast. Sorry! |
Fixed in snapcast v0.27.0 |
Describe the bug
I recently updated both snapcast and librespot and, since that time, I cannot play any spotify streams.
If I connect to the librespot device from my phone, it says it's connecting but then shows the white icon (rather than the green icon when it's connected to another device). Looking at the snapcast logs, I can see that I get a load of data from Spotify but snapcast crashes when it statrs to get the metadata.
I can run librespot separately with the pipe backend and that works ok so I feel like the issue is with snapcast.
Steps to Reproduce
Environment details
Attach logfile if applicable
Generate logs with
snapclient --logfilter debug
orsnapserver --logging.filter debug
if possible and paste them in the following codeblockMy snapserver runs as a systemd service so I've pulled this from the journal. Hope that's ok.
The text was updated successfully, but these errors were encountered: