Fixing that bug doesn't require a schema change; you just write nulls instead of zeros and change the handling of the two values.<br><br>The Amarok devs spent quite a lot of time coming up with new schema used in Amarok 2, and I suspect they'll be reluctant to change it. There were also quite specific reasons for moving to MySQLe and only MySQL backend - it means far lower support costs than when you have potentially 3 different backends (you don't have to manage three sets of interfaces).<br>
<br>I like your suggested behaviour for ratings, and null seems to me to be the way to represent unrated, given that null means 'no information', but I don't think this is an entire GSoC project. You could probably fix 172112 in a few days of coding. Why don't you give it a shot and submit a patch to the bug?<br>
<br><div class="gmail_quote">On Thu, Mar 26, 2009 at 8:58 AM, Caleb Cushing <span dir="ltr"><<a href="mailto:xenoterracide@gmail.com">xenoterracide@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Most of what I want to do is fix this bug<br>
<a href="https://bugs.kde.org/show_bug.cgi?id=172112" target="_blank">https://bugs.kde.org/show_bug.cgi?id=172112</a> but as long as I'm up to<br>
correcting things like proper handling of nulls, I might as well<br>
correct the rest of the way the database works (quite a few<br>
denormalized things in it). While working on it I hope also to make<br>
the format portable enough to support other databases, such as<br>
postgres. The only user interface change that I can see (that's not<br>
planned) is the ability to specify ratings of 0, I would suggest<br>
making the stars have 3 clicks, 1 full start, 2, half, 3 no star.<br>
<br>
questions, comments, suggestions welcome.<br>
<font color="#888888">--<br>
Caleb Cushing<br>
<br>
<a href="http://xenoterracide.blogspot.com" target="_blank">http://xenoterracide.blogspot.com</a><br>
_______________________________________________<br>
Amarok mailing list<br>
<a href="mailto:Amarok@kde.org">Amarok@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/amarok" target="_blank">https://mail.kde.org/mailman/listinfo/amarok</a><br>
</font></blockquote></div><br>