From 78240a015f110a5419a27e68cba3f5035e09297a Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Thu, 19 Oct 2023 08:56:16 -0400 Subject: [PATCH] 2.23 - Clear freyr cache folder after download #94 - Resolves this...? (untested) --- lidarr/Audio.service.bash | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lidarr/Audio.service.bash b/lidarr/Audio.service.bash index 1e2c9e4..68a414e 100644 --- a/lidarr/Audio.service.bash +++ b/lidarr/Audio.service.bash @@ -1,5 +1,5 @@ #!/usr/bin/with-contenv bash -scriptVersion="2.22" +scriptVersion="2.23" scriptName="Audio" ### Import Settings @@ -152,6 +152,10 @@ Configuration () { DownloadClientFreyr () { freyr --no-bar -d $audioPath/incomplete deezer:album:$1 2>&1 | tee -a "/config/logs/$logFileName" + # Resolve issue 94 + if [ -d /root/.cache/FreyrCLI ]; then + rm -rf /root/.cache/FreyrCLI/* + fi } DownloadFormat () {