You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make liked tracks playable.
This is probably a bit harder and more complex that it sounds. The spotify web api has no native support to just play a song in the context of 'saved tracks'. This basically means one would have to manually send all the context_uris of the songs on the saved_tracks one would want to play.
It gets really complicated, when shuffle comes into play. Because then on a song change, one would need to check if shuffle is enabled and if that is the case, play a random song in the saved tracks list. When shuffle is turned back off again, one would need to keep playing in the order described by the saved tracks list. Also, I don't think when supplying a custom list of context_uris (song uris), spotify will respect the repeat setting, so this will have to be emulated as well.
:(
For a start, it will probably be a nice feature to be able to just play one track.
One could maybe kind of look over at the code of spotify-tui. AFAIK they kind of already do this, but only send the few tracks, that are being displayed on the screen at the time (at least the last time I checked).
The text was updated successfully, but these errors were encountered:
Make liked tracks playable.
This is probably a bit harder and more complex that it sounds. The spotify web api has no native support to just play a song in the context of 'saved tracks'. This basically means one would have to manually send all the context_uris of the songs on the saved_tracks one would want to play.
It gets really complicated, when shuffle comes into play. Because then on a song change, one would need to check if shuffle is enabled and if that is the case, play a random song in the saved tracks list. When shuffle is turned back off again, one would need to keep playing in the order described by the saved tracks list. Also, I don't think when supplying a custom list of context_uris (song uris), spotify will respect the repeat setting, so this will have to be emulated as well.
:(
For a start, it will probably be a nice feature to be able to just play one track.
One could maybe kind of look over at the code of spotify-tui. AFAIK they kind of already do this, but only send the few tracks, that are being displayed on the screen at the time (at least the last time I checked).
The text was updated successfully, but these errors were encountered: