I just got a new MacBookAir for my home. It will primarily be used at home with some occasional use out of the house. I would like to use the iTunes server on my Synology NAS to store a downloaded copy of my iTunes libray for use a time. My understanding is that I can do this by pointing iTunes to the iTunes server directory on my NAS. Here's the issue, I believe that when I am out of the house, it will search for that library and not find it. Will iTunes know to automatically revert to iTunes Match streaming if it can't find the library?
ITunes Match and Library on NAS
itunes-matchnas
Related Solutions
To keep this general, here are some things to think about:
DAS: Direct Attached Storage - Thunderbolt, eSata, USB 3.0, FW800, FW400, USB are the rough pecking order. FW400 is better than 100 MB ethernet, and FW800/USB 3.0 are equivalent to Gigabit Ethernet.
NAS: The network matters - latency over WiFi can be a big bottleneck as can the controller chip / lack of cache in less expensive NAS.
Think in terms of the bottlenecks - For streaming a song, AirPlay shows you what to expect - a slight delay, but the system can buffer the music to overcome little lags and delays due to network burps. DAS is much more responsive - especially for little file input/output as opposed to streaming a large file or song.
NAS does offer some nice features like cross platform sharing and with a good network can be shared effortlessly with several clients that don't mind sharing the speed of the device. DAS is designed for one user and optimized for speed - especially for database workloads like iPhoto.
NAS can be harder to back up, where DAS works easier with whatever backup program you use on your mac.
Your iPhoto database will be the last thing you want to move. It has no provision for splitting the large files from the database files and the latency of reading / writing to the NAS might make you feel the program is too slow. Try it out, but don't be surprised if it's the least responsive by it's design.
You want programs that can use local database and thumbnails on the fast SSD and store large original files on NAS or slower storage.
Aperture works amazingly well if you find iPhoto too laggy when stored on the NAS.
I would start with the iTunes media folder - move that to the NAS and see how you like the performance.
Then get a tool like WhatSize or DaisyDisk so you can quickly measure what folders on the SSD are largest as you prune things down.
You might find you don't need all the audio loops from Garage Band or other surprising folders that make a difference in what you want to bring along on the SSD.
Have fun with the tweaking - you'll learn how things work. Also, it won't be long until ThunderBolt storage is more available - your NAS might even have a DAS connection for when you really need some speed to access / move files to the NAS.
Don't forget to back up your NAS. CrashPlan might be a great thing to try for that.
I can answer the second part of your question. Since you just updated the MacBook's iTunes settings to point to the NAS, it's iTunes library file still resides on the MacBook. This is a .itl file in your ~/Music/iTunes folder.
iTunes relies on this database to tell it what's in the media folder. If you add stuff to the media folder without adding it through iTunes (i.e. just dropping files in Finder, or using another copy of iTunes on another machine) then that .itl database does not get updated.
So when you add files through iTunes on your Mac Pro, it updates the .itl database on your Mac Pro, but not your MacBook, so the MB can't see those files. If you add anything through iTunes on the MB, the Mac Pro database won't have it, since the copy of iTunes that connects to that database did not process the files.
I have a similar setup to what you're doing: iTunes media on an external drive connected to my iMac, and a MacBook which I use ONLY Home Sharing on.
You might get the idea to move one .itl file to the NAS and open it in iTunes on both machines, and this will work, but you can/should never have it open in both at the same time. That .itl file is really just an SQLite database, and they don't allow simultaneous access, so I've never even attempted this.
With respect to your first question, check ~/Music/iTunes and see if there are any old library (.itl) files. It's most likely that iTunes is opening an old copy or a backup of the database. If you duplicated the database or started a new one before moving your media, this might be the cause.
Start iTunes and make sure the media folder is set correctly or make some other change in iTunes. Now go to ~/Music/iTunes and look for the .itl file that has most recently been modified. Move all the others out of the folder.
Quit iTunes and restart it while holding the Option/Alt key. This will bring up a dialog that lets you select which database to use. Select the .itl file you left alone and it will continue using that as the default library.
Related Question
- Get to iTunes Match library from more than one Mac
- Two iTunes installs pointing at the same NAS share
- Accidentally deleted entire iTunes Match music library – is there a way to recover
- What will I lose if I let iTunes Match expire, and instead subscribe to Apple Music
- Make an XML iTunes Library working in a NAS server
- ICloud – Does iTunes Match just ‘match’ your library with songs in the iTunes Store
- ITunes Sever on Synology NAS and Apple Music
Best Answer
It will not be able to automatically switch. What you'll have to do is create a new iTunes library that is used for streaming only. To do this, open iTunes while holding the Option key. Then selected "Create new library" and name it something different, I used "iTunes Streaming". Then, simply turn on iTunes Match and you'll see all your playlists populate. Once you do this, you'll be able to stream all your music directly from Apple. When you're back home, open iTunes again while holding the Option key and select your original library.