[GH-ISSUE #1218] librespot/snapcast sometimes plays like /dev/random 😨 #561

Closed
opened 2026-02-27 19:31:17 +03:00 by kerem · 3 comments
Owner

Originally created by @cdtx on GitHub (Nov 12, 2023).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/1218

Hi,

librespot: 0.4.2
snapserver v0.27.0

I'm trying to solve an annoying issue in my snapcast/librespot installation.

In a few words : When I move between tracks in spotify OR move to another time in the current track, sometimes it works, sometimes my whole snapclients plays random noise very loud !
I'm not alone with this issue : https://github.com/badaix/snapcast/issues/1170

Guys at snapcast (see above ticket) are wondering if librespot could be the one responsible ?
snapcast collects samples from the librespot STDOUT, and suggestion is that librespot could sometimes emit someting else on it's STDOUT (log) ? Or crash ?

Does this situation rings you sometings ?

Thanks

Originally created by @cdtx on GitHub (Nov 12, 2023). Original GitHub issue: https://github.com/librespot-org/librespot/issues/1218 Hi, ``` text librespot: 0.4.2 snapserver v0.27.0 ``` I'm trying to solve an annoying issue in my snapcast/librespot installation. In a few words : When I move between tracks in spotify OR move to another time in the current track, sometimes it works, sometimes my whole snapclients plays random noise very loud ! I'm not alone with this issue : https://github.com/badaix/snapcast/issues/1170 Guys at snapcast (see above ticket) are wondering if librespot could be the one responsible ? snapcast collects samples from the librespot STDOUT, and suggestion is that librespot could sometimes emit someting else on it's STDOUT (log) ? Or crash ? Does this situation rings you sometings ? Thanks
kerem 2026-02-27 19:31:17 +03:00
  • closed this issue
  • added the
    bug
    audio
    labels
Author
Owner

@cdtx commented on GitHub (Nov 12, 2023):

Or crash ?

I just see that librespot has the same pid before and after the bug occurs. So I'm sure it does not crash.

<!-- gh-comment-id:1807093827 --> @cdtx commented on GitHub (Nov 12, 2023): > Or crash ? I just see that librespot has the same pid before and after the bug occurs. So I'm sure it does not crash.
Author
Owner

@roderickvd commented on GitHub (Nov 14, 2023):

I think that issue over at https://github.com/badaix/snapcast/issues/1170 is raising the right questions to isolate the problem.

librespot doesn't output anything else to stdout, that I know.

<!-- gh-comment-id:1811176491 --> @roderickvd commented on GitHub (Nov 14, 2023): I think that issue over at https://github.com/badaix/snapcast/issues/1170 is raising the right questions to isolate the problem. librespot doesn't output anything else to stdout, that I know.
Author
Owner

@cdtx commented on GitHub (Nov 14, 2023):

librespot doesn't output anything else to stdout, that I know.

I confirm that I did the test to pipe librespot to vlc then run my "recipe", nothing wrong !
I go back to snapcast for a printf hunt ;-)

Thanks

<!-- gh-comment-id:1811489302 --> @cdtx commented on GitHub (Nov 14, 2023): > librespot doesn't output anything else to stdout, that I know. I confirm that I did the test to pipe librespot to vlc then run my "recipe", nothing wrong ! I go back to snapcast for a printf hunt ;-) Thanks
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/librespot#561
No description provided.