Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

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 Best 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

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!

Jun 6, 2020 2:15 AM in response to gregor59

I've also tried keeping my external drive with all of my music files plugged into the Mac Mini 2018 and accessing the music through a network Shared Library. This works pretty well, but I still have no artwork and I can't rate the songs when playing a network shared library, which is what I really want to do, rate and organize.

Jul 6, 2020 12:55 PM in response to Snowdog212

The solution posted above by Snowdog212 is the correct solution and better than the one marked as the solution in this thread. For anyone in the future who experiences this problem, you may encounter an error when trying to open the "iTunes Library.itl" file. If it says something about connected devices, turn off home sharing and media sharing in system preferences, then reboot your computer. After that, the directions posted by Snowdog212 solved the problem.

Aug 18, 2020 5:42 AM in response to Orestes Chouchoulas

Here is what I did, and it required some manual intervention. I have my iTune Library on it's own "iTunes Drive." Apple Music went ahead and created its Folders, and I halted the process early. Then I manually shifted all of my iTunes Artist / Compilation folders into the folder iTunes--the one normally found in HD/USER]/Music. I did not organize all of the files that directly, and many were bootlegs. Amazingly, I then told the new Music app to import simply the iTunes Folder on the iTunes Drive. Boy did that work. After about 1/2 hour, all the files were converted, they were better organized than I had them, and I am good to go! It was that simple. I lost absolutely nothing, and absolutely nothing was left out other than select Playlists that I created, which of course were made up of existing tunes. Essentially I could easily remake them.


To recap:


Place all of your music Folders, generally arranged by musician if not Compilations, into one Folder. Then have the new Music app Import that one Folder. And you are done. No XML files, no itl files, just raw data. Most of my music is ALAC or FLAC, and it worked flawlessly -- and the best part is that I had a TON of loose Beatles music and the new App even knew how to organize it -- i.e. by what album. It was that simple.

Oct 2, 2020 4:43 PM in response to MattB89

Music could not find songs? -> Replace path in .xlm


I've read your post fast so I hope I'm not off-topic: in my case the account username (~/) was not the same, and thus the song paths in the .xml were different.


I just cmd+f the .xml (open in Textedit) and replaced all "//myusername/" occurrences with "//my.user.name" (in my case the new account username had dots compared to my previous one).


Note: it helps to place the whole iTunes Music folder beside the Music one so that you don't have to type all path, just the account username :). In case you do need to change the whole path, you can drag'n'drop your iTunes Music folder in Terminal to get the path.


Hope this helps others.


Cheers

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!

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 ID.