[GH-ISSUE #177] cannot find pulseaudio sink default: pulseaudio: no such entity (regression from #163) #113

Closed
opened 2026-02-28 14:25:27 +03:00 by kerem · 1 comment
Owner

Originally created by @aykevl on GitHub (Mar 17, 2025).
Original GitHub issue: https://github.com/devgianlu/go-librespot/issues/177

Unfortunately #163 is a regression for me. Since 633b140982, it reports an error like the following:

WARN[0006] failed handling dealer request                error="failed loading current track (transfer): failed setting stream for spotify:track:2YooT5iUL2Wiy2jmGnBKi9: cannot find pulseaudio sink default: pulseaudio: no such entity"

So apparently there's no sink called "default", but when the sink is not set it works fine. So I think the default value for audio_device should be an empty string. Or maybe audio_device should be separated between ALSA and PulseAudio (instead of reusing the same property).

The following config is a workaround (setting audio_device to an empty string):

audio_backend: pulseaudio
audio_device:

(I'm using PipeWire, not PulseAudio, but in theory that should not matter).

Originally created by @aykevl on GitHub (Mar 17, 2025). Original GitHub issue: https://github.com/devgianlu/go-librespot/issues/177 Unfortunately #163 is a regression for me. Since 633b140982fdaaea543135d80850fcb1b0de1341, it reports an error like the following: ``` WARN[0006] failed handling dealer request error="failed loading current track (transfer): failed setting stream for spotify:track:2YooT5iUL2Wiy2jmGnBKi9: cannot find pulseaudio sink default: pulseaudio: no such entity" ``` So apparently there's no sink called "default", but when the sink is not set it works fine. So I think the default value for `audio_device` should be an empty string. Or maybe `audio_device` should be separated between ALSA and PulseAudio (instead of reusing the same property). The following config is a workaround (setting `audio_device` to an empty string): ```yaml audio_backend: pulseaudio audio_device: ``` (I'm using PipeWire, not PulseAudio, but in theory that should not matter).
kerem closed this issue 2026-02-28 14:25:28 +03:00
Author
Owner

@aykevl commented on GitHub (Mar 22, 2025):

@devgianlu thank you for fixing!

<!-- gh-comment-id:2745099442 --> @aykevl commented on GitHub (Mar 22, 2025): @devgianlu thank you for fixing!
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/go-librespot#113
No description provided.