parent
18d2af81ca
commit
69d170cb2a
1 changed files with 7 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/with-contenv bash
|
#!/usr/bin/with-contenv bash
|
||||||
scriptVersion="2.1"
|
scriptVersion="2.2"
|
||||||
scriptName="Video"
|
scriptName="Video"
|
||||||
|
|
||||||
#### Import Settings
|
#### Import Settings
|
||||||
|
@ -33,6 +33,10 @@ verifyConfig () {
|
||||||
downloadPath="/config/extended/downloads"
|
downloadPath="/config/extended/downloads"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -z "$videoScriptInterval" ]; then
|
||||||
|
videoScriptInterval="15m"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -z "$videoPath" ]; then
|
if [ -z "$videoPath" ]; then
|
||||||
log "ERROR: videoPath is not configured via the \"/config/extended.conf\" config file..."
|
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 "Updated your \"/config/extended.conf\" file with the latest options, see: https://github.com/RandomNinjaAtk/arr-scripts/blob/main/lidarr/extended.conf"
|
||||||
|
@ -741,8 +745,8 @@ for (( ; ; )); do
|
||||||
getArrAppInfo
|
getArrAppInfo
|
||||||
verifyApiAccess
|
verifyApiAccess
|
||||||
VideoProcess
|
VideoProcess
|
||||||
log "Script sleeping for 15 minutes..."
|
log "Script sleeping for $videoScriptInterval..."
|
||||||
sleep 15m
|
sleep $videoScriptInterval
|
||||||
done
|
done
|
||||||
|
|
||||||
exit
|
exit
|
||||||
|
|
Loading…
Reference in a new issue