On 3-Jan-06, at 9:13 PM, Mike Anderson wrote:
I'm curious how random the "Random Song Mix" feature is. Is it truly
(pseudo)random?
I ask this because I frequently find that a random mix will select two
songs off the same album within a short span of songs, even though I
have quite a few albums (more than 600).
I haven't done any statistical testing to detect any non-randomness,
but I suspect there's something going on.
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
_______________________________________________
Discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss