I very foolishly entrusted iTunes in Windows to manage my mp3 collection (had the "Import to my library folder" and "manage my collection" checkboxes checked), and iTunes has somehow been randomly deleting tracks from disk.
I'm now faced with either:
- restoring the collection from a backup (which I'd rather avoid - it's an old backup and a fair bit will be missing),
- merging my backup with what's left of my collection, hopefully restoring many of the missing tracks, or
- determining which tracks are missing and replacing them manually from backup / other sources.
Before I jump into one of these options, is there a program or script that will let me assess how widespread the damage is? I'm imagining something that:
- Recurses the directory tree, and on finding a folder containing .mp3 files:
- Checks that there are a reasonable number of files in the folder (>2, <35?)
- Checks file metadata to determine that numbering begins at 1 and is a contiguous block
- If no metadata, checks for filenames that contain numbers, if there are check that they are a contiguous block
- If the contiguous block of tracks is very short and the durations of those tracks is also short, look up the album listing from an online service
- Produce a report of what is likely missing.
Does such a thing exist or will I have to resort to rolling my own?