Import iTunes library into clean installation of Catalina

Hullo all, hope you can help:


  • I backed up my iTunes library (the entire "iTunes" folder—contains about 95GB of music ripped from my CDs) on an external hard disk.
  • I installed Catalina on a newly reformatted hard disk on my iMac.
  • I copied the backed up iTunes library into ~/Music (Home folder → Music).
  • I launched the Music app. It showed my handful of iTunes purchases, but not my playlists nor the music I had ripped from CDs. 🤔


Clearly, my iTunes library was not upgraded at that point. The Music app was just seeing the music associated with my iCloud account. Second try:


  • I quit and I deleted the new "Music" folder that was created (~/Music/Music).
  • I launched the Music app holding down option. It asked me the choose a music Library and pointed it to the "iTunes Library.itl" file (~/Music/iTunes/iTunes Library.itl).
  • The Music app launched. Again, only my iTunes purchases appeared, no playlists. 😢


Any idea how I can get the Music app to upgrade and see my older iTunes music library? There are plenty of playlists, ratings, play counts, album artwork from rare CDs that I scanned myself, even some digitised vinyl. This process has worked with previous OS updates, so I would expect my backed up iTunes library should somehow be able to be imported.


Any thoughts?

iMac Line (2012 and Later)

Posted on Oct 14, 2019 1:29 PM

Reply
Question marked as Top-ranking reply

Posted on Nov 13, 2019 1:31 AM

For anyone who still has this issue, I have a partial solution.


In the Music app, go to File → Library → Import Playlist… then navigate to your old iTunes folder and select the iTunes Music Library.xml file. Music will take a while (maybe half an hour, maybe one hour for my library of about 15,000 tracks—I went for lunch), but it will import all your music and playlists, including smart playlists. At least it did in my case after every other method had failed. Ratings and most other metadata was imported as well.


⚠️ Be careful—this is not a perfect solution:

  • It changes the “date added” information for every track to the time when you do the import. This may have implications to you if you are using that date to make smart playlists.
  • In my case it lost some of the artwork. From what I can tell, all of the artwork that I had scanned and pasted myself is present. My guess is that the lost artwork came from the iTunes Store by me selecting “get album artwork” in the past.
  • This method will also import any podcasts as songs. You can sort your music by genre to easily select and delete all the podcasts. Then sort by duration and scan everything that has “continuous” as duration. This will include old radio channels and podcast subscriptions as far as I can tell. You may need to delete those as well. You should be able to redownload those from the Podcasts app.


Hopefully, this is helpful to someone. It's a good enough solution for me for the moment.


(@turingtest2 You may need to include some of this in one of your guides.)

Similar questions

93 replies

Feb 14, 2020 7:53 AM in response to MacMarwil

I could imagine that you could split the „doubling“ process, so for example, all artists from a to l and then after the process is done you delete and repeat with m to z...


alternatively you could convert your library to 128kbps... 😉


I couldn’t handle it mentally to sit next to it during the copy process, but I would guess it took about 2-3 hours from a usb3 hdd on to a 2015 macbook and a Adata XPG SX8200 SSD 🙏🙂


I think with rougly about double the size of your files it should take somewhere around 5-6 hours.


how many files does your library actually count? 🤔



Feb 15, 2020 5:00 AM in response to MacMarwil

Since I‘m not so sure if you received it the way I intended it, the 128kbps conversion was supposed to be a joke 🙂


Quote:“

Right. But why should I? The path is correct, it’s working.

I could manually move the iTunes Media folder into the Music folder (while the Musik app is closed) and reassign it after opening Musik. But I’m scared of confusing things and make a mess of a formerly running system …“


You could copy your achievements back to your adata ssd or another external medium, and move it the way you suggested it, but if you‘re pleased the way it is, them there is probably no need to change anything.


I am glad it worked out for you and can only wonder why my „readdition“ created a duplicated library, although I am totally fine with the results 🙂


Apr 4, 2020 1:37 PM in response to Orestes Chouchoulas

Thanks for documenting your process so well. I am going through the same headache.

I would have imagined that, since I actually pay for iTunes Match, the library would have just "appeared", like it does when you get a new iPhone and it syncs automatically. Obviously that's not the case.


Here's my twist on the problem: I added a PCIe SSD disk, onto which I installed a fresh Catalina. I left the other disk in, I'm copying all the parts I want to keep; that had Catalina as well. In its Music folder, there are both the iTunes library, and the Music library. The Music library copy did nothing at all. Trying to import it didn't work (error).


With your process, I tried not copying all the music files, but just one.

Music had identified my Purchases, so those were already present; I only copied ONE song, hoping to see the Ratings get copied. So I get a message saying "Some songs ween't imported cuz they couldn't be found" which makes sense.

I'm also getting all the Podcasts copied. All my playlists seem to be there. But no info for that song =-(

So I tried again. All the Podcasts are there again, my playlists are there twice!, but again no ratings for that song, or any of my Purchases for that matter.


Something's not working. Starting over. Deleted everything in the new Music. When I launch Music, everything is still there =O so it actually stores the info somewhere else. I'm going to have to try some things involving reboots.


Thanks for the help



Apr 6, 2020 1:12 PM in response to Smettila

Nothing. Weird.


So I try importing the entire OLD library. Now I get the Import bar. Perhaps I mixed up the formatting? No matter, when it ends, there are no additional files.


I notice another oddity. Between OLD Music and NEW Music, there's a difference of about 150 songs, for a total of 13 GB. That's too much memory. ...could these be all podcasts? No, because my old Music folder is 53.44 GB (it only includes the downloaded stuff), while Music thinks the library is only 50.05 GB.


I suppose I could copy all my files in the NEW correct locations, then import the files, and then handle the 7000+ dupes I'll end up with.


Not sure what else to try.

Jun 6, 2020 1:47 AM in response to earlevel

I've read through all of the responses and could have missed this (I apologize), but here's my situation:


iTunes Library (.itl and typical pre-Catalina file structure) created on Mac Mini 2018 in November 2018 on an external drive. Library and all files stored on external drive.


Mac Mini upgraded to Catalina in October 2019. New library is created in ~/Users/name/Music/Music/musiclibrary.musiclibrary (without my knowledge, just found this file after reading this thread). This holds 1.5 years worth of ratings and organizing my 1.28TB music library (mostly apple lossless files of CD Rips and albums downloaded from bandcamp and iTunes Store).


Get new 16" MacBook Pro in June 2020. Plug in external drive to new MBP and chaos ensues.


On new 16" MBP I've tried opening the .itl file (hold option, open Library from external drive), but this opens my iTunes library from just before upgrading to Catalina in October 2019. FYI, all of my iTunes purchased music from iTunes shows up in my Library as available to download.

Then, I find out about the new library file that my Mac Mini 2018 made and put that file on my external drive and transfered musiclibrary.musiclibrary to my new 16" MBP into the ~/Users/name/Music/Music/ folder. Upon opening it (option open Music), all of my ratings and playlists are syncing, with files in the correct location, but none of my artwork in showing up. If I Get Info on a single file, the artwork shows in the file properties, but no artwork shows when I play a song or view albums (like in Recently Added).


I'm fine with completely rebuilding my TV and Podcast Libraries, but I can't start over on Music. I've done it too many times and put in a lot of work rating songs and making playlists....but I also want my artwork to show up. Being able to just keep my music in a single folder on the external drive and my Library file either on the local drive or external drive, would be awesome.


I wrote this reply because most posts on this thread mentioned updating from a non-Catalina machine to a Catalina machine. My situation is a machine that converted itself to Catalina and then transferred to a machine that's known nothing besides Catalina.


Thank you for any responses!

Oct 17, 2020 9:45 AM in response to Snowdog212

Hey! This is amazing! Thank you. I’m stuck however. Could you please tell me what you mean by “where your actual audio files are”?


right now I have everything from my old library and it looks like my new downloaded stuff in the new folder. The only thing that is missing is newly created playlists.


thanks so much for your help and answer!! I was on the phone with Apple for a while, she couldn’t figure it out and then we were disconnected. So frustrating!

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Import iTunes library into clean installation of Catalina

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.