My iTunes music folder and all of my movies (in separate folders) are on an external drive. In fact, it's a NAS RAID box, but it's mounted on my Mac mini.
You just have to load the movies into iTunes. When you do, they'll be visible to the Apple TV. Of course, they have to be in the MP4/M4V favored by Apple. If you want to watch AVIs, etc., you'd have to "hack" your Apple TV. Haven't done this, but it sounds pretty easy these days.
Maybe we'll get an ATV Apps Store soon, and it will be easy to load other apps and stream all sorts of stuff to the ATV...
Where is the iTunes library directory? What is its filesystem location?
Go to iTunes > Preferences.... Choose the Advanced tab. There you will find the path to your iTunes folder.
If I move my library from the laptop and to an external USB-connected drive, will my music and TV shows still play?
Yes, if iTunes knows where to find them. See following question.
I'd like to keep some of my music on the local drive so I can actually listen to it when I'm out and don't have the external drive with me. Is there a way to do that?
Under the Advanced tab in the preferences, make sure Keep iTunes Media folder organized is checked. Choose Change... next to iTunes Media folder location to choose a new location on your external drive. Then click OK.
Now go to File > Library > Organize Library, select Consolidate files and click OK. iTunes will now copy your files to your external hard drive. The files on your internal drive will be retained.
Go to your original iTunes Media folder on your internal drive and drag it to the Trash. Do not empty the trash before making sure that you can quit and relaunch iTunes and play songs without any trouble.
Now move any music files you want to be on your internal drive to a folder on your internal drive. When you move these files, iTunes will not be able to find them, as iTunes will look for them in the folder on your external drive. This will result in dead listings with exclamation marks if you try to play them. See this answer to remove dead listings: Verify that entries in iTunes are actually on disk.
Now go to iTunes > Preferences... and to the Advanced tab again. Uncheck Copy files to iTunes Media folder when adding to library. Choose File > Add to library... and select the media files that you moved to your internal drive.
Cheers.
For the record, it is also possible to have more than one iTunes library and choose which one to load when starting iTunes. The above solution allows you to have one library with files at different locations.
Best Answer
It is possible. In fact, I manage my family's iPod this way.
The howto is answered in How to move iTunes’ Mobile Applications folder to an external hard drive. Shut down iTunes, move your library, then start iTunes back up while holding down Option. Tell it you will choose a library, then show it your library on your drive. For more advanced library management, see Can I keep my iTunes library on an external drive?.
As for your concerns, always shut down iTunes before removing your drive. I don't know what will happen if you unplug it without killing iTunes.
If you try to bring up iTunes without your drive plugged in, you will see these two dialogs, one after the other: In the first one, simply click OK to get the second one, then quit, plug in your drive, and try again. If iTunes can't find your library, it will not try to sync your iPhone or download purchased music.