I lost a big chunk of my iTunes library due to a disk failure. The database is fine, but the song files are missing. Luckily for me, iTunes will let me reimport the CDs and preserve my existing playlists, play counts, etc. iTunes is set to import automatically on disc insertion, so when I stick a CD in I get this dialog:
One or more of the songs you have selected to import have already been imported. Do you want to replace existing songs and import them again? [Replace Existing] [Cancel] [Don't Replace]
So far so good. The trouble is that my library is hosted on a headless G4 Mini, and it's inconvenient to hit "Replace Existing" every time. Even if I connect a monitor and keyboard, the dialog takes a little while to come up, and I'd like to just swap CDs in and out whenever I walk through the living room. There's a few hundred CDs to re-import so I don't want to babysit the process.
I thought about writing an AppleScript to push "Replace Existing" for me, but there doesn't seem to be a way to wait on dialog events. I looked around the iTunes prefs files, etc., for some "always replace existing" option, but no luck.
I figure this is a long shot, but does anyone have any ideas on how to skip the "Replace Existing" dialog or otherwise make this process go more smoothly?
