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)"