From 6ae68f565562ea0ba1338608acc6478f88659a1c Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Thu, 11 May 2023 17:48:31 -0400 Subject: [PATCH] 1.0.28 Run SMA before language failure --- root/scripts/video-pp.bash | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/root/scripts/video-pp.bash b/root/scripts/video-pp.bash index 6e813b1..c2ddf97 100644 --- a/root/scripts/video-pp.bash +++ b/root/scripts/video-pp.bash @@ -2,7 +2,7 @@ export LC_ALL=C.UTF-8 export LANG=C.UTF-8 TITLESHORT="VPP" -scriptVersion=1.0.27 +scriptVersion=1.0.28 set -e set -o pipefail @@ -91,6 +91,11 @@ VideoLanguageCheck () { done if [ "$preferredLanguage" == "false" ]; then + if [ ${VIDEO_SMA} = TRUE ]; then + if [ "$smaProcessComplete" == "false" ]; then + return + fi + fi if [ "$RequireLanguage" == "true" ]; then log "$count of $fileCount :: ERROR :: No matching languages found in $(($videoAudioTracksCount + $videoSubtitleTracksCount)) Audio/Subtitle tracks" log "$count of $fileCount :: ERROR :: Disable "