From: Samir Benmendil Date: Wed, 16 Jan 2013 21:27:45 +0000 (+0100) Subject: remove (year)(quality)[lang] when setting the title X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/69ae358e03e3488a3927135c4907b2dab546c1eb remove (year)(quality)[lang] when setting the title --- diff --git a/bin/mkvsettitle b/bin/mkvsettitle index f9a8c8d..b74b76a 100755 --- a/bin/mkvsettitle +++ b/bin/mkvsettitle @@ -10,5 +10,7 @@ for f in "$dir"/*; do esac t=$(basename "$f" "$ext") t=${t%.*} + # remove also (2013){1080p}[en] stuff + t=${t% (*)\{*\}*} mkvpropedit --set title="$t" "$f" > /dev/null done