From 1ab8e882f920466f0059882da9954822af91c820 Mon Sep 17 00:00:00 2001 From: rbeck4 Date: Mon, 22 Mar 2021 18:29:03 -0700 Subject: [PATCH] was falsly sending neg --- transcode.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transcode.sh b/transcode.sh index d0b3f3d..f45b343 100644 --- a/transcode.sh +++ b/transcode.sh @@ -182,7 +182,7 @@ do currFrames=$( ffprobe -loglevel error -select_streams s:$SUBTITLEINDEX \ -show_entries stream_tags=NUMBER_OF_FRAMES-eng -of csv=p=0 \ "$tmpDIR/$fileNAME") - if [ ! $( echo "($currFrames / $maxFrames) < 0.50"|bc -l ) ] + if [ $( echo "($currFrames / $maxFrames) < 0.50"|bc -l ) ] then echo "BURNING STREAM $SUBTITLEINDEX (STREAM $minINDEX) from $fileNAME" burnSubs "$tmpDIR/$fileNAME" "$tmpDIR/TMP$fileNAME" "$workDIR/$fileNAME" $SUBTITLEINDEX