From 383d10b026bc440594193b529eb568ae825f8cc7 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Thu, 4 May 2023 14:09:51 -0400 Subject: [PATCH] 1.0.310 - Supress error messages #232 - Should fix this... --- root/scripts/Audio.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/root/scripts/Audio.sh b/root/scripts/Audio.sh index 5d73b72..51a1f97 100644 --- a/root/scripts/Audio.sh +++ b/root/scripts/Audio.sh @@ -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