Old iTunes folder to Catalina or Big Sur Music.app

FYI. I have tested how to best import an old iTunes folder to the Music.app on a cleanly installed Big Sur (Catalina was the same but I skipped it). My current "iTunes" folder in Mojave was created 2006 (15 GB folder containing 1800 songs).


With my setup the Music.app could successfully parse the old “iTunes Library.itl” and convert it to the new “Music Library.musiclibrary”.


In that process the Music.app wanted to create a new mainly empty “Music” folder. I want all stuff in the same folder so I manually organised the old iTunes folder to the new Music.app layout:


~/Music/Music/Music Library.musiclibrary

~/Music/Music/Media/Music/[imported and downloaded artists/albums]

~/Music/Music/Media/Automatically Add to Music/ <- created automatically

~/Music/Music/Media/Downloads-Music/ <- created after authorisation (Catalina)


Convert old iTunes folder to the new folder structure:


0. In the old macOS iTunes.app check the song count (View > Show Status Bar) so you can compare it in the new Music.app.


1. Copy the old "iTunes" folder to macOS 11.0 Big Sur ~/Music/ folder and rename it "Music".


2. Option-start macOS 11.0 Big Sur Music.app and choose the old ~/Music/Music/iTunes Library.itl as a library. Music.app prompts to create a new “Music 1” folder. Save it on the Desktop (or where ever because this folder is deleted at step #5).


3. Wait a while for the old library to load (check the song count via View > Show Status Bar).


4. Quit Music.app. Open “Music 1” folder created in step #2 and move "Music Library.musiclibrary" from it to the ~/Music/Music/ folder you renamed in step #1. Delete the temporary “Music 1” folder from the Desktop.


5. Inside ~/Music/Music/ folder create a new "Media" folder, rename the old "iTunes Music" folder to "Music" and move it to "Media" folder you just created.


6. Option-start macOS 11.0 Big Sur Music.app and choose the newly created and moved ~/Music/Music/Music Library.musiclibrary as a library.


7. Open Music.app > Preferences... > Files, click "Reset", "OK" and "Yes" to the alert "Would you like to move and rename the files in your new Media folder to match the "Keep Media folder organized" preference?".


8. Quit Music.app. Inside ~/Music/Music/Media/Music/ folder delete the "Automatically Add to iTunes" and "Automatically Add to Music" folders after verifying they are empty (a new "Automatically Add to Music" was created in step #7 in the upper folder).


9. Now you should have all imported songs available in the new Music.app with the new folder structure.


There are the following old iTunes files that AFAIK serve no purpose anymore and might be deleted. I am not yet sure whether the "Album Artwork" is still needed because the album art is still there even if it is trashed.


iTunes Library Extras.itdb

iTunes Library Genius.itdb

iTunes Library.itl

iTunes Library.xml

iTunes Music Library.xml

Posted on Dec 9, 2020 12:01 PM

Reply
Question marked as Top-ranking reply

Posted on Feb 17, 2021 7:14 AM

> Does this recreate exactly how iTunes looked? It's easy enough to get the content and folders from iTunes to Music


It just converts the old iTunes.app folder structure to the new Music.app default. I later fine-tuned the Music.app column view but have not checked how it differs from my old iTunes layout (I still have the old iTunes folder as a backup and plan to trash it after several months).

104 replies
Question marked as Top-ranking reply

Feb 17, 2021 7:14 AM in response to zerobeat

> Does this recreate exactly how iTunes looked? It's easy enough to get the content and folders from iTunes to Music


It just converts the old iTunes.app folder structure to the new Music.app default. I later fine-tuned the Music.app column view but have not checked how it differs from my old iTunes layout (I still have the old iTunes folder as a backup and plan to trash it after several months).

Feb 28, 2021 8:22 AM in response to macboer

Happy to hear that.


I further fine-tuned my old iTunes library converted to Music.app:


I downloaded some missing purchased songs via Music.app > Account > Purchased > Not in My Library > Download.


I grabbed some missing album covers from the old iTunes/Album Artwork/ folder before deleting it:


There are lots of folders so browsing them is difficult. So I put them in the same folder and with GraphicConverter > File... > Browse Flat... > Edit: Select All > press Delete key to move them to Trash (make sure it is empty before doing that) > move all from the Trash to a folder.


Then convert .itc to .png with GraphicConverter > File... > Browse > Right-click: Quick Convert into same Folder as PNG (some .itc files did not convert and also GC's raw import was suboptimal and I might check those later).


Then GraphicConverter > File... > Browse (the .png files) > View > Show all in Slideshow and check if there is anything that might be used for missing album covers (there might be lots of duplicates and low-res covers).


I also forced some loose songs in the same album in Music.app > select songs that belong to the same album > Song... > Info: edit the album name with some letter and then edit it back to its correct form.


I also archived the old iTunes/iTunes Library.itl just in case I want to use iTunes in some old macOS install. It seems that with it I can downgrade my updated Big Sur library to iTunes so that the old (freezed at Mojave time) song count, Ratings, Play count can be preserved (needs some manual fiddling) but I presume I don't really need that. Or just create a new Mojave etc iTunes.app library and import Big Sur Music.app songs from ~/Music/Music/Media/Music folder. But then you lose old Ratings, Play count etc.

Dec 20, 2020 8:04 AM in response to debow

> I put the old iTunes folder in the new music folder which already had one folder in it named "Music" and within in that two folders names "Media" and "Music Library".


Yes, the new Music.app creates another "Music" folder in ~/Music/ folder (i.e. in your home folder there is the default "Music" folder). You should delete (or backup elsewhere) anything with the same name there.


> I put the iTunes in the Music folder which put it in the 2nd Music folder and I renamed it also "Music".


Yes, it is very confusing that there are _three_ "Music" _folders_ and also a "Music Library.musiclibrary" _file_ there so you must pay attention what goes where and what is selected as a library file:


~/Music/Music/Music Library.musiclibrary

~/Music/Music/Media/Music/[imported and downloaded artists/albums]

~/Music/Music/Media/Automatically Add to Music/ <- created automatically

~/Music/Music/Media/Downloads-Music/ <- created after authorisation (Catalina)


> I then option opened the Music App and when it asked me to choose a library and I tried to select any of those Music folders the "choose" button was not highlighted to select.


You should choose the "Music Library.musiclibrary" _file_.


I hope this helps.

Feb 8, 2021 3:32 AM in response to Matti Haveri

Dear Matti,

Well done and appreciate your good work. Thank you for your lovely step by step post and that was extremely useful.


There are some errors on folder references that need to be addressed in step 5 & 8 which could lead to confusion to fresh users who were really scared to experiment.


Point 5 should be as follows:


5. Inside ~/Music/Music/ folder create a new "Media" folder, inside "iTunes Media" folder look for "Music" folder and move it to "Media" folder you just created.


Point 8 should be as follows:


8. Quit Music.app. Inside ~/Music/Music/iTune Media/ folder delete the "Automatically Add to iTunes" and "Automatically Add to Music" folders after verifying they are empty (a new "Automatically Add to Music" was created in step #7 in the Inside ~/Music/Music/Media folder).



Also wish there was similar tips on having the Audiobooks and TV/ Home videos shifted to respective new client softwares


Thank you for this support forum, it helped one on my new M1.


Regards



Feb 19, 2021 9:10 AM in response to Matti Haveri

> I am not yet sure whether the "Album Artwork" is still needed because the album art is still there even if it is trashed


It seems also the old ~/Music/Album Artwork folder can be deleted with no ill effects. Some extra Album Artwork might be created via Music.app > File > Library > Get Album Artwork (apparently works on purchased music and even for some old .mp3 files).

Dec 31, 2021 2:24 AM in response to Craikeybaby

The correct setting for the media folder should be ~/Music/Music/Media. Your ripped and purchased media should end up in ~/Music/Music/Media/Music, while anything from the Apple Music subscription service should end up in ~/Music/Music/Media/Apple Music. It would seem the media folder has been set one level too deep at some point. Change the media folder to ~/Music/Music/Media then under Music > Preferences > Files turn Keep Organized off and back on again. Anything that remains in ~/Music/Music/Media/Music/Apple Music will be orphaned content no longer connected to the library which you can delete.


tt2

Feb 12, 2021 8:49 AM in response to Matti Haveri

I don't know much about this stuff, but I had about the same problems some of you reported about missing songs during migration from a Mac running iTunes on OS 10.14 to the new Mac running Big Sur and Music App.  I would say that nearly half of my songs disappeared or could not be found and all of my playlists disappeared using Migration Assistant, which was also a disaster if you don't know not to copy System files.   There is, however, a time consuming but very straightforward means to make sure your entire iTunes library and playlist transfers, without going through iTunes Match or a Music account. .

  1. Copy your iTunes folder to your computer, if not already there..
  2. Navigate to Users/username/Music/Music/Media
  3. When you open the Media folder, you will see a folder titled "Automatically Add to Music"
  4. Drag your iTunes media folders to the "Automatically Add to Music."  This should start loading your entire library to Music.
  5. If you had a failed migration as I did, you will have duplicates. Just go into your Songs library and use "Show Duplicates" and sort by date added.  Mostly, you can then delete the older files, many of which probably did not work when you first transferred them.  Just be careful you don't delete similarly named songs.

This does not bring over your playlists.  I did it the hard way and exported from iTunes each playlist as an XML file, sent them via Air Drop to my new Mac and then imported each one via Music.  I did not see a way to export or import multiple playlists. 

So far, this has worked perfectly for audio files, though I am sure something went wrong somewhere. . Some files (like video files, of course) do not transfer.  These appear in the "Not Added" subfolder.

Oct 28, 2021 7:01 AM in response to Marfos27

Marfos27 wrote:

Thank you for all your efforts and for posting this.
I wish I had the brain power to follow your instructions. The problem is that my old computer is dead so I have to use the iTunes folder from time machine. Also all these music/music/music folders are really confusing.
I bet they do it on purpose...


Restore the iTunes folder from backup, press and hold down option as you start Music and click the Choose Library option, select the iTunes Library.itl file inside the iTunes folder, choose a location to save the converted Music Library.musiclibrary database.


tt2

Oct 28, 2021 9:57 AM in response to Marfos27

Marfos27 wrote:

Could it really be that simple tt2?
So, if I understand correctly, I press and hold down option as I start Music and click the Choose Library option, select the iTunes Library.itl file inside the iTunes folder on my Time Machine backup, right?
Which location would be best to save this database?
Does that mean that this library is readily available as a/the Music library or is it a separate library I have to choose when I want to play my old music on Music (such a well chosen name for this app...)?


Close, but don't access the file in your Time Machine backup directly. Copy the iTunes folder from the Time Machine backup into the new computer, either into ~/Music which is your user folder, or into the top level folder of any other volume that you want to use to hold the library. The default location for the Music library would be ~/Music/Music so you can use that if you want to (you might need to delete or rename any existing folder there first) or again you can use the top level folder of another drive as <Volume>/Music.


See Move your iTunes library to a new computer - Apple Community for a more complete breakdown with a discussion of various pitfalls, but it generally doesn't have to be that complicated.


tt2

Feb 26, 2022 6:31 PM in response to Matti Haveri

I have 326 GB of music files (99% AIFF Ripped from CD's w/ XLD) that I needed to import/copy to a clean installation of Big Sur on an external SSD*.


  • Open Music app for first time on clean macOS Big Sur installation and sign into iTunes Account.


  • Try File > Import from internal Mac HD and TM ** ~Music/iTunes/iTunes Music. That does not work.


  • Close Music app and copy all of the music files (folders) from internal Mac HD ~Music/iTunes/iTunes Music to external macOS SSD ~Music/Media/Music. Three plus hours later, none of the music files show up after opening Music app. I thought this worked in the past.


  • Next, I selected all the music folders and moved them to ~Music/Media/Automatically Add to Music. Viola! Why didn't I do that in the first place, or drag to music window.


iTunes, and Music, have always been difficult when trying to access stored music from external drive, or just copy and set up with new macOS/iMac, and yet placing them in that last folder did exactly what I wanted it to do, but why didn't Import work?



*The reason for the external macOS SSD is because my internal Mac HD has had ongoing issues (mainly with long startup time) after updating from Catalina to Big Sur a year ago. I also recently tried macOS Recovery to Erase & Reinstall macOS Big Sur to fix the issue, which did work at first, but reverted back to the same problems as soon as I used Migration Assistant to transfer my User Account back. So now I'm slowly setting up the external SSD identical to my internal Mac HD from scratch.


Jan 18, 2021 11:33 AM in response to Matti Haveri

Thank you!!!!

This worked beautifully, although I was importing mine from a Time Machine backup (had to navigated to the Latest folder, to get to my final iTunes library from a dead iMac).


The only thing different for me was at the start of step 8:

Quit Music.app.

I got a pop up "Saving Music library" that took about 5 min to manage 17.6 GB of music.


Album artwork from imported CDs is a little weird - some of it shows under Recently Added view, but doesn't show in the Albums or Songs view. Not going to sweat it.


Everything else proceeded as noted. Playlists, song count, play count all match.


Jan 31, 2021 8:09 AM in response to WelshYank

> old iTunes library/folder from MacOs 10.6.8


Maybe OS X 10.6.8 iTunes library is too old (I used macOS 10.14 to 11.0.1 above). If possible, you could do the transition in smaller steps from OS X 10.6.8 - 10.11 - 10.14 - 11.1 or something like that in VMware Fusion virtual machines. Or just grab the actual files and import them to Big Sur Music.app and forget the metadata you have created along the years. But backup the old library just in case.

Mar 8, 2021 11:27 AM in response to Matti Haveri

Thank you for proposing this fix... I ran into a number of issues in converting my iTunes library to Apple to Music as prescribed.


My set-up was years in the making:

  • 320GB of music, 25k+ songs (~9k unchecked)
  • highest-quality album-art + lyrics added; 100's of playlists
  • files reside in both iTunes Media and iTunes Music folders, ie. never consolidated

(iTunes pre-Big Sur worked fine without doing so; volume of files made consolidation via necessary file duplication undesirable)


I ran into the following issues


Step 4. Quit Music.app. Open “Music 1” folder created in step #2 and move "Music Library.musiclibrary" from it to the ~/Music/Music/ folder you renamed in step #1. Delete the temporary “Music 1” folder from the Desktop.


"Music Library.musiclibrary" didn't exist, only "Music Library."

(need to uncheck "hide the extension" box, now, however, the library detail never 'stuck' using this file; I had to keep going back to opening iTunes with the old .itl file to see the library)


5. Inside ~/Music/Music/ folder create a new "Media" folder, rename the old "iTunes Music" folder to "Music" and move it to "Media" folder you just created.


Done, but... it didn't pick up any of the files moved to the new "Media" folder. Due to my dual location set-up (?) it chose the default file location as the old

.../Music/Music/Music/iTunes Media; not ....Music/Music/Music/Media

(.itl library file also only found the /Music/Music/Music/iTunes Media; not the ....Music/Music/Music/Media)


As a result, I reversed step 5, trying to recreate the ...Music/Music/iTunes Music folder, but iTunes now can't locate those files.

I fear I'm going to have to unwind everything and start over; going through 'reorganise' the entire library didn't pick up the old "music" files either.


6. Option-start macOS 11.0 Big Sur Music.app and choose the newly created and moved ~/Music/Music/Music Library.musiclibrary as a library.


This continues not to work. Using the "Music Library.musiclibrary" file, as highlighted above, shows nothing. I had to keep going back to opening iTunes with the old .itl file to see the library.


In the end I had to unwind the attempt. Half the library was missing and I was still relying on the .itl library file. I will try again fresh, but having tried to consolidate the 25k+ songs via iTunes - which hasn't worked - I can't even consolidate the original iTunes folder and delete the legacy duplicates and use Big Sur this way... Hrumph.

Jul 6, 2021 7:06 AM in response to yankee119

> step 1 here, but if you rename your old iTunes folder Music while in the ~/Music folder, the computer tells you that you obviously can't have two identically named folders in the same path


Obviously you have an empty new Big Sur "Music" folder at ~/Music. So you can delete it if it really is empty and contains nothing important. Or rename it to "Music_old" before renaming the "iTunes" folder to "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.

Old iTunes folder to Catalina or Big Sur Music.app

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