Repairing my Music library after Apple Music Library Sync destroyed the metadata

Today I finally finished repairing my Music (iTunes) library after it got mangled when I signed up for Apple Music (the service) a few months ago.

Apple Music has its benefits, but apparently signing up automatically activated the library sync feature, which started overwriting my local metadata with data from the cloud. I caught it before it got all the way through and figured out how to turn it off, but a large chunk of my music library lost a lot of the edits I’d made over the years. From song titles to artist names to custom artwork, covering tracks that I’d purchased from the iTunes Music Store, purchased from Bandcamp, ripped from my own CDs, or even imported from my vinyl collection. Titles and names were changes, artwork was either replaced or removed…probably somewhere between a third and a half of my 37,416 item, 285 GB music library was affected.

The only reason I was even able to repair it all was that, well, Music (and iTunes before it) has been historically tweaky for long enough that I’ve gotten into the habit of making a manual backup of my music library every so often, separate from the Time Machine backup that’s done automatically, just because I don’t trust Music not to screw something up at some point.

I also discovered that Music reads metadata from two places: the metadata embedded in the individual files, and in the “Music Library” file stored within the /user/Music/ folder. Much of the bad data that was being displayed in Music was actually being read from the “Music Library” file; apparently that was where the data from the cloud had been written. When I opened the info window on a track to fix it, Music would then read the embedded metadata from the actual track file, and the data (some of it, at least) would switch back to the correct information.

Of course, manually going through and loading every one of my 37,416 tracks wasn’t at all realistic — but the Refresh a track from its file’s metadata script from Doug’s Applescrpts allowed me to select a chunk (I was able to do as many as 600 tracks at at time without it timing out) and let the script repair the metadata in the background. There were still some final corrections that needed to be made (this trick didn’t fix the artwork that got lost or replaced, and many of the “Album Artist” fields still needed to be corrected manually), but those were easier to do once the script handled the bulk of the work.

So, a few months after signing up for Apple Music, I finally have my local library back to a useable state.

Hey, Apple? Local data should NEVER be replaced by cloud data without warning, without explanation, and without active affirmative confirmation by the user. That was years of work I could have lost, and months of work repairing it. Get this bit of your system fixed, please. This sucked.

Also, trying to write a post about my music, the application Music, the service Apple Music, and Apple the company, and make it all coherent, is not an easy thing to do. I get that iTunes was a bloated beast and needed to be split up — though, really, Music isn’t that much better, is still missing a lot of features (like a usable in-app search feature) — but did it have to be renamed so generically?

This Means Nothing

Pet peeve: The little fake level meter animation that Music shows when a track is playing drives me up the wall. It’s just a looped animation that bears no relation to what’s actually playing. Give me real data or a static icon, but this is useless.

Five-second clip of Apple's Music app UI.

It’s Got a Great Beat, and You Can File a Lawsuit to It: “Originality is a con: Pop music history is the history of near overlap. Ideas rarely emerge in complete isolation. In studios around the world, performers, producers and songwriters are all trying to innovate just one step beyond where music currently is, working from the same component parts. It shouldn’t be a surprise when some of what they come up with sounds similar — and also like what came before.”

Clubbing: ‘I can’t bear the idea that there is an age at which you should stop’: I’m 46, and while I don’t get out as often as in my 20s (can’t do 3-4 nights out a week anymore), I have no intention of stopping. It’s too much a part of who I am and what I need. “Typically, clubbing loses its appeal in our early 30s; 31 is the age at which most give up, according to a 2017 survey. But for those who do keep dancing, it can be much more than just a night out. What starts as an act of teenage transgression becomes radical in middle age.”

An Old Music Meme Revisited

For no particular reason (and certainly no good reason), resurrecting a silly little meme from a few years ago

Some silly pointless statistics on my iTunes music library:

Linkdump for January 11th through January 23rd

Sometime between January 11th and January 23rd, I thought this stuff was interesting. You might think so too!

Linkdump for November 14th through November 29th

Sometime between November 14th and November 29th, I thought this stuff was interesting. You might think so too!

Linkdump for July 16th through July 30th

Sometime between July 16th and July 30th, I thought this stuff was interesting. You might think so too!

Baby, It’s Cold Outside

We’re once again in the holiday season, which means it’s time for everyone’s favorite winter song debate: Is Baby, It’s Cold Outside acceptable or not?

Personally, while I certainly understand why lots of people today find it objectionable (and are even rewriting the lyrics), particularly due to the “hey, what’s in that drink?” line, I think it’s important to look at the original context of the song:

I’ve heard the take on “Baby” as “rapey” a couple of times over the years and the concern about the song usually centers in on one line: “Say, what’s in this drink,” which many contemporary listeners assume is a reference to a date rape drug. But narrowing in on this particular line divorces it from its own internal context, and having only passing familiarity with the song divorces it from its cultural context.

The structure of “Baby” is a back and forth conversation between the male and female singers. Every line the woman utters is answered by him, until they come together at the end of the song. When we just look at “Say, what’s in this drink,” we ignore the lines that proceed and follow this, which are what indicates to the listener how we’re supposed to read the context.

Personally, I’m a fan of the song. And thanks to that Wikipedia article I linked up above, it turns out that though written in 1944, it was broadly popularized in the 1949 film Neptune’s Daughter (which I’ve never seen), in which it’s performed twice: once by Ricardo Montalbán (Khan!) and Esther Williams, which in staging, I have to admit, seems to hew fairly close to today’s interpretation of the song, with Montalbán coming across as predatory; then again by Red Skelton and Betty Garrett, in which the roles are reversed as Garrett tries to keep Skelton from leaving.

\[embed\]https://www.youtube.com/watch?v=7MFJ7ie_yGU[/embed]

If you’re not a fan, I totally understand — but for me, it will remain a staple of my winter playlists.