TV show episode randomizer
3 November 2017
Dealing with FRIENDS (my favourite TV show) is always a huge pain in the ass. What episode am I gonna watch today? How can I randomly choose one (blind scrolling is not an option for an engineer)?
The other day I was so frustrated about that, I decided to write a script to solve of this world-wide problem.
When you’re such a huge fan of a TV show or a music group, you don’t rely on Netflix or Spotify. No matter what, you have the physical files with you all the time.
In my case FRIENDS consists of 236 episodes, divided in 10 seasons: 24, 24, 25, 24, 24, 25, 24, 24, 24 and 18 episodes each. The way I stored them is:
- one folder per season (
Season S, no leading zeros)
- files are named
SSxEE. Episode Title1
Except for episodes
10x17-18which have been aired together, lowering the files number to 234. ↩