[GH-ISSUE #189] Playing songs from the liked songs only plays currently visible songs #95

Open
opened 2026-02-28 14:47:00 +03:00 by kerem · 7 comments
Owner

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

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
Author
Owner

@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

<!-- gh-comment-id:568445665 --> @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
Author
Owner

@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

<!-- gh-comment-id:568532258 --> @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
Author
Owner

@UgurcanAkkok commented on GitHub (Jan 12, 2020):

Spotify don't give us a playback context for liked songs.

What do you mean by that? It doesnt give you the whole list of liked songs?

<!-- gh-comment-id:573429976 --> @UgurcanAkkok commented on GitHub (Jan 12, 2020): > Spotify don't give us a playback context for liked songs. What do you mean by that? It doesnt give you the whole list of liked songs?
Author
Owner

@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).

<!-- gh-comment-id:575064827 --> @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).
Author
Owner

@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.

<!-- gh-comment-id:575091492 --> @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.](https://developer.spotify.com/documentation/web-api/reference-beta/#endpoint-get-users-saved-tracks) 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.
Author
Owner

@Hugo01 commented on GitHub (Jul 22, 2020):

Any updates on this issue?

<!-- gh-comment-id:662453452 --> @Hugo01 commented on GitHub (Jul 22, 2020): Any updates on this issue?
Author
Owner

@franekxtb commented on GitHub (Jul 30, 2020):

I found a workaround:

  1. open proprietary spotify client
  2. go to liked songs
  3. Press ctrl+a
  4. Right click-> add to playlist -> new playlist
  5. play this new playlist in spotify-tui
<!-- gh-comment-id:666702459 --> @franekxtb commented on GitHub (Jul 30, 2020): I found a workaround: 1. open proprietary spotify client 2. go to liked songs 3. Press ctrl+a 4. Right click-> add to playlist -> new playlist 5. play this new playlist in spotify-tui
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-tui#95
No description provided.