by 2bitencryption · 6y ago · 0 comments
They perform some analysis to increase the "perceived randomness" - e.g., if the true random seed picks the same artist twice in a row (totally possible), pick another song by a different artist, or else people will perceive the shuffle as not "random" enough.
Unfortunately I don't have the source for this right now, but I'm sure someone will hop in and provide it if I'm wrong about this :)
That was hugely frustrating, but we would get user reports of the random button being buggy when e.g. the user gets 2 tracks of the same album/artist one after the other.
Of course that can happen if we truly randomize your content !
So we switched to a pseudo random algorithm that tries to have consecutive tracks from different album/artists.