Live data from Hacker News

Unofficial Spotify Client for the Nintendo Switch (PoC)

gbatemp.net

21–30 of 42 posts

Re: Unofficial Spotify Client for the Nintendo Switch (PoC)

#23
post #4

I was under the impression that all audio Spotify serves is heavily DRM-ed and can only play with special hardware decoders which respect the DRM? How did was this person able to play the encrypted audio? Does this not let them effectively rip music from Spotify?

Does your PC or phone have special hardware decoders from Spotify?

Can you play Spotify on your PC or phone?

Re: Unofficial Spotify Client for the Nintendo Switch (PoC)

#24
post #4

I was under the impression that all audio Spotify serves is heavily DRM-ed and can only play with special hardware decoders which respect the DRM? How did was this person able to play the encrypted audio? Does this not let them effectively rip music from Spotify?

they just need to be a less convenient way to pirate music and no one will really bother, a lot of popular music gets pirated before it even hits Spotify anyway

Re: Unofficial Spotify Client for the Nintendo Switch (PoC)

#27

Projects like these are why I love HN. What kind of issues did you run into developing this client?

I haven't had any issues on the RE end, mostly because I didn't need to do a whole lot of it, as the librespot people have already paved the way. But I've still gotta figure out the new protocol the Spotify client uses for playlists and such, so... there are bound to be issues up ahead.

Most of my issues stemmed from a lack of proper documentation.

One time I screwed up the packet format and was pulling my hair out when the only response I got was "Invalid username/password" from the Spotify API (or something along those lines. been a while).

The other times were more related to the Switch. Figuring out how networking and audio works, mostly. Hunting through the shit documentation and the source code of libnx to find out what I need to do. My audio implementation was either not playing anything or crashing for a long time in the beginning. I still have no clue what I did to solve it, which is unfortunate.

Re: Unofficial Spotify Client for the Nintendo Switch (PoC)

#28

Score one for gbatemp still being around. Don't think I've thought of them since loading ROM fan translations onto your Nintendo DSLite flash-cart was a thing.

Gbatemp once saved me when i bootlooped my friend's phone trying to root it. I needed a stock rom to flash but who the fuck hosts a stock rom for an off-brand android? Turns out some russians do, and a gbatemp user linked it at some point and google scraped it.

Re: Unofficial Spotify Client for the Nintendo Switch (PoC)

#29

Earlier quoted context omitted.

It's not, really – AFAIK the audio is just AES-encypted with a per-session key that you get when logging in (but it's been a long time since I looked). There are a bunch of open implementations, like https://github.com/librespot-org/librespot – I guess it's kind of an open secret that you could rip music if you really wanted to, and you certainly used to be able to do that with libspotify when it was still around. I…

Does Spotify watermark their streams?

They would be silly not to!
Post reply on HN