1. But I don't understand what the selection criteria 'random artists',
'random titles', 'random albums' and 'random years' actually mean.
There's no difference between artists and titles when you select
randomly. If there were statistically significant differences it would
not be a random selection.

Random titles would pick random titles of all your library. Random albums picks albums randomly, playing them as a whole from track 1 to x. Random artists picks an artist and plays all his tracks before picking the next random artist.

2. I see that the selection is not so random, e.g. ticking country will
result in 10 tracks of 100 by Johnny Cash but none by T. van Zandt
although the latter features more prominently in my collection. How can
I optimise this selection?

This kind of complaint has come up over and over again. Here's what's happening: LMS would create a list of all tracks by a given selection (eg. "Country"). Then it would randomize that list, and play it from the first to the last track. "Random" means you could end up with all Cash tracks in a row, or all mixed. It's the nature of a random order.

Maybe our implementation of the Fisher Yates shuffling is broken?

https://github.com/Logitech/slimserver/blob/public/7.9/Slim/Player/Playlist.pm#L713

Feel free to verify it :-)

--

Michael
_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to