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

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:





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

4.) After that, I held the ALT Button on the Keyboard and clicked on the Music app.


this leads to a window where you can pick a Library. sorry, no screenshots, as I am on the road, but I am sure we all know that window 🙂


5.) Pick the File you just renamed (Music Library) in the iTunes Folder and confirm. *


music.app will suggest to save a new Library called „music“. Just save this new Library and it should look like this:



You should now have all your music in your Library and all songs be playing in the app.


So what happened here is, that music.app actually changed the file paths of your music files. If you go to preferences of a song and click the file tab, it should direct exactly to the itunes Folder.


6.) make sure, that your music „home“ directory in music.app preferences is set right (your music Folder)...



now you should have the 90% solution. Everything is working and all songs are playing in the frontend, but in the backend there are still two libraries....


the itunes one from the past, and the music one from now on. So if you add a n ew Album or File (see the highlighted File in the screenshot from above „- - - - . .“ (or so...🙂) it is actually an album that was added after all those steps, and it proves that new library additions will go to the new library...






*Don‘t ask me why, but if you pick the itunes Library.itl the folder paths won‘t be adapted and you‘ll be left with dead links to your music path





Oct 25, 2020 6:46 AM in response to Orestes Chouchoulas

It seems to have worked quite smoothly for me; I did it a couple of times because I wanted the "Media" folder to have a more accurate structure. Here's what I did.


First, I matched the OS and Music versions on both Macs: they were 10.15.7 for Catalina and 1.0.6.10 for Music. Then, I copied the "iTunes" folder to an external disk.


When upgrading to Music, it creates a new "Music" folder aside your original "iTunes" folder – in the "Music" directory. In this folder, it creates a new "Music Library" file, which you can ignore as you won't need it for the transfer.


Here's the initial look of the Music app before the procedure:

Also, I checked what the default path to the media was (as I will mention later, I did not alter it manually):

And here's what the "Media" folder initially contains:

My original iTunes folder on the external disk contains far more stuff:

I suspected that most of that was legacy, so I copied just two items: the "iTunes Media" folder and "iTunes Library.itl". I specifically moved them to the "Media" folder on the new Mac, because that's where I wanted the files to be:

The key to the whole thing – as I think I've found out to be – it is to delete the "Music Library" file before the next step (with extensions on it's "Music Library.musiclibrary") .


Next, as already described in this thread, I ran Music holding down the option key and hit "Choose Library...". I selected "iTunes Library.itl" from the "Media" folder.


Pay attention to the next step if you don't want to end up with extra folders, since this dialog doesn't feel to be working right:

Make sure you select "Music" with your cursor and type in "Media" under "Save As" – this is the way to work around this thing if you want the new library file to be saved to the root of the "Media" folder. It prompts you to overwrite "Media" as it already exists – agree to that.


If you choose to type in anything else, it will create a folder with the requested name and write the "Music Library" there – I didn't want that.


If you don't delete the original "Music Library" file – as I mentioned above, – the whole thing will not work (I assume this is what happened to the creator of this thread). It seems that the overwrite prompt is triggered by the name of the folder ("Media" in my case) and thus it doesn't get your permission to overwrite the "Music Library" file – hence the original library file remains.


Finally, I checked the path in "Preferences" once again:

I did not change this manually.

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

Oct 16, 2019 1:28 PM in response to turingtest2

I also have a very similar issue...

1) Backed up iTunes folder to external drive

2) Wiped HD and installed Catalina from USB

3) Opened Music app and used import option to import all files from back up

4) Files no exist in Music/Media/Music folder

5) Turned off Sync Library option as I do not want to sync c. 200GB of music

Result is that my library just shows a few purchase from iTunes and not my library which h I can actually see on disc.


6) If I then also try to create a playlist and add a track it seems t try and re-download it to my Music library. I'm not sure why this has got so much more complex.

Oct 16, 2019 1:44 PM in response to reb_tribal

Regarding 4) is Copy files... enabled under Music > Preferences > Files?

Regarding 5) do you have a subscription to either Apple Music or iTunes Match?


You could potentially access the old library by holding down option as you launch Music, clicking Choose Library... and browsing to the iTunes Library.itl file in your old iTunes folder on the external drive.


tt2

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 19, 2019 7:14 AM in response to turingtest2

Hi tt2, neither of these helped I'm afraid. No issue with permissions, and the same behaviour persists with previous iTunes libraries.


So I downgraded a spare MacBook to Mojave, copied my iTunes Library over, and opened iTunes. Everything worked fine, artwork, playlists, tracks were all present. I consolidated and organised that library on Mojave, just in case. Then I upgraded the MacBook to Catalina without reformatting. I launched the Music app, and no music was present. I quit and option-launched the Music app, navigated to the .itl, and again, no music was brought in, exactly the same behaviour as before.


There must be a significant bug that prevents Music from seeing/upgrading some iTunes libraries at all.

Oct 24, 2019 8:50 AM in response to chocojun

I submitted a bud report for this issue, linking to this discussion. Not sure how many people have a similar issue, but I suspect it would help to chime in on this thread if you are experiencing something similar and show that you are affected by the bug. From my testing, it looks like the fact that it was a clean installation did not matter.

Nov 24, 2019 2:10 PM in response to Orestes Chouchoulas

Thank you for your thread so far, it has been very useful trying to help me migrate into the Music app. Unfortunately I'm still a little stuck so hope you guys can help. I can get all my old playlists but it will not drag the music files themselves along and says it can't find them.


I have an old iTunes library folder structure from a windows PC from late 2017. (Ever since then I've been using Spotify and haven't really touched my iTunes as I haven't had a personal laptop.) I recently got a an old Mac from a family member so thought id import my old iTunes library into it but stupidly updated to Catalina before doing so.


I currently have a subfolder on my SD card which has a few files including:

SD Card/iTunes/iTunes Library.xml

SD Card/iTunes/iTunes Media/(hundreds of artists)


Even from a clean Music app (including bin emptied) if I point the directory at 'iTunes Media' and then import playlists it won't drag across the music but will take a load of empty playlists with an error message saying can't find songs.


Would you mind telling me your subfolder names, maybe its a simple misnaming?


Thank you,


Nov 24, 2019 3:08 PM in response to MattB89

After a few more hours trying it turned out it was as simple as moving the entire media library into the new folder called 'Automatically Add to Music' on the main Mac Drive rather than my SD card.

Doing this alongside importing the playlists as previously solved by Orestes sorted my entire mess out.


Located: Users/(name)/Music/Music/Media/Automatically Add to Music


I thought rather than delete my comment though I'd leave it up here incase anyone gets halfway through like I did and needs that last little bit of info to get over the line.

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.