Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Easily restore iTunes music ratings after library reinstall Apps
Here is how I keep my iTunes ratings after I reinstall my music library. First, I created five simple playlists named 1-star, 2-star, etc. Next, I sorted all my tracks according to their ratings, and then selected all the now-grouped 1-star rated songs. I put these into the 1-star playlist. Scroll down a bit, and select and drag all the 2-star rated songs to the 2-star list, etc. Then I export each playlist to an XML file.

After I restart iTunes with my newly restored library without the ratings, I just need to select all the tracks in each playlist and 're-rate' them accordingly. Fast and simple.

[robg adds: I haven't tested this one...]
    •    
  • Currently 3.77 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (13 votes cast)
 
[42,193 views]  

Easily restore iTunes music ratings after library reinstall | 15 comments | Create New Account
Click here to return to the 'Easily restore iTunes music ratings after library reinstall' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Easily restore iTunes music ratings after library reinstall
Authored by: samsprograms on Jul 06, '05 10:47:30AM

When I restore my iTunes library, my ratings stay intact without this...



[ Reply to This | # ]
Easily restore iTunes music ratings after library reinstall
Authored by: Mike A on Jul 06, '05 11:10:56AM

Fast and simple I think not. Just clone the iTunes folder from your Music folder. This keeps everything in tact. This guys way is not only tediously slow (why don't you at least make smart playlists for each rating?) but it doesn't preserve play counts and so on.



[ Reply to This | # ]
Easily restore iTunes music ratings after library reinstall
Authored by: leisuremonkey on Jul 06, '05 12:10:27PM

So, I may be wrong about this, but I thought the ratings were stored in the file "iTunes Music Library.xml", located in your iTunes music folder. Wouldn't it be a lot simpler to just backup this file from time to time?



[ Reply to This | # ]
Easily restore iTunes music ratings after library reinstall
Authored by: alextiming on Jul 06, '05 01:45:54PM

This is the best way to back up your ratings of songs.

1. Rate your songs
2. Make Smart Playlist
2a. ALL
2.b Comment - Does not Include - star
2.c My Rating - is not - 0 stars
3. Change the (2c) setting to each star rating, ex. "My Rating - is not - (1,2,3,4,5) star"
4.For each set of 1 Star rated songs add "1 Star" to the Comment
5.Repeat 4 for each star rating...ex. put "4 Stars" in the comment field of those songs rated 4 Stars

Now after adding the rating to the comment field even if you remove the songs from iTunes your ratings will still be saved in the comment field.

Then when you want to put the songs back in iTunes. Make a Smart Playlist with, Comment contains "star", ALL, My Rating is "0 Stars". Then just quickly rate your already rated songs.

I'm writing this fast and hope this is understandable. If not, send me a message and I'll help.



[ Reply to This | # ]
Easily restore iTunes music ratings after library reinstall
Authored by: morespace54 on Jul 31, '07 08:52:17AM

As a reminder, you can make smart-playlists, set them as "rating is not..." or "rating is..." or "rating...whatever" then drag the smart-playlists on the PLAYLISTS source pane. It will make new (regular) playlists which you can now export...



[ Reply to This | # ]
Easily restore iTunes music ratings after library reinstall
Authored by: steresi on Jul 06, '05 03:28:54PM
Yet another way to back up your star ratings and play counts is to use an AppleScript from within iTunes which will copy this info into the Finder's Get Info comments field. A companion AppleScript can then apparently be used to restore the info after re-importing.

The AppleScript is called "Tags to Get Info Comments (and Back)" and can be found here on Doug's AppleScripts for iTunes:

http://www.dougscripts.com/itunes/scripts/ss.php?sp=tagstogetinfocomments

[ Reply to This | # ]
Easily restore iTunes music ratings after library reinstall
Authored by: alextiming on Jul 06, '05 09:00:12PM

the problem with putting info in the File's Spotlight Comment in the Finder is that the information is only stored if you keep the file on a Macintosh, by using the Comment field in the actually ID3 tags, no matter what system you take it too, you will still have the info.



[ Reply to This | # ]
Easily restore iTunes music ratings after library reinstall
Authored by: steresi on Jul 08, '05 01:36:20PM

Yes, definitely, if that's a concern... there's a script on Doug's Applescripts which will copy Finder comments to ID3 tag comments and back, which would make a good companion script to the one I mentioned earlier.



[ Reply to This | # ]
Easily restore iTunes music ratings after library reinstall
Authored by: adamtwar on Jul 10, '06 06:02:15PM
I have just written a Python script that converts between track ratings stored in the iTunes library and those embedded inside of an MP3 file (as the ‘POPM' popularimeter tag, which is intended for this very purpose.) It also stores the played count field in the ‘POPM' ID3 tag. The script works on Mac and Windows. As the POPM tag is stored inside of the MP3 file, the ratings can "travel" with the files themselves. It can be a useful way to backup and exchange ratings.

The script is available free of charge at:
http://www.twardoch.com/download/itunes/

Regards,
Adam

[ Reply to This | # ]
Easily restore iTunes music ratings after library reinstall
Authored by: markbyram on Jul 30, '07 07:32:07PM

HELP!!!

I have reinstalled itunes after whipping out my comp. I have re-imported my files from an external and kept the original library.xml and itunes library file. I replace the existing files with the originals but this does not seem to give me my ratings back. When I import the .xml file my playlists show up but I can not import the itunes library file. Therefore I have no ratings at the moment.

Any suggestions?



[ Reply to This | # ]
HELP...(*gulp*)
Authored by: papagiorgio200 on Jan 16, '10 07:40:48AM

Let me (SeanG) explain my situation (Windows):

First, my old set-up...

(C:) Main Hard-Drive (Raptor 150GB)
(D:) Misc (1TB)
(E:) I-Tunes (2TB)
(F:) Movies (2TB)
(M:) Back-up Removable (1.5TB)

I had a new main hard-drive installed, so my new setup is...

(C:) Main Hard-Drive (Intel SSD 160GB)
(D:) Misc (1TB)
(E:) I-Tunes (2TB)
(F:) Movies (2TB)
(M:) Back-up Removable (1.5TB)

So what is my problem? I always install I-Tunes onto my C-drive, but all the files are kept on my E-drive. When I had the new hard-drive installed they copied my old drive info into a file on my D-drive. So when I reinstall my I-tunes, while I can find my music files on E-drive, I have lost all my 5-star. I have access to the old Itunes XML file (which I believe has all this info?) on the created file of my old hard-drive which was placed on the D-drive. I have 5,300[+] 5-star songs. I read this program can help recover the old info, thus recover my five-star info? Am I wrong? If this program cannot, maybe I can get a refund. I will keep and use this program if you can explain how I can save my hard-work.



[ Reply to This | # ]
HELP...(*gulp*)
Authored by: papagiorgio200 on Jan 16, '10 07:41:46AM

That last paragraph was written to someone else... but you can get the gist of the prop from it.



[ Reply to This | # ]
HELP...(*gulp*)
Authored by: everkleer80 on Jan 19, '10 10:56:52AM

Awesome setup! I wish I had all that storage including SSD!

Anyway, sorry, I meant to respond to this sooner so I'm sure you already have an answer by now, but just in case you don't... can you clear out your entire library and just choose Import Library and select the XML file? (I'd first back up both the XML file and your current iTunes library file - .itl or whatever)

Actually, now that I think about it, I'd try first just taking the iTunes Music Library.itl (or whatever the library file is called) from the D: drive and replacing the one on the C: drive (while iTunes is closed of course - again making sure to backup the files involved.) I'd think that should work since the music is all in the same location, but if not then you could try the other thing.

Just FYI, the xml file is just an xml formatted backup of what's stored in the library file (not sure exactly if it gets updated every time you quit iTunes or when you make a change or what.)



[ Reply to This | # ]
HELP...(*gulp*)
Authored by: papagiorgio200 on Jan 19, '10 11:32:07AM

Thank You. I did figure it out, but I am saving your comment for future tweaking, it is a big help.



[ Reply to This | # ]
Restore I-tunes play counts
Authored by: wehodude on Jun 05, '10 11:55:38AM

I just did a search and ended up here - hopefully someone can help me out. I recently had to recreate my i-tunes library from a previous library ( did that successfully), but all my play counts are gone and I love to keep track of how many times songs were played. Is there any way that can be restored? I would appreciate any help. I don't know if I am allowed to put my email address in here or not but you can email me at wehodude@sbcglobal.net if you know how to restore my play counts. Thank You!



[ Reply to This | # ]