From 7d47500b246d3154335102059234ffdbb02e89f7 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Wed, 10 Aug 2022 11:18:41 +0000 Subject: [PATCH] 1.0.023 - Remove unneeded tidal-dl configuration steps --- root/scripts/video.sh | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/root/scripts/video.sh b/root/scripts/video.sh index 72beb38..5d523e4 100644 --- a/root/scripts/video.sh +++ b/root/scripts/video.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -scriptVersion="1.0.022" +scriptVersion="1.0.023" if [ -z "$lidarrUrl" ] || [ -z "$lidarrApiKey" ]; then lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)" @@ -161,24 +161,11 @@ TidalClientSetup () { log "TIDAL :: ERROR :: Loading client for required authentication, please authenticate, then exit the client..." tidal-dl 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 - log "TIDAL :: Purging album list cache..." - find /config/extended/cache/tidal -type f -name "*.json" -delete - fi - + if [ ! -d "$downloadPath/incomplete" ]; then mkdir -p $downloadPath/incomplete chmod 777 $downloadPath/incomplete chown abc:abc $downloadPath/incomplete - else - rm -rf $downloadPath/incomplete/* fi TidaldlStatusCheck