3.6 - Use new disableImvd config setting
Disables script if disableImvdb setting is true...
This commit is contained in:
parent
4c2c0b3dd8
commit
6cbec2ad33
1 changed files with 12 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue