MusicKit JS
developer.apple.com
developer.apple.com
https://developer.spotify.com/documentation/web-playback-sdk...
It looks like this web playback SDK works by creating a local Spotify Connect device to play to, which I guess would technically work, but it’d be much nicer if it just directly played songs as libspotify did and now MusicKit JS does.
Is it possible to embed this in native apps with an embedded browser? Hmm sounds complicated, or is there a different way to integrate this (using the apis the library uses).
There are reverse engineered libraries available (mainly librespot[1]) but they come with the caveat of violating the EULA and risking the accounts used with it. AFAIK Spotify hasn’t banned anybody for using it yet, but it’s always a possibility.
Thanks for the tip!
But agreed, the documentation looks like it was written in 2014/2015.
https://developer.apple.com/documentation/musickitjs#3004817
music.authorize().then(function() {
music.api.library.albums.then(function(cloudAlbums) {
// user's cloudAlbums
});
});
Should be:
music.authorize().then(function() {
return music.api.library.albums;
}).then(function (cloudAlbums) {
// user's cloudAlbums
});It deincentivizes abuse not unlike how SSL originally worked before it became a farming operation.
I remember as late as 2004 trying to scrounge up copies of our business license to fax or mail into our registrar.
Today the SSL cert has lost it's identity aspect and is just a sign of secure communication, not trusted.
And those policies made it impossible for personal and hobbyist sites to use secure communications, while doing very little to actually prevent abuse. (Most of the apparent "success" of these policies was simply because the motivations for abuse were lower at the time.)
Ease of SSL certs provides significantly better protection from threats between you and legitimate sites than potential illigitimate sites.
Fraudulent SSL certs weren't a thing because the barrier to entry way so high and the rewards for spoofing a site were low since e-commerce was insignificant.
What's the use for this? ( in a mainstream product way, not in some cool personal private project way)
But still, I miss rdio.
https://www.cultofmac.com/211126/the-inside-story-of-how-app...