iTunes added "file://localhost" to every song, and so cannot find my entire library
I have seen this question posted several times, but never with an answer. Hopefully somebody knows how to deal with this. Here is more info than you probably want to see:
I just swapped out the main hard drive (C: drive) on my Windows 7 PC. My music was on a different hard drive (M: drive), so it was not touched; but of course my iTunes library was on my C: drive, so I backed it up prior to starting. After putting all of my data files back where they belonged, I reinstalled iTunes and it found my library no problem. But it cannot find any of my media files on the M: drive. If you check the properties of any music file, it has prepended "file://localhost" to every single file name...for example:
file://localhost/M:/iTunes Media/Music/Aerosmith/Greatest Hits/01 Dream On.mp3
is somehow in there now, instead of what was in their prior to the move:
M:/iTunes Media/Music/Aerosmith/Greatest Hits/01 Dream On.mp3
I was still on iTunes 11 prior to this but had to download iTunes 12 during the reinstall, but I can't believe that is the cause.
So does anyone know how to bulk delete the "file://localhost/" from over 7000 songs in an iTunes library? The only article I have seen so far with an answer did not work for me (change the media folder location to something else in Preferences, then change it back)...
Windows 7