Video Playlist with Interruptions (Gooning Software Concept)

Given two directories the program will choose a random amount of times to interrupt videos from "video_dir" with ones from "video_interruption_dir". It builds an m3u8 playlist of these videos. Playlist works in VLC Media Player. The playlist uses m3u8 extensions provided by VLC for start-time and stop-time.

The program depends on Python 3 and FFmpeg. For FFmpeg use the shared build if you're also doing other audio or video work.

You may also use file system linking, hard links or symlinks, to make your video directories for this. In Windows use Link Shell Extension to assist.

FFmpeg: https://www.ffmpeg.org/download.html
Link Shell Extension: https://schinagl.priv.at/nt/hardlinkshellext/linkshellextension.html#download
Python 3: https://www.python.org/downloads/
VLC Media Player: https://www.videolan.org/vlc/index.html

Configuration in playlist.json is done by prompts when you run the program. If you do change playlist.json manually, follow these rules.

"min_interruptions" is a number greater than 0 and less than max_interruptions. Set to 1 for possibility of no interruption. Don't set to 0, you will get division by zero error.

"max_interruptions" is a number greater than 1 and min_interruptions. Set it equal to "min_interruptions" for the same amount of them every time.

"max_playlist_minutes" is a number greater than 0. When the playlist reaches this length, the current video will finish without interruptions.

Windows directory paths require double slash, or single forward slash, in playlist.json:
    "video_dir": "C:/playlist/videos",
    "video_interruption_dir": "C:\\playlist\\interruptions",
    "video_playlist_file": "C:\\playlist\\playlist.m3u8",