(Updated) How to store your music on a NAS or network share and access it with iTunes on a Mac 

Album art

I store all my music on an external hard disk which is connected to Windows Server 2003 in a cupboard hidden away. This means my music doesn’t clutter up the hard disk on my MBP and it can be shared to other devices like my Xbox, without having my laptop on. Accessing the server from Windows XP or Vista was fairly straightforward – I’d just map a drive and iTunes was happy. Unfortunately, persistent mapped drives on Mac OS X 10.5.6 (or earlier) isn’t really a feature, so I’d just plug the external hard disk into my Mac via USB.

I needed a way to get my Windows iTunes database onto my Mac, and a way of mounting a persistent network share for iTunes, and a convenient way to add new music to the networked folder and iTunes. (Oh, and I kinda like things being in the right place – you know, documents in the Documents folder, music in the Music folder – so we’ll be creating a symbolic link to make our music appear as though it’s in ~/Music/iTunes/iTunes Music. Clever, eh?) So, without further ado, here’s what we’ll be doing -

  1. Setting up a shared folder for your music
  2. Create a symbolic link (& mounted drive) to the network share
  3. Creating a crontab entry to keep the network share mounted (alive)
  4. Modifying the location of your music files in the iTunes database

(More …)