tag:help.beatunes.com,2009-07-24:/discussions/plugin/1880-album-rating-resetter-is-not-workingbeaTunes: Discussion 2016-02-21T04:28:52Ztag:help.beatunes.com,2009-07-24:Comment/389418922016-01-18T00:34:59Z2016-01-18T00:35:02ZAlbum Rating resetter is not working<div><p>This was the post:<br>
<a href="http://blog.beatunes.com/2015/09/resetting-itunes-album-ratings.html">
http://blog.beatunes.com/2015/09/resetting-itunes-album-ratings.html</a></p></div>John Stewtag:help.beatunes.com,2009-07-24:Comment/389418922016-01-18T16:47:29Z2016-01-18T16:47:29ZAlbum Rating resetter is not working<div><p>Hey John,</p>
<p>this Apple bug and the fix script has been a little bit of a
mess.<br>
You wrote:</p>
<blockquote>
<p>Many of my albums still have ratings. Does that mean the plugin
fixed some albums, while it didn't fix others?</p>
</blockquote>
<p>Cheers,</p>
<p>-hendrik</p></div>hendriktag:help.beatunes.com,2009-07-24:Comment/389418922016-02-05T23:58:33Z2016-02-05T23:58:34ZAlbum Rating resetter is not working<div><p>Hendrik,</p>
<p>Yes, that's correct. Sorry for the delay.<br>
-John</p></div>John Stewarttag:help.beatunes.com,2009-07-24:Comment/389418922016-02-09T12:12:58Z2016-02-09T12:12:58ZAlbum Rating resetter is not working<div><p>Can you identify what makes the albums it didn't fix
special?</p></div>hendriktag:help.beatunes.com,2009-07-24:Comment/389418922016-02-19T15:08:45Z2016-02-19T15:08:45ZAlbum Rating resetter is not working<div><p>Hendrik,</p>
<p>No, I can't see anything special about the albums it didn't
fix...I'm not<br>
exactly sure what to look for, though. I can manually erase the
album<br>
rating, and I don't see anything different about the files. Is
there any<br>
way you can assist by looking at the log I uploaded? There are
quite a few<br>
that I'd rather not manually update.</p>
<p>Thank you,<br>
John</p></div>John Stewarttag:help.beatunes.com,2009-07-24:Comment/389418922016-02-21T04:28:51Z2016-02-21T04:28:51ZAlbum Rating resetter is not working<div><p>Hey John,</p>
<p>in the post, the code is listed. The logic in the code comes
down to this line:</p>
<pre>
<code>boolean computed = song.isAlbumRatingComputed()
if (rating > 0 && computed) {
song.setAlbumRating(1)
}</code>
</pre>
<p>In English this means, if the album rating was computed and not
entered <em>and</em> is greater than <code>0</code>, set it to
<code>1</code>. Setting it to <code>1</code> means, it is now
technically <em>entered</em> and shows as zero stars (the values
are on a scale from 0-100, so 1 is rounded down to zero stars).</p>
<p>If this does not work for you, than either the communication
with iTunes does not work, or your situation does not match the
problem.</p>
<p>Are the album ratings that the script didn't fix computed or
entered?</p>
<p>There is also one more thing to consider: When this plugin runs,
it reports that it is finished <em>before</em> it is actually
finished. It may still be running in the background. So it's worth
checking in iTunes a little after it ran...</p>
<p>Hope this helps,</p>
<p>-hendrik</p></div>hendrik