mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[GH-ISSUE #461] Strange behaviour in iOS app when using librespot Spotify Connect #294
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#294
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 @lealoureiro on GitHub (Apr 14, 2020).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/461
Hello,
First of all thanks for great work!
I notice something a bit strange when using librespot as Spotify Connect device, together with Snapcast.
When I push next song, the now playing window disappears/slides down.
The same doest happen with other devices like my laptop or my Denon Amplifier.
Is not a big deal but is annoying feels like something is different.
Please check the video to see better the problem.
Screenplay of Issue
Regards,
Leandro
@koloodziej commented on GitHub (May 3, 2020):
Same problem on Android.
@ashthespy commented on GitHub (May 26, 2020):
Just bisected and found that
github.com/librespot-org/librespot@3f111a9778introduces this..Disabling the notification for
PlayerEvent::Loadingfixes this for me on Android..@kaymes Any ideas?
@kaymes commented on GitHub (May 26, 2020):
It seems like Spotify changed the way the app behaves for kPlayStatusLoading. When I wrote this code, I tested it quite a bit with the desktop client (Linux) and the Android app. The behaviour for kPlayStatusLoading was that the desktop client would grey out the progress bar and the Android app just ignored it.
My understanding of kPlayStatusLoading was that it should be sent while loading a track but not yet playing it, so that's what I programmed.
With the new behaviour of the app, it seems like my interpretation of kPlayStatusLoading was wrong because the way the app behaves is indeed annoying and doesn't make sense when loading a track. Maybe it is intended to be sent during the start-up phase of a user-controlled client. I don't know.
In any case, librespot should probably refrain from using kPlayStatusLoading for now.
I created a branch with a simple fix. I'll open a PR in a moment.