Score2Rating (v1.2)

About:
Score2Rating is a script that converts the scores of your tracks in amaroK to ratings using some pretty accurate intervals. (In the future, the intervals might become changeable). This is mostly usable to give you a starting point for using the new rating system in amaroK 1.4.

Note that tracks with the same score can get different ratings, this is because amaroK rounds the score that is saved in the database.
An example: If the shown score is 95 (the limit between rating 4 and 5), the database can contain anything from 94.500 to 95.499. If the "real" score is below 95 (94.500-94.999), the track will get a rating of 4, if it's above 95 (95.000-95.499), the rating will be 5.
This will happen around all the rating limits (20, 60, 85 and 95).

It is recommended that you back up your database (the statistics table at least) before running this script. It should do no harm, but you can never be too safe...

Usage:
Just start it and then click configure, and it will do everything automagically! It will tell you tell you (using a popup in the playlist window) when it's done.

Dependencies:

- amaroK 1.4.*
- Ruby 1.8