James "Doc" Livingston wrote: > On Wed, 2006-11-08 at 18:10 +0000, Peter wrote: >> I would like a rating-weigted random mode (where more stars means more >> likely to be played; but taking into account the total tracks for each >> rating), but that's getting complicated... > > If you have the shuffle and repeat options on, it does this. In case > someone wants to know the exact formula is the following (unrated is > treated as 3): > weight = rating * log(time since last played) >
I haven't checked the code, but the fact you say "unrated is treated as 3" leads me to think that "zero stars" is the same as "unrated". Is that correct? > There is a bug about having a better way of choosing play orders, and > making it more descriptive (how many people would realise the above), > and a patch. The problem is that the other ways of displaying them, like > a menu, are harder to use for people used to the "shuffle" and "repeat" > toggles. Interesting... I'll try running shuffle with repeat. And yes, it really could be more descriptive ;) Something for the FAQ? http://www.gnome.org/projects/rhythmbox/faq.html e.g. Question: In shuffle/random mode, can I have highly rated tracks play more often than low rated songs? Answer: Use shuffle with repeat on to use rating weights, use shuffle with repeat off to give all songs equal probability. Thanks Peter _______________________________________________ rhythmbox-devel mailing list [email protected] http://mail.gnome.org/mailman/listinfo/rhythmbox-devel
