From 066f3452be9a8230a3976f7f5356912e6b64214b Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Sat, 15 Jul 2023 10:59:43 -0400 Subject: [PATCH] 2.3 - Move import settings to functoin --- lidarr/Video.service.bash | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lidarr/Video.service.bash b/lidarr/Video.service.bash index e8588b7..2d8f3cc 100644 --- a/lidarr/Video.service.bash +++ b/lidarr/Video.service.bash @@ -1,11 +1,7 @@ #!/usr/bin/with-contenv bash -scriptVersion="2.2" +scriptVersion="2.3" scriptName="Video" -#### Import Settings -source /config/extended.conf -videoContainer=mkv - log () { m_time=`date "+%F %T"` echo $m_time" :: $scriptName :: $scriptVersion :: "$1 @@ -23,6 +19,10 @@ logfileSetup () { } verifyConfig () { + #### Import Settings + source /config/extended.conf + videoContainer=mkv + if [ "$enableVideo" != "true" ]; then log "Script is not enabled, enable by setting enableVideo to \"true\" by modifying the \"/config/extended.conf\" config file..." log "Sleeping (infinity)"