Re: [Banshee-List] Weighed shuffle mode - code proposal and cry for help.

On Mon, 2008-05-12 at 11:59 +0200, Elena Grassi wrote:
> Thank you very much...first free night of the week and I'll follow (not
> that I didn't read them, sorry :) ) the HACKING guidelines and your
> suggestions (btw it's strange, right now the code is working for me...).

OK, I figured out what's wrong : I have only a few rated songs (I'm
lazy, and automatic telepathic rating isn't implemented yet...), and
none were rated with 3 stars.
The code assigns 3 stars to unrated song when calculating the weights,
but then when it was looking for a 3 stars song in my library, there was
none to be found.

I don't know what would be the best solution : exclude unrated songs
from the weight computation ? Include unrated songs when querying for
songs with the default (3 stars) rating ? Something else ?

And now I'm going to have to rate all my songs... ;)

Bertrand Lorentz <bertrand lorentz gmail com>
> <

Attachment: signature.asc
Description: This is a digitally signed message part

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]