Skip to content

Commit 78240a0

Browse files
2.23 - Clear freyr cache folder after download
#94 - Resolves this...? (untested)
1 parent 7fceead commit 78240a0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lidarr/Audio.service.bash

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/with-contenv bash
2-
scriptVersion="2.22"
2+
scriptVersion="2.23"
33
scriptName="Audio"
44

55
### Import Settings
@@ -152,6 +152,10 @@ Configuration () {
152152

153153
DownloadClientFreyr () {
154154
freyr --no-bar -d $audioPath/incomplete deezer:album:$1 2>&1 | tee -a "/config/logs/$logFileName"
155+
# Resolve issue 94
156+
if [ -d /root/.cache/FreyrCLI ]; then
157+
rm -rf /root/.cache/FreyrCLI/*
158+
fi
155159
}
156160

157161
DownloadFormat () {

0 commit comments

Comments
 (0)