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 13, 2020 8:41 PM in response to MacMarwil

Hey MacMarvil,


I only „doubled“ it once.


I try to explain it again in other words, to avoid any misunderstandings.


•my Old itunes Library was stored on an external HDD, since it was too big to be stored in the „Macintosh HD/User/USERNAME/Musik“ Folder (Original Standard Path).


• I came from High Sierra installed an SSD with more space and I installed Catalina from Scratch.


• I wanted to end up with my music in the „original“ music Folder and get rid of the external hdd solution,


1) I first deleted the original music folder that catalina/music.app created

(Macintosh HD/user/USERNAME/Musik/music and emptied the Trashbin.


So there shouldn’t be any Files at all in the Musik Folder.



2.) I then moved the complete ITunes folder from the external HDD to the Musik Folder

(Macintosh HD/user/USERNAME/Music)


the result from step 1.) and 2.) should look like this:





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

When you deleted the ~/Music/Music folder did you also empty the trash? If not Music may still know to look for the previous file where it is currently living in the trash, and it may also "remember" upgrading the old iTunes library so it doesn't try to do it again. I can't seem to make that happen here but offhand it is the only thing I can think of.


tt2

Dec 25, 2019 4:12 PM in response to Orestes Chouchoulas

Hi,

i tested Catalina on my test Mac Book Pro and have the same issue, my Library dont migrate to the new music app.. Only purchased sources i will see.. The old Library not migrated to the new Music App. With my iTunes (antoher Mac) will running my library without any errors.


I take the same solution (Import Playlost from XML File..)


I Think Apple not interested any solution for this issue.. My used Running IMAC still standing on older OSX 1.14. for al long time,propably...



...




Feb 13, 2020 9:35 PM in response to MacMarwil

So now - in the last step we melt the Libraries -


take the „iTunes Media“ Folder within the iTunes Folder and drop it in the sidebar of the itunes GUI 🙂.


it now takes a while (and your music Files will be doubled...)


I probably do not need to mention that a Backup is a wise decision in this case 😀


after the copy process is finished, check in music.app, if all your files are referring to the right folder. Right click on a song, then preferences and then the right tab that says „file“ or similar (the new music path is needed, not the old itunes one 🙂


If everything is right, you can now be brave say goodbye to your beloved good ol’ iTunes library and delete the whole Folder... 😀

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 25, 2020 8:10 AM in response to turingtest2

turingtest2 wrote:

For Catalina your media folder should really be ~/Music/MusicMedia, which is one level higher than shown in your last image. You could potentially tap that reset button, then turn Keep organized off and back on again to restructure the folder.

tt2

That's where I put the files following the process above – it was a conscious decision. It is okay to put it one level higher like you say. But I guess in this case you'll have to put the "iTunes Library.itl" one level higher as well before you run Music with the option key.


I did attach one screenshot wrong though (I can't edit my post any longer). This is what the content of my original "iTunes" folder was:

Oct 16, 2019 2:09 PM in response to reb_tribal

4) Odd. They should have been imported unless Music > Preferences > Files has the copy files option turned off.

5) Normally you'd want your entire iCloud Music Library available unless you were testing things. In such a case you'd be better connecting to the original library rather than importing media into a new one, which requires everything to be reconciled with what is already in the cloud.


tt2

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!



Jan 9, 2020 2:51 AM in response to Orestes Chouchoulas

Yes, my library did the same. One thing I did notice was by leaving Apple Music/iTunes open overnight it did sync quite a bit of music. But my main problem arose from having my music in an external hard drive.

I do recommend looking at the activity window in "Music" as it does seem to keep you informed of what it's doing behind the scenes.


I do wish you luck on your music library recovery/rediscovery!

`Oldfiz

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“





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.