The shuffle is not random. Spotify's patents show how the recommendation engine works.