Hi,
I just found out Teridon's old site doesn't seem to work any more. I've managed to download a cached copy of the script however so I'll see if I can make sense of it. From what I understand the ID3 "Popularimeter" Rating can take any value from 1 to 255 with 0 being unknown. iTunes uses a value from 0% to 100% internally so I'm not quite sure why the script is using a lookup table instead of something like INT((X*100)/255), however since I really don't know Perl I might have to wrap my head around that first...
Actually this shouldn't be too hard. Download a copy of
Notepad++ open the script and either edit the existing lines that read
"154" => 60, # 3.0 stars
and
"205" => 80, # 4.0 stars
to read
"153" => 60, # 3.0 stars
and
"204" => 80, # 4.0 stars
respectively (no backwards compatability), or add the extra lines into the script so that the whole function reads as:
my %mm_to_itunes_rating = (
"13" => 10, # 0.5 stars
"28" => 10, # 0.5 stars
"23" => 20, # 1.0 stars
"53" => 20, # 1.0 stars
"54" => 30, # 1.5 stars
"78" => 30, # 1.5 stars
"64" => 40, # 2.0 stars
"104" => 40, # 2.0 stars
"118" => 50, # 2.5 stars
"129" => 50, # 2.5 stars
"128" => 60, # 3.0 stars
"153" => 60, # 3.0 stars
"154" => 60, # 3.0 stars
"179" => 70, # 3.5 stars
"186" => 70, # 3.5 stars
"196" => 80, # 4.0 stars
"204" => 80, # 4.0 stars
"205" => 80, # 4.0 stars
"230" => 90, # 4.5 stars
"242" => 90, # 4.5 stars
"252" => 100, # 5.0 stars
"255" => 100, # 5.0 stars
);
Not tested, but there is really no reason to believe it won't fix the issue. And now you know what to do if other values cause problems.
tt2