iTunes Library Issues, Apple TV
Sunday, January 3rd, 2010I didn’t find anything about this online, so as a good netizen, I’m writing about my problem and the solutions.
iTunes Library has tracks that it puts warnings next to; can’t find the files even though they are in the right place(s).
I was noticing that a lot of the first tracks of albums would not play; iTunes would skip over them. When I double clicked a track, it told me I needed to tell it where the file was because it didn’t know.
Once I located the file through via iTunes by navigating to the media directory, it would play fine. Strangely, the rest of the album was fine.
I am not sure what corrupted my library. It seemed to get worse over time.
Looking at the master iTunes Library.xml file in a text editor, I noticed I had 245 (of 17K+) incorrect file references in my library. They were pointing to:
file://localhost/Network/Media/iTunes/xyz
instead of:
file://localhost/Volumes/Media/iTunes/xyz
I’ll see if the problem persists. I made a backup of the library file, then opened it in a text editor and did a search/replace. Because of the large library (35 MB), I found every text editor was slow. I used TextWrangler which did the job with aplomb.
N.B. Okay, that didn’t work. All the links went back to what they were previously. Hmm.. Taking the advice here to rebuild iTunes Library (LIB version, not .xml).
TV fails to sync
My AppleTV after a TimeCapsule replacement (version 3.0.1 and iTunes 9) had issues. My main computer, the one synced to the AppleTV, was not seeing the AppleTV as a device. I tried all sorts of things on both pieces of hardware before finally resetting the AppleTV to factory defaults.
After the restart, the AppleTV appeared in iTunes. Funny thing, the AppleTV was showing up fine on another computer in the devices area.
The two machines are now syncing over wireless.