Skip to main content

Hi,

I receive an incomplete list of Favorites with the Sonos API “getFavorites”-command.

Concretely, playlists from Amazon Music which I added to Favorites in the app are missing while playlists from Spotify added in the same way are returned by the API.

In the Sonos app both are listed next to each other.

 

By using the http-API I get both types of playlists, but Amazon Music playlists are of type “shortcut” and Spotify playlists of type “instantPlay”. (see also other post)

 

Does this ring a bell for anyone?

 

Thanks very much in advance!

Best regards,

Philip

I replied to your original UPnP question, I missed it originally.

The getFavorites cloud API is broken in various ways, and poorly documented.

What does play.sonos.com do with your Favorites? If it works, use the debugger in your browser to see how it differs from your code.


thanks for your message! As my original problem occured by using the http API (see other post), I only tried the cloud API to verify whether the problem also appears there. 

 

I did some further investigations and found a solution/workaround for me which I could also verify via the cloud API..

 

If anyone has the same topic, this is the workaround that resolved it for me:

Whenever I added a Amazon Music playlist with one of my iOS devices, it didn’t appear in the list returned by “getFavorites”.

I then installed the Windows Sonos app. Amazon Music playlist added to the favorites here are now returned by “getFavorites” and I can again call them via the http API.

So looks for me like a problem with the iOS Sonos app.


Reply