1.0.310 - Supress error messages

#232 - Should fix this...
pull/240/head
RandomNinjaAtk 2 years ago committed by GitHub
parent 2e4f52d3aa
commit 383d10b026
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,5 @@
#!/usr/bin/env bash
scriptVersion="1.0.309"
scriptVersion="1.0.310"
if [ -z "$lidarrUrl" ] || [ -z "$lidarrApiKey" ]; then
lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)"
if [ "$lidarrUrlBase" == "null" ]; then
@ -988,7 +988,7 @@ GetMissingCutOffList () {
fi
done
lidarrMissingRecords=$(ls /config/extended/cache/lidarr/list | wc -l )
lidarrMissingRecords=$(ls /config/extended/cache/lidarr/list | wc -l 2>/dev/null)
log "$page :: missing :: ${lidarrMissingRecords} albums found to process!"
wantedListAlbumTotal=$lidarrMissingRecords
@ -1027,7 +1027,7 @@ GetMissingCutOffList () {
fi
done
lidarrCutoffRecords=$(ls /config/extended/cache/lidarr/list/*-cutoff | wc -l)
lidarrCutoffRecords=$(ls /config/extended/cache/lidarr/list/*-cutoff | wc -l 2>/dev/null)
log "$page :: cutoff :: ${lidarrCutoffRecords} ablums found to process!"
wantedListAlbumTotal=$lidarrCutoffRecords

Loading…
Cancel
Save