Start playing a specific playlist / album / track
Is your feature request related to a problem? Please describe.
Currently, it's not possible to immediately start playing a given playlist, through the API
Describe the solution you'd like
:play spotify:playlist:<playlist_id>
Clear the current queue, and replace it with the provided playlist (perhaps as separate commands to allow appending to queue rather than just clearing it?).
Describe alternatives you've considered
I've had a look through the API docs and source, and can't see a reliably way of making this happen, without trying to interact with the UI.
Additional context
Currently, one of the key selling points of the socket API is "etting up routines, i.e. to play specific songs/playlists", which appears to not be possible.
Hello, ncspot supports MPRIS, so you could use something like playerctl to start playing a song/album/playlist/podcast, for example:
playerctl -p ncspot open "https://open.spotify.com/track/3i3n5eY1c43CbFZuYTsEON"
or if you prefer to use the Spotify URI format:
playerctl -p ncspot open "spotify:track:3i3n5eY1c43CbFZuYTsEON"