From 2f377c313cd68869db1ea4696f59c589a906aa0b Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Mon, 10 Jul 2023 13:49:00 +0000 Subject: [PATCH] Update Video.service.bash --- lidarr/Video.service.bash | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/lidarr/Video.service.bash b/lidarr/Video.service.bash index 907cb46..34d78c2 100644 --- a/lidarr/Video.service.bash +++ b/lidarr/Video.service.bash @@ -51,20 +51,6 @@ if [ "$dlClientSource" = "tidal" ] || [ "$dlClientSource" = "both" ]; then fi -verifyApiAccess () { - until false - do - lidarrTest=$(wget --timeout=0 -q -O - "$arrUrl/api/v1/system/status?apikey=${arrApiKey}" | jq -r .appName) - if [ "$lidarrTest" == "Lidarr" ]; then - lidarrVersion=$(wget --timeout=0 -q -O - "$arrUrl/api/v1/system/status?apikey=${arrApiKey}" | jq -r .version) - log "Lidarr Version: $lidarrVersion" - break - else - log "Lidarr is not ready, sleeping until valid response..." - sleep 1 - fi - done -} # auto-clean up log file to reduce space usage if [ -f "/config/logs/Video.txt" ]; then