mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 00:05:55 +03:00
[GH-ISSUE #78] Crashes on Raspi 3 using pulseaudio #68
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#68
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 @sashahilton00 on GitHub (Jan 29, 2018).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/78
Monday Aug 21, 2017 at 01:56 GMT
Originally opened as https://github.com/plietar/librespot/issues/235
I'm using Raspbian Jessie Release 8.0
When i'm trying to start librespot on my Raspberry Pi 3 using PulseAudio backend
RUST_BACKTRACE=1 ~/librespot/target/release/librespot --username my@email --cache /tmp/librespot --name Libre -p MySuperStrongPassword -b 320 --backend pulseaudioit crashes with following message:
It works fine on my ubuntu VM, so I thought it is caused by the version of Pulseaudio. After an Update to Pulseaudio 10.0 the same issue occours.
I want to use Pulseaudio for several reasons:
Any Ideas what is wrong on my Raspberry?
@sashahilton00 commented on GitHub (Jan 29, 2018):
Wednesday Aug 23, 2017 at 04:53 GMT
Hi, I've had the same issue for a while on my RPi3, Jessie 8.0 as well. Got a crash on connection from the Spotify client and it seemed to be related to pulseaudio. I deleted my cloned repo folder and re-cloned it with
git clone https://github.com/plietar/librespot.gitand then rebuilt. That got it running for the first time in a while. However, I still see the same errors involving pulseaudio, so I'm not claiming victory just yet (as it also seems nothing like a permanent solution). So, This is what I got:I'll update if it crashes again. Good Luck!
@sashahilton00 commented on GitHub (Jan 29, 2018):
Friday Aug 25, 2017 at 10:23 GMT
@TurokO8A You don't use pulesaudio as backend. What you are discribing is a normal start using stadard backend (Portaudio).
Any ideas regarding my error?
@ComlOnline commented on GitHub (Jan 29, 2018):
@Bebowi do you still have this error?
@raphaelki commented on GitHub (Mar 5, 2018):
@ComlOnline This looks to me like the user has not been added to the pulse-access group. So
adduser <user> pulse-accessshould fix this. You only get this error message with the old plietar version.@raphaelki commented on GitHub (Mar 5, 2018):
But still I've not been successful running the libresport-org version on a similar setup using a Raspberry 3 with Raspbian Stretch Lite and Pulseaudio 10.
./librespot -n Librespot --backend pulseaudiogives me an error on playback:
The same setup was working with the plietar code until the recent enum change (#167).
@ComlOnline commented on GitHub (Mar 6, 2018):
@raphaki Either way it's been so long I'm going to close this issue anyway. If you built Librespot using
cargo build --releaseit will only include the PortAudio backend. Try rebuilding using thiscargo build --release --no-default-features --features pulseaudio-backend. If you still get a problem please open a new issue.