Help with setting up SpotifyPlus

Hi, hoping ive posted in the right place, and someone can help, maybe @thlucas ?

Use case is im trying to set up SpotifyPlus so that i can:

Use my voice automations to Play X, on my sonos speakers
Have the queue appear in the spotify app

Should be quite staightforward, but the closest ive got is i can get the audio to play, and the grouping logic works as it should, but the app just will not diaplay the current queue in spotify app so that i can begin the queue from voice command, and then later take control or join the jam from another spotify account.

I kmow that i could use the sonos app, but this is not the point, the goal is to be able to use the spotify app for a seamless experience.

Ive set up the additonal python env and got my tokens json and added that to the .storage dir in HA,but not sure if im missing something else, or magbe this is just not possible.

I even modified part of the current spotcast v16 alpha to start accepting spotify device id’s again, but got the restricted device (sonos) issue.

Would be grateful for some assistance! And thank you for all the work youve put in to your intergration you can tell its a well made and maintained project :+1:

Thanks in advance and happy to provide any further info required.

1 Like

@joehmdeegan
Unfortunately, the queue list is a known limitation when using SpotifyPlus with Sonos devices. For Sonos devices, the Sonos Local Queue will be used for playing content; the content playing on the local queue will not be reflected in the Spotify Web API since it’s considered a restricted device.

Note that SpotCast is not used (nor required) by SpotifyPlus.

I wish Spotify would enhance their Web API to treat Sonos devices as “unrestricted” (along with Google Cast devices), but I don’t see that happening anytime soon unfortunately.

I forgot to address your question about voice automations. Check out the SpotifyPlus Voice Assist Support wiki for details on how to install the sentence templates, as well as what voice intents are supported. Note that English and German are the only languages supported at this time.

Use the transfer playback intent to transfer playback to a specific Sonos (or other) device. In this example, the device is named “Sonos 01”, and the SpotifyPlus player name (Voice Assist alias) is “Spotify Premium”.

spotify transfer playback to Sonos 01 for player spotify premium

You can then use the following voice command to search and play a playlist on the active device:

spotify play playlist Old Christian Contemporary

Check the Voice Intents Index for other functions that are supported (add / remove favorites, control the player (pause, resume, volume adjust, etc), get now playing info, etc.

Hope it helps!