jishi / node-sonos-http-api

An HTTP API bridge for Sonos easing automation. Hostable on any node.js capable device, like a raspberry pi or similar.
http://jishi.github.io/node-sonos-http-api/
MIT License
1.85k stars 460 forks source link

Play a Apple Music Playlist #676

Closed suxus-zz closed 1 year ago

suxus-zz commented 5 years ago

Hello

Is it possible to play a Apple Music Playlist over the Sonos API?

/RoomName/applemusic/{now,next,queue}/song:{songID} /RoomName/applemusic/{now,next,queue}/album:{albumID}

Songs and Album are possible, but playlists?

Greeting

jishi commented 5 years ago

I'm unfamiliar with the implementation, I wasn't the one building it. I also don't have Apple Music, which makes it hard to reverse engineer.

snorrelo commented 5 years ago

Not a fix, but a workaround: Add the Apple Music playlist(s) to favourites and play them from there. /roomname/favorites to view and /roomname/favorite/playlistname to play. Works with both your own and other Apple Music playlists.