The problem

50GB+ iTunes library.
Multiple Macs.
How can you share the iTunes library between Macs?

Solution #1: Home Sharing

The answer Apple provides is “Home Sharing,” which allows you to share the contents of your iTunes library with up to 5 Macs.

However, there are major shortcomings with Home Sharing. The first is the inability to edit the shared library. For example, if you want to edit a playlist, you have to use the Mac that controls the iTunes library. If you’re on a different machine and use Home Sharing to listen to your library, you will not be able to make any edits to the playlist (or add any new music).

A second major shortcoming is the inability to sync your iDevices (iPhone, iPad, etc.) using your other Macs. Apple wants you to keep your iDevice registered on a single Mac. If you sync your iPhone at home on your iMac, then take your iPhone and MacBook Pro with you on a trip, you won’t be able to sync your iPhone using your MacBook. Very annoying.

Solution #2: Dropbox

If your iTunes library is small enough, you can move your entire iTunes library onto the cloud. For example, a service like Dropbox will let you store up to 5GB online for free. If you use the Dropbox app on each of your Macs, Dropbox will copy all of your iTunes files to each computer, and will keep all of the items in sync for you automatically. If you add MP3s to iTunes using you MacBook, they’ll show up on your iMac shortly afterward.

There are two serious shortcomings to this system. The first is synchronization of the iTunes database file. You can run into synchronization problems if you edit the iTunes library on two Macs with a short period of time. Dropbox needs time to synchronize the files; if you edit the iTunes library on one machine, then edit the iTunes library on a second machine before Dropbox has synchronized the changes from the first machine, your iTunes database files will get out of sync and you’ll wind up losing some of your changes.

Let’s say you edit a playlist on your iMac, then import a CD using your MacBook. If the database file on the iMac isn’t synced before importing the CD on your MacBook, Dropbox will only sync the newest item. In this example, the imported CD would be retained but the edited playlist would be lost.

(It should be noted that this limitation applies to all cloud sync tools, not just Dropbox.)

The second drawback to syncing via Dropbox is the size constraints: Dropbox’s free account is limited to 5GB. As of this writing, their largest account is 50GB and requires a substantial monthly fee. My iTunes library is well over 80GB, so I’m out of luck.

Solution #3: Network Drive

If you have an Apple Time Capsule at home, you can use its file sharing features on your home network. (Attaching an external hard drive to an Airport Extreme provides the same functionality.) In theory, you can place your entire iTunes library on this network drive and let all your Macs connect to it.

Of course, nothing is ever that simple! When a Mac opens the iTunes library file, it becomes locked and no one else can use it. The other Macs will have to wait until the file is unlocked before they can connect to it. This means only one Mac can use iTunes at a time. Major drag.

Solution #4: Dropbox and Network Drive Hybrid

The Dropbox solution is certainly the nicest (and easiest) so far, but due to Dropbox’s account size limitations, it won’t work for me. However, since I have a Time Capsule with plenty of space, I’ve decided to combine the Dropbox and network drive approaches. Here’s how it works:

1. Move your entire iTunes folder to your home network drive.

2. Copy the iTunes library (database file, XML files) to your Dropbox folder (I placed them in a subfolder named iTunes).

3. Create an alias of the network drive’s iTunes Music folder and place it in your Dropbox folder. Be sure to rename it to iTunes Music (remove the word “alias”). Create an alias of the Album Artwork folder, too. If you skip this step, whenever you import music to your library, it will be copied to your Dropbox folder instead of your network drive. The aliases ensure iTunes places all new library items on the network drive.

4. On each Mac, configure iTunes to use the library file located in the Dropbox folder. Do this by holding option on your keyboard when clicking the iTunes icon in your dock. You will be prompted to choose an existing library or create a new one. Click “Choose Library” then navigate to your iTunes database file in your Dropbox folder.

That’s it! You can now access your iTunes library on each Mac without using Home Sharing. iTunes will behave identically on each Mac; you can add music, edit playlists, and sync your iDevices without Apple’s usual restrictions.

Caveats and Gotchas

I’ve been using this system for about a month with no major issues. Of course, no solution is perfect, and there are some gotchas to keep in mind with this setup:

  • Since Dropbox is handling the synchronization of the iTunes database file, only one Mac can edit the library at a time. Be sure to synchronize before using a second Mac to make updates.
  • If you update your iTunes software, you may need to recreate your aliases in the Dropbox folder.
  • You need to ensure you’re connected to your network drive before you start playing any files in iTunes, or else you’ll get the ‘missing file’ icon.

Comments

J Haag wrote on April 4, 2011 at 6:05 pm:

Nice! Very clever. Think I will give this a try. Thanks for posting!

tido wrote on April 15, 2011 at 8:33 pm:

If you don't have a network drive, do you know of a way to perhaps create a virtual network drive? BTW my host machine is a windows box, and my mobile device is a MacBook.

philip wrote on April 17, 2011 at 10:36 pm:

@tido Both Windows and OS X support sharing a computer's hard drive on a local network. If you wanted a dedicated iTunes drive, you could share an external USB drive plugged into one of your computers. The only catch is that computer has to be turned on at all times.

jflewis88 wrote on May 1, 2011 at 6:43 am:

When I try to try to choose the iTunes database file in the Dropbox, it tells me that "The folder 'iTunes' is on a locked disk or you do not have write permissions for this file"… I've set the permissions on the dropbox, the iTunes folder and the library folder to "read & write" for everyone, still can't get in.

Any ideas? Thanks!!!

philip wrote on May 1, 2011 at 11:20 am:

@jflewis88 I haven't run into that problem. Maybe check to see if the iTunes library file is locked (Get Info > Locked).

Scott Welch wrote on June 17, 2011 at 8:05 am:

I've been playing with solutions to this problem for several years now, and I have another way that I find works for me.

So, let's review what we're trying to do: we want our iTunes library available at various locations distributed throughout the house. I tried both the network drive and Apple home sharing solutions, and for the same reasons you did I found them lacking.

My new solution is to NOT share the library in any way, but to instead allow one iTunes instance to be played and controlled from anywhere in the house. To do this, I've installed 5 AirPort Express hubs in all of the rooms where I want music, and then install Apple Remote on all of the iPhones and iPods that are in use in the house. When I want music, I just use the remote to control the central instance of iTunes. Yes, I can't play different music in different rooms, but on the flip side when I do play music in different rooms it's all in sync. Plus, using Airplay, you can stream right from your iPhone/iPod/iPad directly to any steeo.

After living with this for a year or so, I have to say it's better than anything else I've tried.

philip wrote on June 17, 2011 at 9:09 am:

@scott

that's a great approach if your plan is to be able to play back music anywhere in the house. doesn't help with the sync issue though — being able to sync your iDevices using multiple computers. however, iCloud looks like it will fix that problem for all of us, so +1 to Apple.

koolmoe wrote on June 21, 2011 at 10:13 am:

We're a Windows house so maybe that's why my experience is different…
I've had my music library on a NAS for a few years now, mapped as the "T:" drive on all household computers.
Then each computer's iTunes install uses T: as the library source.

Only hassle I've had is hitting limitations on 'authorized' (i.e. 'this song is not authorized for this computer' or whatever). Problem there is old computers that weren't deauthorized…only have 5 computers in the house with iTunes installed, and 2 are infrequently used, so haven't worried about the 'reauthorize fix'.

Anyway, that setup works well for me, no hassles, locking, iDevice syncing issues, etc….that I'm aware of anyway!
KM

Similar Posts

8 Comments

  1. If you don’t have a network drive, do you know of a way to perhaps create a virtual network drive? BTW my host machine is a windows box, and my mobile device is a MacBook.

    1. @tido Both Windows and OS X support sharing a computer’s hard drive on a local network. If you wanted a dedicated iTunes drive, you could share an external USB drive plugged into one of your computers. The only catch is that computer has to be turned on at all times.

  2. When I try to try to choose the iTunes database file in the Dropbox, it tells me that “The folder ‘iTunes’ is on a locked disk or you do not have write permissions for this file”… I’ve set the permissions on the dropbox, the iTunes folder and the library folder to “read & write” for everyone, still can’t get in.

    Any ideas? Thanks!!!

    1. @jflewis88 I haven’t run into that problem. Maybe check to see if the iTunes library file is locked (Get Info > Locked).

  3. I’ve been playing with solutions to this problem for several years now, and I have another way that I find works for me.

    So, let’s review what we’re trying to do: we want our iTunes library available at various locations distributed throughout the house. I tried both the network drive and Apple home sharing solutions, and for the same reasons you did I found them lacking.

    My new solution is to NOT share the library in any way, but to instead allow one iTunes instance to be played and controlled from anywhere in the house. To do this, I’ve installed 5 AirPort Express hubs in all of the rooms where I want music, and then install Apple Remote on all of the iPhones and iPods that are in use in the house. When I want music, I just use the remote to control the central instance of iTunes. Yes, I can’t play different music in different rooms, but on the flip side when I do play music in different rooms it’s all in sync. Plus, using Airplay, you can stream right from your iPhone/iPod/iPad directly to any steeo.

    After living with this for a year or so, I have to say it’s better than anything else I’ve tried.

  4. @scott

    that’s a great approach if your plan is to be able to play back music anywhere in the house. doesn’t help with the sync issue though — being able to sync your iDevices using multiple computers. however, iCloud looks like it will fix that problem for all of us, so +1 to Apple.

  5. We’re a Windows house so maybe that’s why my experience is different…
    I’ve had my music library on a NAS for a few years now, mapped as the “T:” drive on all household computers.
    Then each computer’s iTunes install uses T: as the library source.

    Only hassle I’ve had is hitting limitations on ‘authorized’ (i.e. ‘this song is not authorized for this computer’ or whatever). Problem there is old computers that weren’t deauthorized…only have 5 computers in the house with iTunes installed, and 2 are infrequently used, so haven’t worried about the ‘reauthorize fix’.

    Anyway, that setup works well for me, no hassles, locking, iDevice syncing issues, etc….that I’m aware of anyway!
    KM

Comments are closed.