iTunes Ratings now support half-stars
-
Comments:
- here.
I updated to iTunes 6.0.2, and looky what I found:
Now, the trick is that it needs to be exactly 10, 30, 50, 70 or 90 in order to be a half-star. A rating of 75 will still appear to be three stars. I think this is a bug. I’ve written some code that does it better:
property star : «data utxt2605» as Unicode text
property half : «data utxt00BD» as Unicode text
property quarter : «data utxt00BC» as Unicode text
property threeq : «data utxt00BE» as Unicode text
on myRating(theRating)
set theResult to ""
repeat 5 times
if theRating > 20 then
set theResult to theResult & star
else if theRating > 15 then
set theResult to theResult & threeq
else if theRating > 10 then
set theResult to theResult & half
else if theRating > 5 then
set theResult to theResult & quarter
end if
set theRating to theRating - 20
end repeat
return theResult
end myRating
I’m currently using this to get the ratings data to add to my blog posts: at the moment it’s a FastScript that just inserts the data via the clipboard, but when Blogsome gets XMLRPC working again, it will be an ecto script.
It’s Still Rock And Roll To Me • Billy Joel • Greatest Hits ★★¼
I’m going to do one of these!
Whether ‘tis nobler in the mind to suffer the slings and arrows of outrageous video games… 
Now, the bit that gets my goat is that second line in the block of four down the bottom.