Macos – Using iTunes to access all your music on a NAS but keeping the library.xml local… Is it possible/how? (Mac OSX))

itunesmacosmusicmusic-managementnas

I've pushed across my whole music collection to my Buffalo Linkstation NAS recently. This is the entire iTunes folder including artwork, music, library.xml, the whole kaboodle… (I have iTunes in consolidation mode to keep everything in one place).

Now this is done, I hold down alt and click iTunes, then select the iTunes folder on the NAS (Choosing the library folder I copied across) and am now able to access everything.

However… It is REALLY REALLY slow, iTunes takes ages to load and its hard to even change an ID3 tag… Music seems to play fine though (once its playing).

I get the impression that the extreme slowness is from iTunes's library xml file being accessed a lot in order to update and read/write information. My library file is around 80mb, my collection is about 300gb to 500gb approx. I know it iTunes that is the problem since I'm connected via ethernet to the NAS (not wireless).

So I'm potentially looking for a way to keep the library file on my local computer and then make sure my music files (and playlists) are kept remotely on the NAS.

Is this possible?

Please note, I need to be able to use this for syncing with my iPhone, iPod etc (If that makes any difference to a solution/suggestion made)

Best Answer

The slow but reliable way would be to move everything back to your local hard drive and load it up in iTunes. Then go to iTunes->Preferences->Advanced. At the top, you'll see the current consolidated location of your media. Click Change, and choose the location on your NAS where you want all of the media stored. Then go to File->Library->Organize Library, check Consolidate Files, and click Ok. This will move all of your media (including music, podcasts, apps, books, etc) to the NAS while keeping the iTunes metadata like playlists and play counts on your local hard drive. This is mostly from Apple: http://support.apple.com/kb/ht1449

If that isn't possible (local drive too small to temporarily hold all media), you may be able to try just moving the iTunes Library file from your NAS to your local hard drive and choosing that when you start iTunes with an alt-click. If that doesn't work, there is old advice about corrupting the library file, editing the xml file, and then launching iTunes, which will then supposedly reconstruct the library file from the xml file. This is riskier, so you'll definitely want to create backups of these files before trying it. Reference info: http://hifiblog.com/past/2006/05/11/howto-move-your-itunes-music-while-preserving-library-data-when-you-dont-let-itunes-manage-your-music-library/

It may be worth mentioning that I did something very similar about a month ago; started with everything on the local drive, then followed the first half of my instructions above to move the media to an external drive while keeping the library files on the local disk, so I'm suggesting those steps from experience. Good luck!

Related Question