mirror of
https://github.com/devgianlu/go-librespot.git
synced 2026-04-26 05:15:49 +03:00
[GH-ISSUE #269] ALSA problem #162
Labels
No labels
bug
enhancement
pull-request
spotify-side
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/go-librespot#162
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @benoitdr on GitHub (Dec 7, 2025).
Original GitHub issue: https://github.com/devgianlu/go-librespot/issues/269
I need some help to troubleshoot this issue.
I'm trying to setup go-librespot via docker.
I'm using the proposed docker-compose file :
When I try to play a track, I get the error below :
@devgianlu commented on GitHub (Dec 7, 2025):
The docker compose you are using is for PulseAudio, not ALSA.
For ALSA you should be adding
/dev/snd:/dev/sndas a volume.@benoitdr commented on GitHub (Dec 7, 2025):
But I'm using pulseaudio.
If I get it correctly, the problem is that the docker container does not see it and fallbacks on alsa (the issue title may be misleading, sorry about that).
Additional info :
@devgianlu commented on GitHub (Dec 7, 2025):
What's your config file like? You have to specify the correct
audio_backend.@benoitdr commented on GitHub (Dec 7, 2025):
ok, I've set the audio backend in the config to pulseaudio.
Now I get a different error :
@guidcruncher commented on GitHub (Dec 7, 2025):
ive got a fully working Alpine based container running Pipewire (emulates pulseaudio) Snapcast and golibrespot that I wrote for another project, I am working on, i can tidy it up and share here if you want?
JC
@devgianlu commented on GitHub (Dec 7, 2025):
That issue has been fixed, I've published version 0.6.0, that should work.
@benoitdr commented on GitHub (Dec 7, 2025):
Confirmed, working with 0.6.0
Thanks