2.23 - Clear freyr cache folder after download

#94 - Resolves this...? (untested)
This commit is contained in:
RandomNinjaAtk 2023-10-19 08:56:16 -04:00 committed by GitHub
parent 7fceead15b
commit 78240a015f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 () {