Playing home videos randomly
Tuesday, April 21st, 2009My kids are currently obsessed with watching home videos of themselves. They’d rather do it that watch stuff on telly. I got bored with sitting there manually clicking on videos for them to watch, so I wrote a little script to play videos randomly using VLC. Given a parent directory, it searches all sub-directories for AVI files, randomises the list and then plays each one using VLC. Change DIR to the location of your videos:
To stop it, run the following script: