mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[GH-ISSUE #407] Many crashes on Raspberry Pi with latest master #263
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#263
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 @peterdk on GitHub (Dec 6, 2019).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/407
I built Raspotify with the latest version of librespot available (
f67a38d). I get many times a crash when connecting from my Windows 10 Spotify.2 errors are visible in the systemd log. From the looks of it, maybe a issue with the audio device? I did reboot, then it works for a few songs, then crashes again.
@peterdk commented on GitHub (Dec 6, 2019):
On 0.1.0 it works flawless. So I reverted to that one.
@kingosticks commented on GitHub (Dec 6, 2019):
Please provide your compile flags and your program arguments.
Edit: 0.1.0 is a real tag, my bad. That still uses rodio so audio can't be that different.
@peterdk commented on GitHub (Dec 7, 2019):
Compile (cross compiled on x86):
cargo build --release --target arm-unknown-linux-gnueabihf --no-default-features --features alsa-backendCommand:
/usr/bin/librespot --name raspotify --backend alsa --bitrate 320 --disable-audio-cache --enable-volume-normalisation --linear-volume --initial-volume=70@mainrs commented on GitHub (Dec 7, 2019):
It's the bitrate. We got some issues over at spotifyd. You should encounter no errors if you use a lower bitrate like 160 with the newest binary of
librespot.See https://github.com/Spotifyd/spotifyd/issues/131
@peterdk commented on GitHub (Dec 7, 2019):
@SirWindfield ok, but with the 0.1.0 it works fine? I prefer to use the higher bitrate.
@mainrs commented on GitHub (Dec 7, 2019):
It should work fine, yes. I didn't test it myself, but @kingosticks already mentioned it :)
@peterdk commented on GitHub (Dec 29, 2019):
Ok, I think t was caused by issues with XBMC running at the same time as librespot. I disabled XBMC from starting on the pi, and specified the hfiberry device explicitly when starting. I run on latest master now with 320 and it works flawlessly again. Really happy, so no need to switch to something else.