Python script, that acts as a front end for mkvtoolnix to removeexcess audio and subtitle streams from mkv files.
Python script, that acts as a front end for mkvtoolnix to remove excess audio and subtitle streams from mkv files. Also correcting title information if needed. The intention is to allow someone to setup a cronjob, to run this script at regular intervals (for example, every night). Keeping your Movie collection from collecting excessive tracks.
pip install mkvstrip
mkvstrip -b /usr/bin/mkvmerge -l eng,fre /mnt/movies
mkvstrip -b C:\\Program/ Files\MKVToolNix\mkvmerge.exe -l eng,fre \\nas\movies
mkvstrip.py [-h] [-t] -b path -l lang path positional arguments: path Where your MKV files are stored. Can be a directory or a file. optional arguments: -h, --help show this help message and exit -t, --dry-run Enable mkvmerge dry run for testing. -b path, --mkvmerge-bin path The path to the MKVMerge executable. -l lang, --language lang 3-character language code (e.g. eng). To retain multiple, separate languages with a comma (e.g. eng,spa).