How to transfer playback to Sonos Arc after using zeroconf apis? #22
Replies: 4 comments 8 replies
-
@andrew-kennedy Everything in your Questions:
Note that if you don't have a password setup for your Spotify account (e.g. you utilize the "Continue with Google" or other non-password methods for login), then you will need to define a "device password" in order to use the ZeroConf Connect service; use the Spotify Set Device Password page to define a device password. You will then use your Spotify username and the device password to Connect to the device.
Other things to try: Do whatever you need to do to get the Sonos device back in the Spotify Connect device list (reboot Sonos maybe?), and start playing a track on it (from Spotify mobile app | desktop app | web | etc - whatever works).
If the above works then we know that the IP address, port, CPath, and Version parameters are good, so it's a matter of your Spotify user credentials. |
Beta Was this translation helpful? Give feedback.
-
Ok, I hit the same point...
Then I get this response from my sonos speaker (using a ikea symfonisk) Failed to call service spotifyplus.zeroconf_device_connect. ZeroconfResponse: SpotifyError="0" Status="103" StatusString="ERROR-UNKNOWN" Let me know if you have any other ideas... It would be sooo sick getting this to work Note: using the .31 release from a few hours ago |
Beta Was this translation helpful? Give feedback.
-
@s00500 This should return information for the Spotify Connect device - something like this (my device example):
|
Beta Was this translation helpful? Give feedback.
-
Did another update to .34 today. Again moving from sonos to my mac works fine, the other way around I get this error again Failed to call service media_player/select_source. SAM0001E - An unhandled exception occured while processing method "PlayerTransferPlayback". SAM1003E - Spotify ZeroConf API returned an error status while processing the "Connect" method. Status: 103 - ERROR-UNKNOWN Message: "ZeroconfGetInfo: SpotifyError="0" Status="103" StatusString="ERROR-UNKNOWN" ActiveUser="" Aliases=[] Availability="" SupportedDrmMediaFormats=[] Version="2.9.0"" |
Beta Was this translation helpful? Give feedback.
-
I'm trying to set up an automation to dynamically move playback from my iPhone to my home sonos speakers. Here's an example of the output from the zeroconf discover devices service:
Given this, I made a call to zeroconf getinformation service which yields this (redacted private info):
Given this info didn't add anything else, I tried to call zeroconf device connect to put the zeroconf sonos speaker in my spotify connect devices list:
But this just gives me an internal server error. Am I doing something wrong? does this not work with sonos? I'm basically hoping using these zeroconf apis I can avoid having to run this proxy spotify connect device in a docker container: https://github.com/philippe44/SpotConnect
Beta Was this translation helpful? Give feedback.
All reactions