|
|
@ -1,5 +1,5 @@
|
|
|
|
#!/usr/bin/env bash
|
|
|
|
#!/usr/bin/env bash
|
|
|
|
scriptVersion="1.0.155"
|
|
|
|
scriptVersion="1.0.156"
|
|
|
|
lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)"
|
|
|
|
lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)"
|
|
|
|
if [ "$lidarrUrlBase" = "null" ]; then
|
|
|
|
if [ "$lidarrUrlBase" = "null" ]; then
|
|
|
|
lidarrUrlBase=""
|
|
|
|
lidarrUrlBase=""
|
|
|
@ -421,6 +421,12 @@ TidalClientSetup () {
|
|
|
|
tidal-dl
|
|
|
|
tidal-dl
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ ! -d /config/extended/cache/tidal ]; then
|
|
|
|
|
|
|
|
mkdir -p /config/extended/cache/tidal
|
|
|
|
|
|
|
|
chmod 777 /config/extended/cache/tidal
|
|
|
|
|
|
|
|
chown abc:abc /config/extended/cache/tidal
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
if [ -d /config/extended/cache/tidal ]; then
|
|
|
|
if [ -d /config/extended/cache/tidal ]; then
|
|
|
|
log ":: TIDAL :: Purging album list cache..."
|
|
|
|
log ":: TIDAL :: Purging album list cache..."
|
|
|
|
find /config/extended/cache/tidal -type f -name "*.json" -delete
|
|
|
|
find /config/extended/cache/tidal -type f -name "*.json" -delete
|
|
|
|