From 11b0c33b006546c80637a14ac82f64335a62da79 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Wed, 12 Jul 2023 12:20:21 +0000 Subject: [PATCH] v1.0.5 - make configurable --- sabnzbd/video.bash | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/sabnzbd/video.bash b/sabnzbd/video.bash index 8f5e18b..68b8cd8 100644 --- a/sabnzbd/video.bash +++ b/sabnzbd/video.bash @@ -1,11 +1,14 @@ #!/usr/bin/with-contenv bash -scriptVersion="1.0.4" +scriptVersion="1.0.5" +scriptName="Video" -######## Settings -videoLanguages="eng" -requireLanguageMatch="true" -enableSma="true" -enableSmaTagging="true" +#### Import Settings +source /config/extended.conf + +log () { + m_time=`date "+%F %T"` + echo $m_time" :: $scriptName :: $scriptVersion :: "$1 +} set -e set -o pipefail @@ -49,12 +52,6 @@ function Configuration { fi } - -function log { - m_time=`date "+%F %T"` - echo $m_time" :: $scriptVersion :: "$1 -} - VideoLanguageCheck () { count=0