mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[GH-ISSUE #515] librespot_playback could not start/write audio #327
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#327
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 @savchenkoElla on GitHub (Aug 3, 2020).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/515
hi,
I am using raspotify and librespot to make my raspberry pi to one spotify connect client.
When I was using an USB-Headset, this has worked. Now I am trying to make this work with bluetooth speaker. I can play sound on raspberry pi with pulseaudio an thus, I have build the librespot with pulseaudio as backend.
When I start raspotify, I get this error:
Aug 03 14:41:42 raspberrypi librespot[1186]: [2020-08-03T12:41:42Z ERROR librespot_playback::player] Could not start audio: Connection refused
Aug 03 14:41:42 raspberrypi librespot[1186]: [2020-08-03T12:41:42Z ERROR librespot_playback::player] Could not write audio: Not connected to pulseaudio
Could someone help me with this?
Thank you :)
@Malvineous commented on GitHub (Aug 15, 2020):
This isn't a librespot problem. If you can get your system to play audio from the device with other programs then librespot will also work.
It looks like you have configured librespot to use pulseaudio but you aren't running pulseaudio, so once you fix your audio config them librespot should start working. Hopefully your Linux distro support can point you in the right direction there.
@savchenkoElla commented on GitHub (Sep 10, 2020):
All the others playback programs are already working with pulseaudio. But I still have the same error with librespot..
@Malvineous commented on GitHub (Sep 10, 2020):
In the same terminal as you are using to run librespot, what does the command "pacmd list-sinks" report? This will ask PulseAudio to show which playback device it is using.
@savchenkoElla commented on GitHub (Sep 10, 2020):
oh... it is actually not used.
I will try to figure that out, thank you ! :)