Playing Spotify album from command line (or via SocketIO)?

Hi,

I would like to initiate playback of Spotify albums (like “spotify:album:1xpGyKyV26uPstk1Elgp9Q”) from command line - or programmatically if necessary. I installed Spotify and Spotify Connect2. For me no need to create a permanent playlist.

I checked the docs, the CLI does not seem to provide such an option. Connecting with a Socket.IO node script to volumio (volumio.local:3000) from a remote machine does not seem to work for me.

What’s my best option? Any reference scripts (in node or python)?

Thanks
bluepuma

With connect, you could set up a node/pyhton/shell script using the Spotify Web Api to this…
Check out:
developer.spotify.com/documenta … -playback/