From 185b5805f30effd6b102eaf13198d93cb0edbf6e Mon Sep 17 00:00:00 2001 From: samirfor Date: Wed, 14 Sep 2016 16:13:40 -0300 Subject: [PATCH] Update eac3toac3.sh force LANG english --- eac3toac3.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eac3toac3.sh b/eac3toac3.sh index dc4c013..51ae07b 100755 --- a/eac3toac3.sh +++ b/eac3toac3.sh @@ -10,7 +10,7 @@ IFILE=$(basename "$MKV_INPUT") IFILE="${IFILE%.*}" # get E-AC3 audio track ID from MKV container -LINE=$(mkvinfo ${MKV_INPUT} | grep "Track type" | grep -n "audio" | cut -d":" -f1) +LINE=$(LANG=C mkvinfo ${MKV_INPUT} | grep "Track type" | grep -n "audio" | cut -d":" -f1) AUDIO_ID=$(( $LINE - 1 )) # extract E-AC3 audio track from MKV container