Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there a way to force resolve media information for all songs?

I have multiple computers (2 Macs, 1 PC) where all of the songs for their iTunes' libraries are on my Time Capsule at home. However, when I take my Mac laptop to work and come back home, all of my songs in iTunes have the "exclamation point" indicating that their locations cannot be found (because I disconnected from my Time Capsule and then re-connected).

It's not a problem until I try to sync music to my iPod, where iTunes will only sync "unbroken" songs, so I end up with no music on my iPod.

I could "Get Info" for all tracks manually, one-by-one, but I'd really rather not. Also, I'd like to avoid operations that make me lose my metadata (like ratings).

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

Ok after a LOT of searching I found my fix:

Hold Alt/Option while opening iTunes, it will bring up a dialog allowing you to choose the location of your iTunes library. Choose your existing library location, and voila... all songs are "magically" located. Ratings, play count etc. is saved. Phew!

share|improve this answer
    
I don't quite get it... Every time you get back from work and want to sync your ipod, you do this process? –  Cawas Nov 2 '10 at 1:31
add comment

I have a similar NAS and network shared folder setup, and can end up with an iTunes library full of exclamation marks in some circumstances.

To fix this I use sed to replace all instances of:

<key>File Folder Count</key><integer>-1</integer>

...with:

<key>File Folder Count</key><integer>1</integer>

...where a "File Folder Count" of -1 equates to iTunes thinking the file is missing. Using sed:

sed -i .backup 's/<key>File Folder Count<\/key><integer>-1<\/integer>/<key>File Folder Count<\/key><integer>1<\/integer>"/g' ~/Music/iTunes/iTunes\ Music\ Library.xml
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.