From 2bd180fc4b6e895e9d44aa51868751b9b63ca6a4 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Sun, 13 Aug 2023 16:42:18 -0400 Subject: [PATCH] Only run script if dlClientSource setting enables it... --- lidarr/TidalVideoDownloader.bash | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lidarr/TidalVideoDownloader.bash b/lidarr/TidalVideoDownloader.bash index cfb0c29..8d8dcc4 100644 --- a/lidarr/TidalVideoDownloader.bash +++ b/lidarr/TidalVideoDownloader.bash @@ -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 () {