“Shuffle show” randomization algorithm needs improvement

I like to shuffle episodes for my kids when they are watching a show. I have noticed that when I click the shuffle button, it tends to play the same random episodes each time, even though there are dozens of episodes recorded.

Unfortunately, that's how random works :confused:

How many recordings are in the shows when you're seeing this?

Hm, I thought I had more recordings but I guess some of them had been deleted, it looks like it is only around 15, which probably explains what I am seeing then.

Does the randomize function you are using allow you to provide a seed or anything like that? That is usually the go-to to avoid repeating the same random pattern each time.

Yes, but again, with a small set like that, it’s still easy to see duplicates like that.