owntone-server icon indicating copy to clipboard operation
owntone-server copied to clipboard

[Feature] music.apple.com integration

Open dkjsj opened this issue 4 years ago • 4 comments

Any thoughts on building an integration to the new music.apple.com web player/API? Apple Music SDK is ready.

dkjsj avatar Jun 14 '20 19:06 dkjsj

Sure, but does the api allow playback of the user's songs?

ejurgensen avatar Jun 14 '20 20:06 ejurgensen

As I read the SDK the only way is to use the MusicKit JS.

So API for retrieving information about playlists - albums - artist etc and MusicKit for the actual play of the content.

dkjsj avatar Jun 15 '20 03:06 dkjsj

forked-daapd couldn't directly use the js, but perhaps it is possible to directly access the endpoints like the js does? I'm not sure if there might be some Fairplay stuff getting in the way. Or some other barrier.

If you find someone who has done this let me know. Or if someone is willing to make a basic commandline PoC, it would also be great.

ejurgensen avatar Jun 15 '20 18:06 ejurgensen

iirc Apple Music is Widevine encrypted, however last time I checked, Spotify is too, so I assume it's possible? Alternatively, if you're just wanting to implement a music service, Google Play Music (R.I.P) has been implemented in gmusicapi (Python), and Deezer implemented in Deemix (Python)

foxt avatar Jul 09 '20 13:07 foxt