|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
scriptVersion="1.0.0049"
|
|
|
|
|
scriptVersion="1.0.0050"
|
|
|
|
|
lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)"
|
|
|
|
|
if [ "$lidarrUrlBase" = "null" ]; then
|
|
|
|
|
lidarrUrlBase=""
|
|
|
|
@ -297,10 +297,11 @@ TidalClientSetup () {
|
|
|
|
|
cp /config/extended/scripts/tidal-dl.json /config/xdg/.tidal-dl.json
|
|
|
|
|
chmod 777 -R /config/xdg/
|
|
|
|
|
fi
|
|
|
|
|
tidal-dl -o /downloads/lidarr-extended/incomplete
|
|
|
|
|
tidal-dl -r P1080
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
DownloadFormat
|
|
|
|
|
|
|
|
|
|
# check for backup token and use it if exists
|
|
|
|
|
if [ ! -f /config/xdg/.tidal-dl.token.json ]; then
|
|
|
|
|
if [ -f /config/backup/tidal-dl.token.json ]; then
|
|
|
|
|