mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[GH-ISSUE #418] No warnings but no playback on multiple platform with 0.1.0 and latest develop: potential API changes? #271
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#271
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 @markubiak on GitHub (Jan 2, 2020).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/418
Hello,
I've been using librespot for years now, but sometime in the last week, my Pi stopped working with librespot. The log shows that the track is loaded after connection, but even when loaded (which seems to take much longer than it used to), the play and pause commands never seem to make it to Librespot. My desktop shows the song as playing, but Librespot does not. When the device transitions to the next song, the desktop client disconnects from Librespot. Again, the server running the binary shows no warnings or information other than "Loading ..." and sometimes "Loaded ".
I can reproduce this with 0.1.0 built from master, 0.1.0 from crates.io, and the latest dev branch. I also tried running librespot on my desktop (x86_64) installed with cargo, and see an identical issue. This leads me to believe something changed upstream.
This project actually got me to start learning rust, so if someone else can verify it's a code issue, I could be willing to take a look and see if I can take a crack at fixing it. Thanks
@markubiak commented on GitHub (Jan 3, 2020):
Some updates: I can reproduce this on 3 machines, identical behavior for all. On one of the machines, I was also able to run librespot-java successfully and that program does not share this behavior. I've also found that "no playback" is not correct, but there is a 30+ second delay (check out the timestamps). After the song finally starts, it frequently drops out and back in.
I've attached debug logs for librespot and librespot-java for the same flow (host server, play on Android phone, connect to librespot, detach). Same behavior happens when using a Linux desktop client to connect to librespot.
@markubiak commented on GitHub (Jan 7, 2020):
The issue went away today, with no code changes. The only thing I can think of is an issue on my LAN -- quite bizzare. I will reopen this if I encounter it again.