From 9506eb58613f97c45539e503982fba70c3585122 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Sun, 13 Aug 2023 16:48:21 -0400 Subject: [PATCH] v1.1 - bug fix for detecting dlClientSource setting... --- lidarr/TidalVideoDownloader.bash | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lidarr/TidalVideoDownloader.bash b/lidarr/TidalVideoDownloader.bash index 8d8dcc4..c5c4bf2 100644 --- a/lidarr/TidalVideoDownloader.bash +++ b/lidarr/TidalVideoDownloader.bash @@ -1,5 +1,5 @@ #!/usr/bin/env bash -scriptVersion="1.0" +scriptVersion="1.1" scriptName="Tidal Video Downloader" #### Import Settings @@ -31,10 +31,11 @@ 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\"..." + if [ "$dlClientSource" == "tidal" ] || [ "$dlClientSource" == "both" ]; then + sleep 0.01 + else + log "ERROR: Tidal is not enabled, set dlClientSource setting to either \"both\" or \"tidal\"..." log "Sleeping (infinity)" sleep infinity fi