You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Has anyone on the project been able to re-activate a Spotify Connect Sonos device that uses a tokenType="authorization_code" value in the Zeroconf addUser request? It seems that Sonos is the only device type I have ran across thus far that uses the authorization_code value for token type.
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 I am having is that when the Sonos device drops from the Spotify Connect player active device, it is no longer accessible until you restart the Spotify player or restart / reboot the Sonos device.
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, web, etc).
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 I have not been able to find the format for the "authorization_code" token type.
Just wondering if anyone else has this issue with Sonos devices.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Has anyone on the project been able to re-activate a Spotify Connect Sonos device that uses a
tokenType="authorization_code"
value in the ZeroconfaddUser
request? It seems that Sonos is the only device type I have ran across thus far that uses theauthorization_code
value for token type.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 I am having is that when the Sonos device drops from the Spotify Connect player active device, it is no longer accessible until you restart the Spotify player or restart / reboot the Sonos device.
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 anaddUser
request is being made to the device from the player (desktop, mobile, web, etc).If it IS possible via the
addUser
action, what does the actionblob
data block look like that is passed? I know the format for the "default" token type, but I have not been able to find the format for the "authorization_code" token type.Just wondering if anyone else has this issue with Sonos devices.
Beta Was this translation helpful? Give feedback.
All reactions