I just renamed a bunch of files so of course iTunes is going to notice they're gone. So I just clear the playlist, and readd the directory. I then notice the ratings for the 350+ songs are gone. I guess it doesn't store the ratings in the mp3 file itself or it would of showed up. Does it store it in a text file?
[help] Where does iTunes store the rating you give to a song?
Nope, it is in the iTunes database file (My Documents -> My Music -> iTunes -> iTunes Music Library.itl).
The *.itl is what iTunes loads at startup. It is alot of seemingly random text. The *.xml is the exported, easier to read file. The rating uses
<key>Rating</key><integer>##</integer>
The integer is based on a percentage. 20 is one star, 40 is two stars, up to 100 being 5 stars.
When you changed your file names, I think you could have just changed the XML file (the Location string), saved it, and import it into iTunes. But since you changed your library, it may have replaced the older XML library file.
It will probably be easier to change it in iTunes program.
Aqua-Soft Forums