Tidbits on software development, technology, and other geeky stuff

Keeping Multiple iTunes Libraries in Sync

My wife and I both have laptops.  For several reasons we decided to use iTunes on both computers to manage our music library, most notably because of its ability to stream music to other rooms using the cool Airport Express device.  Our library is common meaning we have a big pile of music that we both want to be able to listen to from each of our own computers.

Over the last few years I’ve tried several techniques including use of the tool called  iTunes Library Updater but was not happy with any of them.  I eyed a well reviewed tool called TuneRanger but because of its pricing structure and our multi-platform environment (my wife has a Mac and I have a PC) we would have to buy two fairly expensive licenses.

Anyway, I finally figured out a free, fairly painless way to keep them in sync.  Although this is a manual process it works great and isn’t terribly complicated.

  1. Sync the  Music Files – First off, you need a way for all the computers to actually access the underlying music files.  I used to use Live Mesh (very similar to DropBox) to sync the files across the computers but have since added a NAS (network drive) to our home network so I now simply point both computers to one of its shares called “Music” to access the files.

  2. Update the iTunes Libraries – Now you need to update each computer’s iTunes library so that it knows about newly added songs (i.e. new purchases from the iTunes Store) and removes songs which have been deleted from other computers.  Follow these 2 steps on each computer every once in awhile.

    1. Add New Music- To get iTunes to add new music, open your file explorer (Windows Explorer in Windows or Finder on a Mac) and locate the music folder where all the underlying files are.  Drag and drop this folder into the iTunes “Library” area on the top left side of the window.  iTunes will then search and add any files that aren’t already in the library.  Easy.

    Drag/Drop your Music onto the iTunes “Library” area

    1. Remove Deleted Music- This is trickier.  Create a *regular *playlist (not a Smart Playlist!) called “Not Missing”.  Drag and drop your (Library -> Music) item onto this new playlist.  iTunes will only add songs to this playlist which actually exist in the file system.  Now create a *Smart *playlist called “Missing”.  Add a rule that says “Playlist is not ‘Not Missing”.
    iTunes Smart Playlist
    1. Now, this new “Missing” smart playlist will contain songs that exist in your iTunes library that don’t have an underlying file, meaning they have been deleted.  So, find these songs in iTunes and delete their entries.

Ok, so it takes a little work but it’s not that bad.  Just go through this process every once in awhile on each of the computers and you’ll be in sync!  In an ideal world, Apple will add a feature to iTunes to automate all of this but until then…

Discuss on Twitter