Open normanth opened 5 years ago
No one idea what could be the cause?
Sorry about the late answer. The /spotify/now
endpoint doesn't use the credentials (because it just references the Sonos credentials used for playback), so my assumption is that the credentials you added are wrong. I would double check that you entered them correctly, and in the right field, and maybe request new credentials just to be sure.
umlauts in room names should be fine, but the request sent must use UTF-8 in the URL. If not, use URL encoded values for it. You can use the encodeURIComponent('RoomWithÜ')
in node.js or chrome web inspector console to get the correctly encoded value.
Hi,
first: thank you for this great API!!
I have a problem with playing a spotify playlist (sonos-http-api@1.6.3). I connected Sonos with Spotify, created a developer account and added clientId and clientSecret to the settings.json.
If I call "http://ds.fritz.box:5015/Kueche/spotify/now/spotify:track:7sXTcibuNYugjjYNfgf2kY" evertyhing works - I get the status "success".
If I call "http://ds.fritz.box:5015/Kueche/musicsearch/spotify/playlist/Kinderlied" I get the status "error":
Unable to authenticate Spotify with client id: 5e87731f2XXXXXXXXXXXXXXXXXXX
I think that's also the reason why a spotify playlist will not continue after a "say" command.
In the issues I found problems with country settings - but I don't know what to do.
I would be very happy about an idea for the solution.
Thanks, Norman
By the way: there seems to be a problem with umlauts (ä,ü,ö...) in room names.