Hello everyone,
I have installed the binding and it seems to be working with one device (my iphone) so far.
Here lies my problem: I have 4 Sonos-Speakers, I would like to add as new devices.
In the Spotify-Iphone-App, the Sonos-Speakers are always visable and directing sound to the sonos speakers works without a flaw from within the app.
Unfortunately the API seems not to be aware of the Sonos-devices:
GET https://api.spotify.com/v1/me/player
returns
{
"device": {
"id": null,
"is_active": true,
"is_private_session": false,
"is_restricted": true,
"name": "Wohnzimmer",
"type": "Speaker",
"volume_percent": 31
},
GET https://api.spotify.com/v1/me/player/devices
returns
{
"devices": [
{
"id": "xxxxxxxxxxxxxxxxxxxxxxxxxxx",
"is_active": true,
"is_private_session": false,
"is_restricted": false,
"name": "iPhone",
"type": "Smartphone",
"volume_percent": 100
}
]
}
It seems the API is aware of the device âWohnzimmerâ but has no ID wheras âiPhoneâ (id xxxxâd out) seems to be the only one working device.
I assume this must be a problem with the spotify api, or am I missing something?
There has been a discussion on github about âadding devices to spotifyâ: https://github.com/spotify/web-api/issues/540
⊠and some âworkaroundâ utilizing the Web Playback SDK:
Has anyone the same issues, or some advice?
Cheers and happy new year,
g