mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[GH-ISSUE #1199] Librespot with pulseaudio setup #553
Labels
No labels
A-Alsa
SpotifyAPI
Tokio 1.0
audio
bug
can't reproduce
compilation
dependencies
duplicate
enhancement
good first issue
help wanted
high priority
imported
imported
invalid
new api
pull-request
question
reverse engineering
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot#553
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 @SummerSeaSun on GitHub (Aug 30, 2023).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/1199
To reproduce
Steps to reproduce the behavior:
librespot --backend pulseaudio --device ?start librespot with selected device:
librespot ---verbose -backend pulseaudio --device PulseAudioSinkconnect from open.spotify trow this error:
2023-08-30T08:38:31Z ERROR librespot_playback::player] Audio Sink Error Connection Refused: <PulseAudioSink> Connection refusedLog
A full log so we may trace your problem (launch
librespotwith--verbose). Format the log as code.Host (what you are running
librespoton):Additional context
I've followed this for mpd https://askubuntu.com/questions/555103/mpd-with-pulseaudio and that works fine. If I use alsa instead librespot works fine.
@kingosticks commented on GitHub (Aug 30, 2023):
That doesn't look like a full log, it doesn't even contain your error message.
Considering the link you posted, why not try running
PULSE_SERVER=127.0.0.1 librespot ---verbose --backend pulseaudio@roderickvd commented on GitHub (Nov 14, 2023):
No response, closing.