- iTunes 4.9 and RatingsCool... This works:
<pre>
iTunesLib.IiTunes iTunes = (iTunesLib.IiTunes)new iTunesLib.iTunesAppClass();
IITTrack track = iTunes.CurrentTrack;
track.Rating = 60;
</pre>
I was trying to set ratings in previous versions of iTunes and not having much luck; finally I can write something to move all my song ratings from the Windows Media Player database into the iTunes database.<p>
iTunes still doesn't import ratings when you import the XML file.Thu, 01 Sep 2005 19:17:09 GMT