Album Rating resetter is not working

John Stew's Avatar

John Stew

18 Jan, 2016 12:34 AM

Hi,

After reading through the below post, I downloaded the available plugin and ran it. Many of my albums still have ratings. I also confirmed that they are resetting when I manually do it, so I would think a script should be able to do it all for me...

I just uploaded my logs

Thanks in advance for any help!

  1. 1 Posted by John Stew on 18 Jan, 2016 12:34 AM

    John Stew's Avatar
  2. Support Staff 2 Posted by hendrik on 18 Jan, 2016 04:47 PM

    hendrik's Avatar

    Hey John,

    this Apple bug and the fix script has been a little bit of a mess.
    You wrote:

    Many of my albums still have ratings. Does that mean the plugin fixed some albums, while it didn't fix others?

    Cheers,

    -hendrik

  3. 3 Posted by John Stewart on 05 Feb, 2016 11:58 PM

    John Stewart's Avatar

    Hendrik,

    Yes, that's correct. Sorry for the delay.
    -John

  4. Support Staff 4 Posted by hendrik on 09 Feb, 2016 12:12 PM

    hendrik's Avatar

    Can you identify what makes the albums it didn't fix special?

  5. 5 Posted by John Stewart on 19 Feb, 2016 03:08 PM

    John Stewart's Avatar

    Hendrik,

    No, I can't see anything special about the albums it didn't fix...I'm not
    exactly sure what to look for, though. I can manually erase the album
    rating, and I don't see anything different about the files. Is there any
    way you can assist by looking at the log I uploaded? There are quite a few
    that I'd rather not manually update.

    Thank you,
    John

  6. Support Staff 6 Posted by hendrik on 21 Feb, 2016 04:28 AM

    hendrik's Avatar

    Hey John,

    in the post, the code is listed. The logic in the code comes down to this line:

    boolean computed = song.isAlbumRatingComputed()
    if (rating > 0 && computed) {
        song.setAlbumRating(1)
    }
    

    In English this means, if the album rating was computed and not entered and is greater than 0, set it to 1. Setting it to 1 means, it is now technically entered and shows as zero stars (the values are on a scale from 0-100, so 1 is rounded down to zero stars).

    If this does not work for you, than either the communication with iTunes does not work, or your situation does not match the problem.

    Are the album ratings that the script didn't fix computed or entered?

    There is also one more thing to consider: When this plugin runs, it reports that it is finished before it is actually finished. It may still be running in the background. So it's worth checking in iTunes a little after it ran...

    Hope this helps,

    -hendrik

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac