Something went wrong. Try again.
My assorted media manipulation scripts
Something went wrong. Try again.
mediascripts addstats
437 B · 19 lines
at main
1234567891011121314151617181920#!/usr/bin/env bash
# Check for tool dependenciesSELF_FULLPATH=`realpath $0`SELF_DIR=`dirname $SELF_FULLPATH`# Override default tool list, we only need the oneTOOLS=(mkvpropedit)# Does not depend on any other scriptsSCRIPTS=NONEif [ ! -r $SELF_DIR/toolchecker ]; then echo "toolchecker not found." exit 1else . $SELF_DIR/toolcheckerfi
for FILE in "$@"; do $MKVPROPEDIT --add-track-statistics-tags "$FILE"done