social.coop is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Fediverse instance for people interested in cooperative and collective projects. If you are interested in joining our community, please apply at https://join.social.coop/registration-form.html.

Administered by:

Server stats:

490
active users

jonny

Does anyone have any links for reverse engineering Spotify DRM? I didn't necessarily need it for myself, have plenty of music, and it would be a pretty inefficient means of piracy vs. BitTorrent or like yt-dlp, but I'm curious how it works.

It always seems to me like the analog gap is particularly gaping with audio, and I wonder how far down to the metal it's protected.

@piracy

Hi there! The links in your response are not clickable for Lemmy users, here are the clickable versions: !piracy@lemmy.dbzer0.com

Hi there! The links in your response are not clickable for Lemmy users, here are the clickable versions: !piracy@lemmy.dbzer0.com

@edsu
it seems like it just uses the API???? idk readme says they have moved on to another project that I can't find the sources for, the gitlab just has the APKs. but if it's just as simple as using the API I would be freaking stunned there wasn't more widespread abuse of it.
@piracy

Hi there! The links in your response are not clickable for Lemmy users, here are the clickable versions: !piracy@lemmy.dbzer0.com

@jonny hmm yeah it looks like the author has moved on to work on Soundbound?

Watching the video on their Telegram it looks like you enable a repository in the app which then downloads an APK from a URL in gitlab.com/shabinder/soundboun

I haven't unzipped it to see what's inside but I'm assuming they are binaries (compiled Kotlin). I don't see the source on github or gitlab but maybe they are there's a thread to pull on?

This approach reminds me a bit of Calibre and DRMd ebooks...

GitLabExperimental-Sources/0.3 · main · Shabinder Singh / Soundbound Sources · GitLabUnofficial Exp. Sources for Soundbound Application, Pls see disclaimer. Songs and Music Downloader, Spotify Downloader, Youtube Downloader, Soundcloud Downloader, JioSaavn Downloader, Gaana Downloader.

@jonny also, does the Spotify API support getting the actual audio? I thought it was metadata only?

I have no clue how to defeat the DRM/rip the songs. But you can just route the audio to a recording program and record it live.

Not ideal but it’s a workaround if you really need to download something off of Spoti.

It seems apps like SpotiFlyer and Spotube both use the Spotify discovery API but actually get the music from YT Music (which is already easy to download using yt-dlp, NewPipe, or another app of your choice). Kinda sad that I can’t find a way to pirate music off of Spotify yet, but YT Music is pretty good for my purposes.

GitHubGitHub - Shabinder/SpotiFlyer: Kotlin Multiplatform Music Downloader, Supports Spotify / Gaana / Youtube Music / Jio Saavn / SoundCloud.Kotlin Multiplatform Music Downloader, Supports Spotify / Gaana / Youtube Music / Jio Saavn / SoundCloud. - GitHub - Shabinder/SpotiFlyer: Kotlin Multiplatform Music Downloader, Supports Spotify ...

There was actually a project on github that claimed to allow downloading of Spotify straight from the source with drm bypassing called XSpotify but it was taken down by spotify before i got to try it: github.com/meik97/XSpotify

However it was archived on the wayback machine: web.archive.org/web/20200303145624/…/XSpotify

Obviously take this with a grain of salt, you should probably read the source code before attempting to run it

May I ask their discord or telegram? Maybe they have hosted it as a torrent

Spotify, like most legit streaming services, use Google Widevine DRM, and you don’t reverse engineer it. At least not for the level that is required for this kind of content (L3). When you stream something in browser or device, the decryption module of that device is “talking” to the license server. If the identification goes through, the decryption keys are sent and the media gets played. So what you do is you extract that decryption module from a device, and then use scripts to send requests acting as that device, tricking the license server into sending you the decryption keys.

Once set up, and with the proper script, it can actually be even more efficient than other forms of piracy.

Buy a cheap Xiaomi phone for like 50 bucks from your local semi-sketch phone repair shop and use this: dumper. I had an Android I bought to try modding it and then I found Dumper and it worked well.

GitHubGitHub - glomatico/dumper: Dump L3 CDM from any Android deviceDump L3 CDM from any Android device. Contribute to glomatico/dumper development by creating an account on GitHub.

I have found other services like Tidal aren’t as advanced with their DRM it seems, I’m able to download using some command line CLI off github full FLACs and everything.

Zotify can download music directly from Spotify. You can bulk download or search individual songs, playlists, artists etc to download.

You need to have an account and a having premium allows you to get full quality downloads.

Zotify GitZotify GitForgejo is a self-hosted lightweight software forge. Easy to install and low maintenance, it just does the job.

@InAmberClad
no shit, how did I miss this. thanks

@jonny @InAmberClad nice find, it looks it uses a forked version of librespot with some new bits added for getting content?

What does it mean in terms of ethics when a song is not on Spotify and is not considered a song (is just a generic video) through YouTube Music? It seems to happen a lot to video game OSTs, especially Touhou music.

lemmy.blahaj.zoneMountain of Faith medley (コケ) - Blåhaj Lemmy