de-DRM

So, I've decided to put a Sonos system into the new house. For now, anyway - it will be many months before I have to actually buy any components. Maybe I'll find something else. Maybe not. Can't never tell.

From what I've read, Sonos can use your iTunes library. And since that lives on a NAS it will be available 24/7. So that's awesome. What it can't do is read songs that have been 'protected' by Apple's DRM stuff - it doesn't use your iTunes account, so it can't unlock any protected songs. It can only read the DRM-free songs.

Luckily, Apple stopped using DRM on music in 2009, so I only needed to worry about stuff purchased through iTunes before then.

iTunes can show you if a song is protected or not, and you can sort the songs using that as the criteria. Doing that showed 3,700 protected songs - out of 22000.

The easiest way to strip the DRM from a song is to burn it to an audio CD then import the song back into iTunes. But, 3,700 songs, average 4 minutes each is 14,800 minutes. That's 185 80 min CDRs to burn and rip. With a burner/reader that averages 10x, that's more than 24 hours of burner time. Drag.

But, Apple has this thing called "Match" which is a way to get your music library into Apple's 'cloud' so you can play it on any iOS device. It scans your library, figures out which songs you actually have and makes a downloadable version available for you, on any device you authorize. $24.99/year. So, sign up for Match, let it scan your library, identify the DRM'd songs and delete them from your library (not the actual files, just the entries in the library). Then, tell Match to download new copies of the songs you deleted and ... voila ! DRM-free songs ! Takes forever with a library of that size, and since it's iTunes there were many freezes, false-starts and failures before it actually worked. Sometimes iTunes is smart enough to do work in the background, and it can show you 'progress' messages. Sometimes it puts all the work on the same thread that's doing the UI, so it just freezes, and you can't tell if it's working or if it's dead unless you let it sit for an hour or so. But in the end, after a couple of days of fighting with it, it worked.

It worked for most of them. In some cases, the record company never released non-DRM versions so Apple can't provide them. In other cases, Match couldn't identify the song so it couldn't provide a non-DRM version. In other cases, Saturn's moons weren't aligned properly so random songs from an album couldn't be identified even though all the other songs on the album could. But, in the end, I was left with 460 songs that Match couldn't handle; and that's only ~23 CDs. So, I did the burn and rip thing for those, then deleted all the protected songs for real. And now, all my music is DRM free.

4 thoughts on “de-DRM

  1. Rob Caldecott

    Great post… But how about a premium Spotify subscription instead? ;-)

    I was never really into buying music from iTunes so pretty much all my music is ripped from the original CDs or was bought from Amazon as MP3s. I have uploaded all my music to both Google (20,000 song limit but free) AND Amazon (250,000 songs for £22.99 ac year). Amazon also did something incredibly cool a while back and gave you an MP3 copy of any CD you bought from them since 1999.

    So I have copies of my music on two different services, just in case. I’m pretty sure that Google Music is Sonos friendly too, which I may investigate myself at some point this year.

    I also subscribe to the Google Music streaming service but still buy any albums I really like from Amazon, then upload the MP3s to Google.

    I did use Spotify for a while but getting your own music to show up is a massive ball-ache. They still don’t have any Beatles for example. Google Music integrates my uploaded music with their own vast catalogue which is a killer feature.

    But if I ever go back to iOS, then I’ll definitely subscribe to iTunes Match.

    I stopped buying physical CDs years ago and they languish in boxes in my garage, just in case.

    1. cleek Post author

      But how about a premium Spotify subscription instead?

      i’m sure Mrs will do the streaming thing, once it’s more convenient. i’m not entirely sold on it. i like local copies.

      1. Rob Caldecott

        Well, they’d be your backups so would still have value I guess…

        One thing. Those DRM songs are in a lossy format right? So if you burn them to CD then rip them again using another lossy format then won’t you lose some quality? Like a digital version of copying a cassette and then copying the copy? Could you compare an original DRM one with the new copy and hear any differences? Just interested. Doubt my old ears could tell a 256 Kbps mp3 from a FLAC…

        1. cleek Post author

          then won’t you lose some quality?

          some, yeah.

          Could you compare an original DRM one with the new copy and hear any differences?

          yeah, i’ll try that.

          i’l be surprised if i can hear a difference.

Comments are closed.