Using API to play Spotify album

Hi,

I am new to Volumio, got it successfully running on a Raspberry Pi Zero (sloowww) with Spotify Premium.

I would like to play a full album from Spotify, initiated with a hardware interface using NFC cards.

Example, something like this with 23 tracks: open.spotify.com/album/01JrN7TzqiE7Vs1JNJ3Mkl

How can I do that via REST API or WebSocket? I checked the docs and tried some initial code, but its not working for me.

Thanks
bluepuma

I might add that Spotify is behaving strangely on the Pi.

  1. Featured playlists aren’t playing at all
  2. Personal playlists are not shown
  3. It only plays songs and albums from “What’s new”

Using volumio latest.

Sorry, wrong forum, just used first “help” and ignored it was for “MyVolumio”