Only run script if dlClientSource setting enables it...

This commit is contained in:
RandomNinjaAtk
2023-08-13 16:42:18 -04:00
committed by GitHub
parent 659e229349
commit 2bd180fc4b

View File

@@ -31,6 +31,13 @@ verifyConfig () {
log "Sleeping (infinity)"
sleep infinity
fi
if [ "$dlClientSource" != "tidal" ] || [ "$dlClientSource" != "both" ]; then
log "ERROR: Tidal is not enabled, set dlClientSource setting to either \"both\" or \"tidal\"..."
log "Sleeping (infinity)"
sleep infinity
fi
}
TidalClientSetup () {