mirror of
https://github.com/Rigellute/spotify-tui.git
synced 2026-04-26 08:05:57 +03:00
[GH-ISSUE #189] Playing songs from the liked songs only plays currently visible songs #95
Labels
No labels
bug
enhancement
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-tui#95
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 @AtomToast on GitHub (Dec 12, 2019).
Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/189
Playing songs from the liked songs list only plays the songs visible on the screen.
This happens both with shuffle turned on and off
Expected behavior would be for it to continue through all your saved songs.
Steps to reproduce would be to just starting playing songs. Can be accelerated by using n to skip songs.
Using version 0.10.0 on arch with dwm
@Rigellute commented on GitHub (Dec 23, 2019):
Ah yes, you're right. As far as I know, Spotify don't give us a playback context for liked songs. My workaround has been to play through the songs in the current view, as you've figured out.
Need to investigate a better way
@AtomToast commented on GitHub (Dec 23, 2019):
ah, damn that kind of sucks :/
Since I usually never make playlists but just listen to my liked songs on random
@UgurcanAkkok commented on GitHub (Jan 12, 2020):
What do you mean by that? It doesnt give you the whole list of liked songs?
@Rigellute commented on GitHub (Jan 16, 2020):
@UgurcanAkkok The Spotify API gives us a "context" for certain playback. For example, the context could be an artist, album, playlist etc. This means that we don't need to know all the track ids ahead of time to send to Spotify so it can start playing through them. We can just pass in the desired track to start playing and a context of which to continue playing.
As far as I know, in the case of "Liked Songs" there is no playback context. This means we can only send Spotify the currently fetched song id tracks (hence why spotify-tui only plays the currently visible tracks).
@UgurcanAkkok commented on GitHub (Jan 16, 2020):
@Rigellute I see but i think there might be a way. So i looked at the WebAPI reference, here. It allows to get at most 50 tracks from saved tracks, but it also allows to set an offset. So i think it might be possible to get the whole saved tracklist by parts of 50, and simulate the shuffle behaviour.
@Hugo01 commented on GitHub (Jul 22, 2020):
Any updates on this issue?
@franekxtb commented on GitHub (Jul 30, 2020):
I found a workaround: