diff --git a/lidarr/Video.service.bash b/lidarr/Video.service.bash index e40c857..bb7e8aa 100644 --- a/lidarr/Video.service.bash +++ b/lidarr/Video.service.bash @@ -1,5 +1,5 @@ #!/usr/bin/env bash -scriptVersion="1.5" +scriptVersion="1.6" scriptName="Video" #### Import Settings @@ -16,6 +16,18 @@ if [ "$enableVideo" != "true" ]; then sleep infinity fi +if [ -z "$downloadPath" ]; then + downloadPath="/config/extended/downloads" +fi + +if [ -z "$videoPath" ]; then + log "ERROR: videoPath is not configured via the \"/config/extended.conf\" config file..." + log "Updated your \"/config/extended.conf\" file with the latest options, see: https://github.com/RandomNinjaAtk/arr-scripts/blob/main/lidarr/extended.conf" + log "Sleeping (infinity)" + sleep infinity +fi + + getArrAppInfo () { # Get Arr App information if [ -z "$arrUrl" ] || [ -z "$arrApiKey" ]; then