I have added a lot of albums to a playlist. When I start the playlist with shuffle, I think, that titles are played only from a few albums. Is that possible? What shuffle algorithm is used?
idx = random.randint(0, len(self.__random_files) - 1) next_item = self.__random_files.pop(idx)