[GH-ISSUE #871] play random song from liked list from CLI #367

Open
opened 2026-02-28 14:48:44 +03:00 by kerem · 3 comments
Owner

Originally created by @Lakpoh on GitHub (Aug 26, 2021).
Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/871

Hello,
i would love to play a random song from my liked song with a command on CLI.

maybe the function is already here but i can't find it in the documentation and in the "--help"output from cli "spt play"

as i understood, "liked songs" is not a "playlist" and have his own status
one solution is to create manually a playlist with all played songs but it's lame and you have to update it every time and so

another is to get the liked songs URI, but can't found it.

Originally created by @Lakpoh on GitHub (Aug 26, 2021). Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/871 Hello, i would love to play a random song from my liked song with a command on CLI. maybe the function is already here but i can't find it in the documentation and in the "--help"output from cli "spt play" as i understood, "liked songs" is not a "playlist" and have his own status one solution is to create manually a playlist with all played songs but it's lame and you have to update it every time and so another is to get the liked songs URI, but can't found it.
Author
Owner

@RandomTrickster commented on GitHub (Aug 10, 2022):

You could probably parse the output of spt list --liked to get the urls of your liked songs and pipe a random one to spt play --url, but this is way too complicated so I would love this feature to get impemented as well.

<!-- gh-comment-id:1210407397 --> @RandomTrickster commented on GitHub (Aug 10, 2022): You could probably parse the output of `spt list --liked` to get the urls of your liked songs and pipe a random one to `spt play --url`, but this is way too complicated so I would love this feature to get impemented as well.
Author
Owner

@cheyngoodman commented on GitHub (Apr 11, 2023):

From the TUI we can navigate and select Library > Liked Songs but this feature is missing from the CLI options.

Something like spt play --liked would be very handy.

<!-- gh-comment-id:1502629048 --> @cheyngoodman commented on GitHub (Apr 11, 2023): From the TUI we can navigate and select Library > Liked Songs but this feature is missing from the CLI options. Something like `spt play --liked` would be very handy.
Author
Owner

@sewnie commented on GitHub (Apr 11, 2023):

Suggest this to https://github.com/aome510/spotify-player/pull/159

<!-- gh-comment-id:1502763983 --> @sewnie commented on GitHub (Apr 11, 2023): Suggest this to https://github.com/aome510/spotify-player/pull/159
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#367
No description provided.