-
Notifications
You must be signed in to change notification settings - Fork 455
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:// source plays as noise #1273
Comments
Looking at the code it seems that the stream processor is consuming stderr from I made some tests and messages from I remember that without zeroconf, messages from |
Darn, I reverted back to the |
Can you reproduce the noise by skipping a few songs while playing from a |
Hello I'm having the same problem, did someone repro and/or find a fix? I tried skipping songs but it doesn't seem to help. This started happening when I switched to using libre-auth credentials.json file, when I used user name password it worked fine, but that doesn't work with spotify anymore This is my configuration source = spotify:///librespot?name=Home%20Assistant&devicename=Spotify&wd_timeout=7800&volume=100&normalize=false&autoplay=false&disable_audio_cache=true¶ms=--device-type%20avr¶ms=--volume-ctrl%20fixed¶ms=--format%20S32 I also tried this source = spotify:///librespot?name=Home%20Assistant&devicename=Spotify&wd_timeout=7800&volume=100&normalize=false&autoplay=false&cache=/var/cache/librespot&cache-size-limit=2G same :( |
This is probably nothing to do with it .. but I thought I'd see if I can figure out the version of librespot that is part of the snapserver container.. so I ran this
is this old? should it be newer? |
Nop. No way to reproduce it now. However I noticed that the songname scrapping logic is not keeping up with the song being played if I skip forward or backward on Spotify a little too fast. |
@pookieman no clue about why it is happening to you. librespot, as far as I could test it, sends all messages to stderr, and snapcast never uses stderr as sound data. Your version of librespot is ok. It wasn't updated in a while. Did you try setting up librespot to use a fifo sound device? Also, please send your log output. |
Describe the bug
Since Spotify disabled the use of username/password for librespot, I tried to configure a
librespot://
source without username/password parameters to use zeroconf. It works on the Spotify part, but reproduce as noise on Snapcast.Relevant part of
snapserver.conf
:Everything works fine If instead I configure a new fifo on Snapcast server, and run an external librespot using pipe backend.
Steps to Reproduce
librespot://
source without username/password parametersEnvironment details
Attach logfile if applicable
Interestingly, the output from librespot is a lot more verbose when I run it outside of snapcast:
So the issue seems that some INFO messages from
librespot
are consumed as sound data bysnapserver
, also something is changing the format of log messages forlibrespot
UPDATE 16/Aug/2024
Cannot reproduce this anymore. Will stick to the
librespot://
source configuration to see if this happens againThe text was updated successfully, but these errors were encountered: