Volumio2 icon indicating copy to clipboard operation
Volumio2 copied to clipboard

rest API, control spotify SPOP plugin, playlist

Open petershaw23 opened this issue 5 years ago • 1 comments

Hi, is there a way to control the spotify SPOP plugin via REST api? I want to play Spotify playllists, like "Discover Weekly" via RST API, like i can with "normal" playlists:

curl volumio.local/api/v1/commands/?cmd="playplaylist&name=playlistname"

Is this possible? Creating a "normal" playlist by adding the spotify playlist to the queue, then clicking "save playlist", is too cumbersome, especially for "discover weekly", which is being re-generated weekly by spotify

petershaw23 avatar May 13 '19 15:05 petershaw23

To me it seems looking at the sources, that you can only play/pause and play track x from the current playlist.

You have more control over volumio via websockets API. Check forum for Using API to play Spotify album?, comment 5 has some node code.

bluepuma77 avatar May 23 '19 20:05 bluepuma77