add forced to list of preserved track comments
This commit is contained in:
@@ -22,7 +22,7 @@ for TRACK in $TRACKS; do
|
||||
[[ $TRACK_NAME == "null" ]] && echo "has no title, skipping." && continue
|
||||
echo -n "currently set to $TRACK_NAME... "
|
||||
shopt -s nocasematch
|
||||
[[ $TRACK_NAME =~ full|\stitles|comment|director|sdh|sign ]] && echo "includes whitelisted word, not deleting." && continue
|
||||
[[ $TRACK_NAME =~ full|\stitles|comment|director|sdh|sign|forced ]] && echo "includes whitelisted word, not deleting." && continue
|
||||
echo -n "deleting... "
|
||||
# mkvmerge --identify indexes tracks from 0, while mkvpropedit indexes from 1
|
||||
mkvpropedit "$FILE" --edit track:"$((TRACK+1))" --delete name &>/dev/null
|
||||
|
||||
Reference in New Issue
Block a user