Squeezebox - controlling Spotify Playlists

I’ve been trying to figure out how to get Squeezebox to play Spotify Playlists (Like this one for instance).

I found this PR https://github.com/openhab/openhab/pull/1855 where @digitaldan which added the ability to issue an arbitrary command to the squeezebox. The example is for pandora but mentions that it works for Spotify as well.

After far too long googling and trying various commands and plugins, I am unable to find the magic combination which unlocks this Spotify playlist.

Can someone point me to the correct syntax?

1 Like

Sorry its been a while and I no longer use the squeezebox binding, I’m reviewing some changes today from a PR in the OH2 version, I’ll see if I can remember how I got those values since I need to fire up my squeeze system.

so when I use the Squeezbox webui to play a station in spotify the HTTP request it makes looks like “http://server:9002/plugins/spotifylogi/index.html?action=playall&index=cf310a2f.7.5&player=00%3A04%3A20%3

I think the “cf310a2f.7.5” is what I set the item_id to, obviously this would be a different value for your setup. I have not tested this however as I don’t have a OH1 setup running and it looks like I didn’t port over the command function for OH2 (but it would not be hard to add if people need it).

Thanks @digitaldan! That is just the push I needed to get in the right spot. I have it working now. Once I play with a bit more and make sure I’m comfortable with it, I’ll try to update the wiki.

That would be great, shame on me for not updating it when I had the chance.