Update download.sh

pull/6/head
RandomNinjaAtk 2 years ago committed by GitHub
parent a53b47b92c
commit 29a897ad68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -100,6 +100,9 @@ DownloadProcess () {
if [ "$2" = "DEEZER" ]; then if [ "$2" = "DEEZER" ]; then
deemix -b flac -p /downloads/lidarr/incomplete "https://www.deezer.com/us/album/$1" deemix -b flac -p /downloads/lidarr/incomplete "https://www.deezer.com/us/album/$1"
if [ -d "/tmp/deemix-imgs" ]; then
rm -rf /tmp/deemix-imgs
fi
touch /config/logs/downloaded/deezer/$1 touch /config/logs/downloaded/deezer/$1
downloadCount=$(find /downloads/lidarr/incomplete/ -type f -regex ".*/.*\.\(flac\|opus\|m4a\|mp3\)" | wc -l) downloadCount=$(find /downloads/lidarr/incomplete/ -type f -regex ".*/.*\.\(flac\|opus\|m4a\|mp3\)" | wc -l)
if [ $downloadCount -le 0 ]; then if [ $downloadCount -le 0 ]; then

Loading…
Cancel
Save