The shuffling is taken care of by the php script, it gets all the videos and then shuffles the order. It can lead to back to back playing of the same episode every now and then, but it is not all that often once you get alot of videos in your playlist.