Recently I had this problem with iTunes. I moved all my music from a folder on my Desktop to inside My Documents. I had updated the Preferences section and iTunes decided to keep 2 copies of each file. One that worked and one that was a ghost entry.
So, I looked on instructions on how to update your itunes library and remove old file references. It took me an age and they were all very techie. So, I have tried to make a simple guide for the lay-man.
- Exit iTunes
- Backup your music if it is inside the iTunes folder (just in case)
- Open the “iTunes Library.itl” file with something like NotePad or Wordpad. Select all text (Ctrl+A) and delete. Make sure this is completely empty. Mine was located here C:Documents and SettingsalandMy DocumentsMy MusiciTunes
- Open the “iTunes Music Library.xml” with something like Notepad and do a global search and replace of your old location with your new location. E.g. Find “C:Documents and SettingsProfileNameDesktopAdrian’s music” with “C:Documents and SettingsProfileNameMy DocumentsAdrian’s music”.
- And Save the XML file with the same name in the same location.
- Open iTunes. You will get a prompt that iTunes is rebuilding your library. It will take a while if you have a big archive. It will tell you that the library file is corrupt. Just follow the prompts and allow it to rebuild it all.
- Use iTunes as before. It should of kept your ratings, last played etc. It did for me.
Good luck and let me know how you get on.