v1.0.001 - bug fix...

pull/35/head
RandomNinjaAtk 2 years ago committed by GitHub
parent c62dbb46f4
commit 0c2b422999
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
scriptVersion="1.0.000" scriptVersion="1.0.001"
lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)" lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)"
if [ "$lidarrUrlBase" = "null" ]; then if [ "$lidarrUrlBase" = "null" ]; then
lidarrUrlBase="" lidarrUrlBase=""
@ -204,7 +204,7 @@ CacheMusicbrainzRecords () {
fi fi
find "$downloadPath/incomplete" -type f -regex ".*/.*\.\(mkv\|mp4\)" -print0 | while IFS= read -r -d '' video; do find "$downloadPath/incomplete" -type f -regex ".*/.*\.\(mkv\|mp4\)" -print0 | while IFS= read -r -d '' video; do
count=$(($count+1))if ps aux | grep "tidal-dl" | grep -v "grep" | read; then echo "found"; else echo "not found"; fi count=$(($count+1))
file="${video}" file="${video}"
filenoext="${file%.*}" filenoext="${file%.*}"
filename="$(basename "$video")" filename="$(basename "$video")"

Loading…
Cancel
Save