kdf Wrote: 
>  From Slim/DataStores/DBI/Datamodel:
> 
> our %sortRandomMap = (
> 
>       'SQLite' => 'RANDOM()',
>       'mysql'  => 'RAND()',
> );
> 
> The above is what slimserver uses to draw up a random order for song 
> selection.
> If you have a problem with the randomness, you might have to take this 
> one up with Larry Wall :)
> 
> -kdf

Can I assume it samples (with replacement, over a uniform probability
function) songs at random from the list of all songs, such that an
album with twice as many songs as another is twice as likely to be
selected in any given draw?


-- 
Mike Anderson

'FREE RADICAL 
RADIO!' (http://nvo.com/cd)  Hours of free radical MP3s.
------------------------------------------------------------------------
Mike Anderson's Profile: http://forums.slimdevices.com/member.php?userid=1705
View this thread: http://forums.slimdevices.com/showthread.php?t=19696

_______________________________________________
Discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss

Reply via email to