Q: dynamic playlist of unrated songs

Leo Franchi lfranchi at kde.org
Mon Jun 29 01:01:44 UTC 2009


On 28 Jun 2009, at 20:57, D. R. Evans wrote:
>
> Anyway, thank you very much, and now I have a followup question...
>
> What I *really* want to do is one of those "this was simple in 1.4"  
> things
> for which I haven't been able to find the right incantation in 2.x:
>
> Suppose I want to populate a playlist with random songs from the set
>  { unrated } ∪ { 5 stars }
> How would I do that?
>
> The closest I have been able to come seems to select with equal  
> probability
> from the two sets { unrated } and { 5 stars }, which isn't the same  
> thing
> at all :-(

If you set two 100% proportional biases, you'll end up with a randomly  
selected playlist that always picks from one of those two possible  
conditions.

cheers,
leo

---
Leo Franchi				(650) 704 3680
Tufts University 2010

lfranchi at kde.org
leonardo.franchi at tufts.edu




More information about the Amarok mailing list