New 2023 Spotify Plugin

Hi there. I started using Volumio today (moved from another audiophile RPi project). The audio quality is amazing. Great stuff.

I installed the Spotify plugin and it works fine if I use the iPhone app; however, it doesn’t work if I use the Spotify API (that is what I need in the end).

For instance, if I use the endpoint https://api.spotify.com/v1/me/player/play, I get a 404.

In the RPi I get this kind of errors:

volumio go-librespot[2583]: time="2023-12-06T21:53:07+01:00" level=error msg="failed unmarshalling dealer request payload" error="json: cannot unmarshal number into Go struct field RequestPayload.target_alias_id of type string" uri="hm://connect-state/v1/player/command"

I have a Raspberry Pi 4, the Spotify Plugin 4.0.3, and the latest Volumio image (3.569). I don’t have premium.

Any ideas on how to fix it?

Thanks.