News for hackers. Stuff that matters.
Re:MusicKit JS by DelightOne on Sunday February 23, 2020 @11:17AM (#22397594)
Hmm that sounds indeed much better! Sadly not C, but cross-platform JavaScript is still nice to have.

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).

Re:MusicKit JS by kitsunesoba on Sunday February 23, 2020 @03:27PM (#22399317)
Embedding just the web player in native apps would be a pain due to communication between the native and web layer. If you just did the whole thing in JS (electron, etc) you’re barely any better off than the official client in terms of resource consumption, defeating much of the point of building an alternative client.

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.

[1] https://github.com/librespot-org/librespot

Re:MusicKit JS by DelightOne on Tuesday February 25, 2020 @02:54PM (#22416727)
Good that they limit use to Premium users, making them not lose money.

Thanks for the tip!