3.6 - Use new disableImvd config setting
Disables script if disableImvdb setting is true...
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
scriptVersion="3.5"
|
||||
scriptVersion="3.6"
|
||||
scriptName="Video"
|
||||
|
||||
### Import Settings
|
||||
@@ -12,12 +12,22 @@ verifyConfig () {
|
||||
videoContainer="mkv"
|
||||
fi
|
||||
|
||||
if [ -z "$disableImvd" ]; then
|
||||
disableImvd="fasle"
|
||||
fi
|
||||
|
||||
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)"
|
||||
sleep infinity
|
||||
fi
|
||||
|
||||
|
||||
if [ "$disableImvd" = "true" ]; then
|
||||
log "Script is not enabled, enable by setting disableImvd to \"false\" by modifying the \"/config/extended.conf\" config file..."
|
||||
log "Sleeping (infinity)"
|
||||
sleep infinity
|
||||
fi
|
||||
|
||||
if [ -z "$downloadPath" ]; then
|
||||
downloadPath="/config/extended/downloads"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user