From c5cfad1620ada991081626479066dc3033be3e5f Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Tue, 21 Jun 2022 11:48:32 +0000 Subject: [PATCH] 1.0.0043 - bug fix...? --- root/scripts/download.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/root/scripts/download.sh b/root/scripts/download.sh index 8a1f4e0..c2765ee 100644 --- a/root/scripts/download.sh +++ b/root/scripts/download.sh @@ -1,4 +1,5 @@ -#!/usr/bin/with-contenv bash +#!/usr/bin/env bash +scriptVersion="1.0.0043" lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)" if [ "$lidarrUrlBase" = "null" ]; then lidarrUrlBase="" @@ -37,7 +38,7 @@ Configuration () { log "" sleep 2 log "############# $dockerTitle" - log "############# SCRIPT VERSION 1.0.0042" + log "############# SCRIPT VERSION $scriptVersion" log "############# DOCKER VERSION $dockerVersion" if [ -z $topLimit ]; then @@ -338,7 +339,7 @@ TidalClientSetup () { rm -rf /downloads/lidarr-extended/incomplete/* fi - tidal-dl -o /downloads/lidarr-extended/incomplete -l "https://tidal.com/browse/album/60261268" + tidal-dl -o /downloads/lidarr-extended/incomplete -l "60261268" downloadCount=$(find /downloads/lidarr-extended/incomplete/ -type f -regex ".*/.*\.\(flac\|opus\|m4a\|mp3\)" | wc -l) if [ $downloadCount -le 0 ]; then