Script: RandFlix
RandFlix
Yes, the name is inspired by Netflix.
I don’t know how but I’ve developed a habit of listening to a movie or TV show when doing chores, like cleaning, dishes, cooking etc. RandFlix is my solution to make the experience a bit better.
The script is invoked by a single keypress on the terminal. It automatically switches the audio device to the one in the Kitchen (where I most need this script), mounts my media drive if necessary and plays a random episode from the specified show. There’s also some logic to make sure it doesn’t repeat the same episode twice unless the entire show is played. It uses a JSON files as a db, to keep track of played episodes etc.
