[HN Gopher] MusicKit JS ___________________________________________________________________ MusicKit JS Author : tosh Score : 108 points Date : 2020-02-22 17:20 UTC (5 hours ago) (HTM) web link (developer.apple.com) (TXT) w3m dump (developer.apple.com) | dawnerd wrote: | About time. Rdio has such an amazing embed api (I built the JS | api for it at the time and a site that was really heavily used). | Total shame when Apple bought and shut them down. Maybe I can | bring that old site out from the dead. Hmm | mackey wrote: | Apple did not buy Rdio, they basically went out of business and | sold what they left to Pandora. | gyrgtyn wrote: | can a web app play music and run js with the screen off? | parhamn wrote: | I've always wondered why Netflix and all don't have clip widgets | that you can link/embed on other sites. It is essentially free | mass embedded paywalls. | GuiA wrote: | I can see the short term benefit, but inevitably some big | content distributor would want to opt out on condition of | providing their content to Netflix due to some disadvantage | they perceive with it. From there more and more content | providers would want to opt out ("Disney does it, we should do | it too because it makes us more like Disney") and then the | feature becomes useless and people who use it get mad. | staticvar wrote: | You can play your iTunes library online now? | dewey wrote: | Your Apple Music library, this SDK already exists for years so | it's not exactly new. | kitsunesoba wrote: | Props to Apple for releasing this. The way Spotify has handled | the deprecation of libspotify without a proper replacement and | removing streaming/playback from their other SDKs has been | extremely disappointing. | benbristow wrote: | Doesn't seem like there's an NPM package. Would be better if you | could import it with Webpack and use await rather than callbacks | etc. | mrcarruthers wrote: | Well it's using promises, so you can just await those. | | But agreed, the documentation looks like it was written in | 2014/2015. ___________________________________________________________________ (page generated 2020-02-22 23:00 UTC)