From d4621db2de1a73ab0174296cebf24a21096b02d3 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Sun, 6 Mar 2022 12:19:10 -0500 Subject: [PATCH] v1.0.15 - new option: RequireLanguage --- root/scripts/video-pp.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/root/scripts/video-pp.bash b/root/scripts/video-pp.bash index 7c21390..a879abc 100644 --- a/root/scripts/video-pp.bash +++ b/root/scripts/video-pp.bash @@ -11,7 +11,7 @@ function Configuration { log "##### SABnzbd Category: $category" log "##### DOCKER: $TITLE" log "##### SCRIPT: Video Post Processor ($TITLESHORT)" - log "##### SCRIPT VERSION: 1.0.14" + log "##### SCRIPT VERSION: 1.0.15" log "##### DOCKER VERSION: $VERSION" log "##### CONFIGURATION VERIFICATION" @@ -167,7 +167,7 @@ function Main { log "INFO: deleted: $filename" continue fi - else + elif [ "${RequireLanguage}" = "true" ]; then log "ERROR: No \"${VIDEO_LANG}\" audio or subtitle tracks found..." rm "$video" log "INFO: deleted: $filename"