How to use old iTunes library from external hard drive on new MacBook Air

I'm somewhat stuck with using iTunes on my new MacBook Air. I currently run iTunes on a mid-2011 iMac using a 2TB G-Drive external hard drive as the source for music files. The G-Drive contains approximately 835 gigs of iTunes files-my entire iTunes library. The setup is basically acting as a music server-the iTunes app organizes my iTunes outward facing library and the G-Drive provides the data. Works flawlessly, including having new music that I download from CDs going directly to the G-Drive for playback through iTunes. 


Regarding the media folder location of iTunes on my iMac, when I right click on any tune in the iTunes app, the location will show the G-Drive (e.g., /Volumes/ITUNES G DRIVE/Music/Grateful Dead/5_14_78 Providence Civic Center, Providence, RI (30 Trips Around The Sun-Disc 3)/30-03 Around And Around.m4a). When I check iTunes Preferences>Advanced, there is no folder location shown in the iTunes Media Folder Location. I know that iTunes is looking at the G-Drive as the iTunes Media Folder but I don't know where it's located other than on the G-Drive. 


I would like to replicate this dynamic on my new MacBook Air. I used Apple Migration Assistant to bring over files from my old computer to the new MacBook. After migration, I confirmed that iTunes app library structure (outward facing iTunes arranged by playlist, artist, genre, etc.) migrated over flawlessly. Of course, no iTunes media data were migrated as none exists on my iMac's internal hard drive. My next step involved transferring the old G-Drive data to a new G-Drive capable of connecting to the MacBook (the old G-Drive only has Firewire 800 or mini-USB connections that don't work with the new MacBook even with after market connectors). So I purchased a new USB-C 2TB G-Drive at the Apple Store, connected it to the old iMac, created an iTunes Media Folder on the new G-Drive, and downloaded a playlist to the new iTunes Media Folder to test on the new MacBook. 


To setup playback on my new MacBook, I connected the new G-Drive to the new MacBook and changed the iTunes Preferences>Advanced iTunes Media folder location to /Volume/G-DRIVE 2019/iTunes Media. When I attempt to play a song on the new MacBook (Chet Baker's You're My Thrill) that I know is in the new media folder, I get a message the "song could not be used because he original file could not be found. Would you like to locate it?" When I right click on the song that won't play, the file location shows file:///Music/Chet Baker/Let's Get Lost/03 You're My Thrill.m4a. If I locate the song on the new G-Drive, it will play and then shows its location as /Volume/G-DRIVE 2019/iTunes Media/Music/Chet Baker/Let's Get Lost/03 You're My Thrill.m4a. So, how do I get iTunes on my new MacBook' to see and use the new iTunes media folder that I created on the external hard drive as it's source for audio playback like on my old iMac?

MacBook Air 13", macOS 10.14

Posted on May 2, 2019 3:33 PM

Reply
Question marked as Top-ranking reply

Posted on May 12, 2019 3:55 AM

To select a different iTunes library on a Mac you click the icon to launch iTunes and immediately press and hold down the alt/option key. Keep holding until asked to choose or create a library. Click choose and browse to the new location, select and open the iTunes Library.itl file within.


It may be easiest to wipe the new copy of the library that you have made and start over. If you begin with the working library on the old computer and an empty new drive you should close iTunes, make a folder called iTunes on the new drive, copy the five library files (iTunes Library.itl, iTunes Library.xml {if present}, iTunes Library Extras.itdb, iTunes Library Genius.itdb, sentinel {hidden, don't worry if you cannot find it}) and the Album Artwork folder into this new iTunes folder then option-start-iTunes to connect to the new copy. Check that iTunes is able to play your content. Now go to iTunes > Preferences > Advanced and click the restore button if needed so that the media folder becomes /Volumes/G-DRIVE 2019/iTunes/iTunes Media. When you click OK iTunes may offer to consolidate the library, in which case go ahead, otherwise use File > Library > Organize Library and tick the available options from rearrange files and consolidate files, then click OK. When the copying is complete the iTunes folder in this drive will be a self-contained portable library that you can use on your new computer.


One last thing to check before you start is to make sure that you're copying the active set of library files, and not old copies that might have been made in the past when you moved the media to the external drive. Check the last modified date of the .itl file that you're about to copy to the new drive. If it isn't current then using the option-start-iTunes method to launch iTunes and clicking choose should show you the location of the active library file as a starting point. You can then cancel and start copying.


tt2

Similar questions

24 replies
Question marked as Top-ranking reply

May 12, 2019 3:55 AM in response to Dobrow1960

To select a different iTunes library on a Mac you click the icon to launch iTunes and immediately press and hold down the alt/option key. Keep holding until asked to choose or create a library. Click choose and browse to the new location, select and open the iTunes Library.itl file within.


It may be easiest to wipe the new copy of the library that you have made and start over. If you begin with the working library on the old computer and an empty new drive you should close iTunes, make a folder called iTunes on the new drive, copy the five library files (iTunes Library.itl, iTunes Library.xml {if present}, iTunes Library Extras.itdb, iTunes Library Genius.itdb, sentinel {hidden, don't worry if you cannot find it}) and the Album Artwork folder into this new iTunes folder then option-start-iTunes to connect to the new copy. Check that iTunes is able to play your content. Now go to iTunes > Preferences > Advanced and click the restore button if needed so that the media folder becomes /Volumes/G-DRIVE 2019/iTunes/iTunes Media. When you click OK iTunes may offer to consolidate the library, in which case go ahead, otherwise use File > Library > Organize Library and tick the available options from rearrange files and consolidate files, then click OK. When the copying is complete the iTunes folder in this drive will be a self-contained portable library that you can use on your new computer.


One last thing to check before you start is to make sure that you're copying the active set of library files, and not old copies that might have been made in the past when you moved the media to the external drive. Check the last modified date of the .itl file that you're about to copy to the new drive. If it isn't current then using the option-start-iTunes method to launch iTunes and clicking choose should show you the location of the active library file as a starting point. You can then cancel and start copying.


tt2

May 2, 2019 5:58 PM in response to Dobrow1960

See Make a split library portable - Apple Community for some background. Ideally you library files would be in a folder called iTunes at the root of the drive, and all media inside an iTunes Media folder inside of that. This arrangement can be easily moved from drive to drive or computer to computer without breaking. It may be best to rearrange your library into this shape before you try to fix the broken links. In general if the library is in the right shape, with the media folder set correctly, and iTunes is aware that there are multiple broken links, then repairing one by trying to either Get Info or Play a track may prompt iTunes to offer to fix other broken links, and it will usually be successful.


tt2

May 9, 2019 11:06 PM in response to turingtest2

I'll start with screen shots if iTunes on my Old Mac. Somewhat by chance, after returning home and turning on my Old Mac, I forgot to turn on the G-Drive before accessing iTunes. With the external hard drive off, I tried to access Around & Around by the Grateful Dead. When I right clicked to access Song Info to take a look at the audio file's location, I got a message that the song could not be found (1st screen shot), which made me remember to turn on the G-Drive. However, before doing that I thought to see what the Song Info said about the location of the audio file with the G-Drive turned off. Turns out the location is file:///Music/Grateful Dead/...(2nd screen shot). When I turn on the G-Drive, the location of the file shown on song info changes to /Volumes/ITUNES G DRIVE/Music/Grateful Dead/...(3rd screen shot). I also checked iTunes>Preferences>Advanced>iTunes Media Folder Location under both conditions (i.e., G-Drive off and on). As you can see in 4th and 5th screen shots, they are identical with no location shown for this folder under either condition. I've got additional screen shots if needed of Finder on my Old Mac showing the location of iTunes and similar screen shots for how things look on the New MacBook (things look different as expected.)


I find all this very interesting and know that when I set this system up on my Old Mac approximately five years ago, I did some serious research on how to get iTunes to perform this way with the G-Drive, and it's performed flawlessly ever since. It's just doing all this great stuff on old machines and I'm stumped on how I set this up or how to transfer the setup over to my New Mac.


May 3, 2019 9:41 AM in response to turingtest2

Thank you for this helpful information, tt2. In fact, it was my reading of your Make a split library portable - Apple Community that prompted these questions. I'll review this information in depth once more to take steps to get my iTunes library in the right shape for portability. I do have two somewhat basic questions as I begin this process: 1) on my old iMac, how does iTunes currently know to look at my old G-Drive to find audio files since in Preferences>Advanced there is no location being shown for iTunes Media Folder Location, and 2) where do I rearrange and repair my iTunes library, on my iMac's internal hard drive or the G-Drive? Reason I ask is that I don't know how to list all my audio files in an iTunes Media Folder on my iMac since it is a 500gig machine and I have 835 gigs in audio files. Any info would be greatly appreciated!

May 11, 2019 7:59 PM in response to turingtest2

This is very helpful-I'll take these steps this evening and let you know the results. To answer your question, the iTunes Library.it file is located here on the Old Mac



The iTunes Library.it file is located at the same location on the New MacBook Air



Unfortunately, I don't believe I can use my old G-Drive with my new MacBook Air as the library folder for iTunes. This is an older model G-Drive that I've had for about 6 years. It only comes with a Firewire 800 and mini-USB connectors for transferring data. I tried using a Firewire 800-to-USB cable to connect the old G-Drive with my New MacBook Air, but consistently got a message saying there was insufficient power (mind you the old G-Drive is plugged into the wall.) After explaining all this in some detail, the good folks at the Apple store did not think the old G-Drive could successfully be connected to their new MacBooks. That's why I got the new G-Drive and started moving files over from the old G-Drive (ITUNES G DRIVE) on my Old Mac to use on the new MacBook Air when the problem started. It would be great if there was someway to address the connectivity issue for the old G-Drive; this potentially might solve all these problems.


So, it sounds like what I should do, in lieu of getting the old G-Drive to connect to my new computer, is make a copy of my active library files and the other steps you mention on my new G-Drive. Only question I have before starting all this is where do I find "option-start-iTunes" to get iTunes to connect to that copy of the database?

May 12, 2019 8:10 PM in response to turingtest2

OK, using my new external hard drive (G-DRIVE 2019) I've followed instructions all the way through the media folder becoming /Volumes/G-DRIVE 2019/iTunes/iTunes Media. I've also confirmed that I'm using the most current active set of library files and that my content still plays. After clicking OK for the new media folder location, iTunes is asking about consolidating the library. I just want to confirm what comes next before clicking YES. Here's the current screen shot



So, if I click "YES," this will begin the process of moving all of the audio files off the old G-Drive onto the new G-DRIVE 2019? Will the audio files be removed from the old G-Drive, rather than copied over? Reason I ask is that I want to maintain the Old Mac using the old G-Drive as a music server when needed for as long as possible. If the audio files are moved rather than copied, I imagine I could manually copy the files back over to the old G-Drive from the new G-DRIVE 2019, disconnect the new G-DRIVE 2019 from my Old Mac and then reverse the process to reselect the original library and reset the media folder location to blank (or maybe /Volumes/ITUNES G-DRIVE/Music/. Please let me know if I'm on the right track here and I'll be off and running...

May 13, 2019 8:35 PM in response to turingtest2

Success on all fronts!


I'm now the proud owner of a self-contained portable iTunes library-all due to your detailed instructions patiently delivered. I've chosen a new iTunes library off the new G-DRIVE 2019 for the New MacBook and the media location automatically filled in on Preferences>Advanced. For the first time, I played lots of tunes from all over my library on my New MacBook. On the Old Mac, I reversed your instructions, choosing the old library off the old Mac's internal hard drive. Preferences>Advanced automatically reset the media file location to blank-I suppose to allow the "mystery operation" to take place-and then iTunes played content off /Volumes/G-Drive, the old external hard drive!


Thanks again for sharing your expertise and time to help solve this puzzle.

May 27, 2019 3:34 PM in response to turingtest2

Everything has been working fine with iTunes on both computers. The next step for me is keeping my library up to date with new music. I normally buy CDs and upload them to iTunes. Today I tried to upload a new CD to iTunes on my old 2011 iMac and I suddenly got this message




Following these directions, I accessed File>Get Info for the Music folder, iTunes folder, and iTunes Media Folder on the iMac's internal hard drive. Here is what permissions look like for these folders in Get Info





So, with all the permissions showing both Read & Write, I don't know why this is occurring. Of course, all this occurred AFTER I successfully created the new self-contained portable iTunes library for my new MacBook Air. I now want to begin updating my library in two places by uploading new CDs to my library on the old iMac and then going through the transfer process you described to bring the audio tracks and newly configured iTunes library over to the new MacBook. I don't plan to do this very often (I buy about 30-50 CDs a year) but thought I should try the process out before too much time went by. I'm taking these steps because my new MacBook doesn't have a CD reader and I don't own one to attach to the MacBook. Perhaps an easy fix would be for me to just buy a CD reader and manage my library entirely from the new MacBook. Suggestions?

May 29, 2019 4:20 AM in response to Dobrow1960

Also, I was a little unsure from the directions on how to apply File > Convert > Convert ID3 Tags... > None and then File > Convert > Convert ID3 Tags... > v2.3 to build a fresh tag. Is this done on a song by song basis?


It can be done for a selection of files, but it is only relevant to MP3 files and would only be used after applying the permissions fix if those files were still not taking updates.


Reading from the previous page I suggested applying the permissions fix in response to this error you posted:




Which suggests that iTunes cannot create a folder for the converted content to end up in, or create a new file in that folder if it already exists. Did you check the settings and Apply to enclosed items?


tt2

May 29, 2019 8:33 PM in response to turingtest2

Thanks for the link, but quite honestly, I was only trying this as a way to see if permissions were correct on iTunes folders on the new external hard drive, and by extension, iTunes on my new MacBook. It was never meant as a work around, and given how involved this remedy appears, it's not how I want to end up with iTunes. The external hard drive is meant for the new MacBook, not for the old iMac. The real work around if all else fails on my old iMac is to buy a CD reader for my new MacBook and move the whole iTunes operation over to that computer from the old iMac. It's not what I was hoping for but it might be my only choice if I want iTunes to function properly.

May 29, 2019 8:45 PM in response to turingtest2

This is a response to your second post.


Before responding back to you yesterday I re-checked all settings on Get Info for the iTunes folders AND reset all permission to Read&Write for all users and used Apply to enclosed items for these changes on the old iMac. Still nothing-I can't upload a CD into iTunes on the old iMac-very frustrating after all we went through to create the new library. Interestingly, on the old iMac I can still edit song info for individual tracks in iTunes, can create playlists, can change import settings, can move songs around; I even deleted a track from the library-no problem. Uploading a CD, forget about it!


Any final ideas on how to fix this? I'm fast approaching retiring the old iMac because of these issues. I've also been kicking around purchasing a more serious music server with the hope of avoiding all this in the future the next time I change machines.

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.

How to use old iTunes library from external hard drive on new MacBook Air

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