Author Topic: Convert library-based(?) ratings (from iTunes import) into file-based ratings  (Read 319 times)

roth377

  • Newbie
  • *
  • Posts: 8
I recently imported my iTunes library to Musicbee (past iTunes/iSyncr/RocketPlayer user). Loving my MusicBee/PowerAmp experience thus far.

When I imported iTunes library, it appears to store ratings as part of the library, and not in the files themselves. Is there a batch process I can run that takes those ratings and puts them into the files themselves? I have the checkbox to store the ratings in the files (assuming for future tag saves), but I'm looking to see what I can do with existing library entries.

Bonus question -- it seems to have brought in iTunes "guessed/estimated" album rating into the MB library, which I don't want/need.  Is there a way to remove those album ratings without impacting the files themselves (since album ratings are currently not saved into file)?

Thanks all! I hated that it took JRT Studio getting sold to make me move to MusicBee (I loved supporting them even while 'putting up' with iTunes). However, Musicbee has been a incredible experience with a great community and a great developer.
Last Edit: May 29, 2022, 07:05:16 PM by roth377

roth377

  • Newbie
  • *
  • Posts: 8
As a quick note -- in case it makes a difference:

I have IMPORTED the library from iTunes (with ratings in the library), but I have chosen NOT to rescan my library (by rescanning the music directory) out of fear that it would potentially wipe out the ratings (that DON'T exist in the tags) that exist in the library.  Is this a warranted concern?  Is my library "safe" from updates?

roth377

  • Newbie
  • *
  • Posts: 8
I resolved this on my own -- here's what I did

(as an introvert, I'm perfectly fine talking with myself :) )

The import of the library from iTunes does seem to indeed store it in the database cache of the library.  *IF* I did a rescan of my library after import, it would have indeed wiped out my ratings (since it would have gone back to files and rescanned, where it didn't exist).  I did confirm this by rescanning a select few music files, and their ratings did indeed wipe out.  So naturally I stayed away from rescanning for now.

I *think* a resynchronization of tags *could* have pushed some of the ratings back to the file (spotting differences between cached library entries and file tags, and pushing back to file) -- however it seemed in my testing that it was not consistent enough in spotting differences and thus not writing back to files.

So I created an auto-playlist that identified each rating (I used whole stars), and then put results into a static playlist (auto-playlist looking for rating of 1 star would then copy into a static playlist named '1 star').  So now I had ALL my songs represented in one of 5 playlists.  I confirmed all songs were represented in these playlists.

I also made sure to (temporarily) make it so changing tags didn't update modified date of file

Then in each playlist, I did a rescan (right click -> send to -> rescan) which "correctly" removed all ratings when rereading the tags, and then I simply rated all songs in the playlist with the appropriate rating.

As an added bonus, since never stored in the tag, this rescan also wiped out the itunes-guessed album rating as well (which I didn't want!).  I guess I could have followed the same approach as ratings had I really wanted to retain those album ratings as well.

What this exercise REALLY did was highlight how incredibly powerful and awesome MusicBee is.  I'm REALLY liking my choice to ditch iTunes.
Last Edit: June 01, 2022, 03:06:44 AM by roth377