Update Video.service.bash

null check added to $videoContainer
This commit is contained in:
ngInit 2024-01-11 23:56:49 -07:00 committed by GitHub
parent 80c3853081
commit 33959af52a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,9 @@ source /config/extended.conf
source /config/extended/functions
verifyConfig () {
videoContainer=mkv
if [ -z "$videoContainer" ]; then
videoContainer="mkv"
fi
if [ "$enableVideo" != "true" ]; then
log "Script is not enabled, enable by setting enableVideo to \"true\" by modifying the \"/config/extended.conf\" config file..."