Announcements

Help Wizard

Step 1

NEXT STEP

Spotify Connect Zeroconf addUser Sonos

Spotify Connect Zeroconf addUser Sonos

Is there some documentation somewhere on how the Spotify Desktop player connects to a Sonos device via Spotify Connect Zeroconf interface?  The Sonos device is responding to all of the Spotify Connect Zeroconf commands (e.g. resetUsers, getInfo, addUser), but the addUser always fails (Error 103) because I don't know what to pass for the "blob" parameter.

 

Extremely frustrating, as there is no documentation anywhere (that I can find anyway) for that token type / flow!

 

I am looking for a way to programmatically re-add a Sonos device to the Spotify Connect active device list using the Spotify Connect Zeroconf API. The problem we are having is that when the Sonos device drops from the Spotify Connect player active device, it is no longer accessible until you restart the player or restart / reboot the Sonos device.

 

In order to re-connect the Sonos device to the active device list, I need to know a few things:

 

1) is this even possible via the Spotify Connect Zeroconf API "addUser" action?  I would assume so, as Wireshark traces reveal that the Sonos device does implement the Spotify Connect Zeroconf API actions, and that an "addUser" request is being made to the device from the player (desktop, mobile, etc).

 

2) if it IS possible via the "addUser" action, what does the action "blob" data block look like that is passed?  I know the format for the "default" token type, but the format for the "authorization_code" token type is not published.

 

It seems that Sonos is the only device type I have ran across thus far that uses the "tokenType=authorization_code".

 

Any help or pointers would be appreciated.

 

Thanks!

 

Plan = Premium

Country = US

Device = Sonos

Operating System = Windows 11

 

Reply
1 Reply

Not to sound ungrateful, but I have had zero responses on this thread that's been out here for over a month now.

 

Is there some documentation somewhere on how the Spotify Desktop players connect to a Sonos device via Spotify Connect Zeroconf interface?  The Sonos device is responding to all of the Spotify Connect Zeroconf commands (e.g. resetUsers, getInfo, addUser), but the addUser always fails (Error 103) because I don't know what to pass for the "blob" parameter.

 

Extremely frustrating, as there is no documentation anywhere (that I can find anyway) for that token type / flow!

 

Suggested posts

Let's introduce ourselves!

Hey there you,   Yeah, you! 😁   Welcome - we're glad you joined the Spotify Community!   While you here, let's have a fun game and get…

ModeratorStaff / Moderator/ 4 years ago  in Social & Random