|
|
|
@ -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
|
|
|
|
|