You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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 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
Question marked as Top-ranking reply

Nov 13, 2019 1:31 AM in response to Orestes Chouchoulas

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

Jan 8, 2020 10:53 AM in response to Orestes Chouchoulas

Had the same problem, but finally resolved with Apple Tech Support.    The key was in how you open the MUSIC app.    Hold down the OPTION key while opening the MUSIC app.    You will see a dialog box.   Pick the option "Choose Library".     Now, navigate to your ITL file (not XML) for the old iTunes database you want to import and double click it.  The MUSIC app will then ask you to Save this as a new Music Library.  Give it a different name than your other library(s).    Pick a location etc.    Once that is done, you still have one final step - to change the default directory of your actual music files.  Go to MUSIC preferences, select Files directory, and change it to where your actual audio files are.    MUSIC app will then ask you to organize, click YES.   This took 2 hours to do on my iTunes database (153,263 songs, library size 8.4 TB).   I was originally on Sierra 10.12.6 using iTunes 12.8.2.3.

Oct 30, 2019 6:19 PM in response to Orestes Chouchoulas

Yes Yes! Finally I found someone with the same issue as me.. (Probably same as you) I have been using für 10+ years now and have put a lot of effort into organizing my music library which I cannot access anymore. This is heavily disappointing and I hope that Apple will deliver a solution soon!


Thanks for starting this thread, will definitely watch closely!



Oct 15, 2019 8:58 AM in response to Orestes Chouchoulas

iTunes Music is the old name for iTunes Media, suggesting your library might originate from iTunes 8 or earlier. Ideally at some point along the way you would have simply renamed the folder and iTunes would have worked it all out, leaving your library in better shape for the next migration/upgrade. It is possible that the Music import routine assumes that the media folder should be iTunes Media, and simply ignores everything it cannot find. Mobile Applications in the library folder also points to an older layout which again, I guess, could potentially cause problems. See Make a split library portable - Apple Community for some background. If nothing else works you might need to get access to an computer running Mojave so you can rearrange the library into the standard shape before bringing it over to Catalina.


tt2

Oct 18, 2019 1:51 PM in response to Orestes Chouchoulas

See Repair security permissions for iTunes for Mac - Apple Community to make sure Music is allowed to read the file.


Otherwise see Empty/corrupt iTunes/Music library after upgrade/crash - Apple Community to try repairing the library with a copy from the Previous iTunes Libraries folder. I'd suggest copying, pasting, and renaming as if you were going to open iTunes with rather than simply accessing the file in the Previous iTunes Libraries folder.


tt2

Oct 30, 2019 11:35 AM in response to chocojun

Just as an update, I just installed 10.15.1, which, according to the release notes (see What's new in the updates for macOS Catalina - Apple Support), “improves reliability of migrating iTunes library databases into the Music, Podcasts, and TV apps”. Unfortunately this has no effect on my library. The previously described behaviour persists, the library cannot be imported.

Nov 26, 2019 7:36 AM in response to Peter Almere

You can import all of the media files that you have, that isn't a problem. Importing the playlists won't work if the tracks aren't where the playlists record them as being. This isn't anything unique to Music, iTunes, or any other software. When you move content from one computer to another, and there are any kind of internal references, then you need to make sure that you're being sympathetic to the way the software works. For iTunes libraries this is discussed in detail in Make a split library portable - Apple Community. Music may be able to import the .itl database of a portable iTunes Library when it has been moved, although I don't think I've tested that scenario as yet. The XML file import would definitely fail however.


tt2

Feb 10, 2020 6:30 AM in response to Orestes Chouchoulas

Hey Guys,


since I've spent the whole day with "try - not working - retry", I thought I'd would be helpful for others to share my iTunes import Story...


I came from a 2014 Macbook (120GB SSD) using High Sierra and iTunes and moved over to a 2015 Macbook (1TB SSD) using Catalina with a fresh and clean Install (USB Stick method).


Since my iTunes library was too big to be stored within a 120GB SSD, the complete Library Folder "iTunes" was saved on an External HDD and accessed by the widely known alt + Icon Click.


When I today copied the Library from the HDD to the new SSD and did the Same Alt + Icon Click Method using the new Music App that is widely suggested, the Songs wouldn't play (! sign in Music App), since the original Path of the Song wasn't the same (compared to the HHD), although, all playlists and everything were there and seemed to be fine.


I found an easy workaround on a MacRumors topic called "Catalina 10.15 Music no importing my old iTunes songs" which seems quite odd, but obviously worked for me an might be helpful to others...


  1. Copy your old iTunes Folder into your music Folder (/username/Musik/...)
  2. Create a copy of your old "iTunes Library.itl" file within the iTunes Folder and rename it to "Music Library" (also remove .itl file extension)
  3. Start Music with the Alt-Click and choose the just created File from Step 2.
  4. A new Window will suggest to create a new Library i.e. "music". Confirm the message/create the new Library...
  5. The App will take some time and your music should be inside it, including Playlists and everything....


The last Issue I haven't solved yet, is the fact, that new Additions to the collection will be copied to the new music Folder.

I would love to mold these Folders into one, but unfortunately Changing The Path in the Music App Setup won't do anything to the

old Files.


So the new "music" Folder only contains the new Library File and all Files added from today and after, whereas all the old files are still stored and played from the iTunes Folder...


Any Help would be greatly appreciated.








Feb 14, 2020 12:51 AM in response to MacMarwil

1) you‘re absolutely right, they are on the same level.


my hierachy is:


Macintosh HD/Benutzer/USERNAME/Musik*


and as you stated right, there are two underlying subfolders in that „Musik“ Folder:


  • itunes
  • music


So when I wrote „...i moved it into the „Musik“ Folder I meant the Root Folder- long story short, they are on the same level 🙂


(I assume the itunes folder could also be stored somewhere else, As long as it is not changed during the whole moving process. But let‘s not complicate things even more 😂).


2) you got what i meant, but sure enough it could be explained better with different words and through being a native english speaker 🙂



The idea is indeed weird. I did something similar long ago back in itunes and saw the same behavior...


you can - to test things - also try it with only one album you pick out of your itunes media folder and drop it on the music.app mediathek GUI (?) then check if the path to the file has changed - cause it should have...


also make sure u back up your library as a first step.

For example: I actually copied my library from the external hdd to the „user/USERNAME/Musik“ Folder (Root🙂) on the computer and left the original as a backup on the external hdd... so to refer back to your initial question - yes doubled the library twice 😃




A guy on macrumors also posted another solution i misinterpreted, which led me to the question, what would happen if i would...


https://forums.macrumors.com/threads/catalina-10-15-music-no-importing-my-old-itunes-songs.2184506


I don‘t know if it is allowed to post links here, but ok 🙂




*it probably varies, depending on system language it might be „music“





Mar 14, 2020 10:04 AM in response to Orestes Chouchoulas

Hi all, after a bit of struggle (same issue, only importing purchases and Apple Music files), this is how it finally worked.



OLD SETUP

My trusted 2010 Mac Pro 5,1 running High Sierra with a "System" SSD boot partition and a "Data" internal HDD RAID array, where the iTunes Library is residing in a Data/Music/iTunes Library folder (the database itl. file is there and the actual music is residing in the subfolders).  This includes ~250Gigs of CD's ripped to Apple lossless.


NEW SETUP

A new Mac Mini running Catalina

An External LaCie


The intention was to move the library along with playlists and obviously the many lossless files to the Mac mini with the new library permanently residing on the external LaCie.


So I copied the entire Music/iTunes Library from the Mac Pro to the external LaCie (took a while over USB 3.0!) resulting in LaCie/Music/iTunes Library... structure


WHAT DIDN'T WORK


  1. Using the Migration Assistant.   I wanted a clean setup, created a new user on the new Mac, but the Assistant also recreated a "new old" user on the new system and suspiciously quickly copied over something.  I ended up with a new Music Library under a different user that contained neither my playlists nor the original rips, only purchased and Apple Music stuff.  No good
  2. Option-clicking the Catalina Music app and selecting the old .itl file - the same thing without even the playlists.
  3. Trying Import Playlist... from the Mac mini - nothing


So I thought if in the old setup the actual iTunes Library.itl was residing on a non-system volume (Data/Music/iTunes Library) along with all the ripped albums, how the heck the new Music app is going to tell the difference if I make the path to the library database file exactly the same?


I then changed the name of the external drive from the default "LaCie" to "Data", Option-selected the Music App on the Mac mini, pointed to the old iTunes Library.itl database  and voilà! - all of my files and playlists are here.


I hope the above makes sense. In any case, the solution seems to be to move your library and the location of the database to an external volume and do the same so you skip the extra steps here because of my unnecessarily complex scenario (moving the library from the internal hard drive an old computer running High Sierra to the external drive on the new one running Catalina)


Спасибо!

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

Keeping track:


after deleting everything in the Music folders, and rebooting, I actually got (partially) what I was hoping for! My library seemed to just... appear! None of the music files are present, but they're mostly available to download from the Cloud, thanks to iTunes Match.


Copying the files I have in the correct location, does NOT equal to downloading the file. In fact, if I place the music file in the correct folder where Music expects to find it, the track still shows as downloadable, and if I do that, it creates a file right next to the one I placed myself, with a " 1" suffixed to the name. No good.


But I could live with not having all my physical files, if:

  • I could totally trust the matching algorithm (I can't, I've caught it before)
  • the song count were exactly the same


After rebooting to the OLD disk, I discover it's short about 150 songs, which is about 2% of my songs. No good.


So I export my song library. I get an xml file. All the file locations are formatted with the old file structure, iTunes Media etc etc.. I don't think I want that. I reboot to the NEW disk. I export the library again, to compare the two files. I cut all the info from the OLD library file except for one song, which happens to have not been matched, nor uploaded, but still showed up from my Cloud library (kudos!).


Importing that one-song library does nothing. Apparently. Let's try a reboot.

Oct 18, 2019 1:21 PM in response to turingtest2

Ok, noticed a new behaviour. If I delete all the new "Music" libraries and launch the music app, it pops up this dialogue box:


When I select "Choose Library..." and point it at my "iTunes Library.itl" file, it doesn't like it and pops up the same dialogue box again. If instead I select "Create Library..." it launches and shows just my iTunes purchases, none of my ripped tracks. So the behaviour we are observing is not "half importing" or anything like that. It's actually not importing anything at all, as if the .itl file were not at all parseable.


If that doesn't give anyone any more ideas, I'll downgrade a second Mac to Mojave, install my iTunes library, and then upgrade to Catalina without reformatting. Let's see if that does anything.

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.