From 4a9f05c094a86a91ad9a4b636c5a141dd4fe1577 Mon Sep 17 00:00:00 2001 From: Jackmaninov Date: Sat, 14 Oct 2023 21:45:29 +0300 Subject: [PATCH] fix: broke a path --- lidarr/Audio.service.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lidarr/Audio.service.bash b/lidarr/Audio.service.bash index 557ba7f..7f4920c 100644 --- a/lidarr/Audio.service.bash +++ b/lidarr/Audio.service.bash @@ -998,7 +998,7 @@ GetMissingCutOffList () { log "$page :: missing :: Downloading page $page... ($offset - $dlnumber of $lidarrMissingTotalRecords Results)" wget --timeout=0 -q -O - "$arrUrl/api/v1/wanted/missing?page=$page&pagesize=$amountPerPull&sortKey=$searchOrder&sortDirection=$searchDirection&apikey=${arrApiKey}" | jq -r '.records[].id' | sort > /config/extended/cache/tocheck.txt log "$page :: missing :: Filtering Album IDs by removing previously searched Album IDs (/config/extended/logs/notfound/)" - ls /config/extended/cache/notfound/ | sed "s/--.*//" > /config/extended/cache/notfound.txt + ls /config/extended/logs/notfound/ | sed "s/--.*//" > /config/extended/cache/notfound.txt for lidarrRecordId in $(comm -13 /config/extended/cache/notfound.txt /config/extended/cache/tocheck.txt); do if [ ! -f /config/extended/logs/notfound/$lidarrRecordId--* ]; then @@ -1041,7 +1041,7 @@ GetMissingCutOffList () { wget --timeout=0 -q -O - "$arrUrl/api/v1/wanted/cutoff?page=$page&pagesize=$amountPerPull&sortKey=$searchOrder&sortDirection=$searchDirection&apikey=${arrApiKey}" | jq -r '.records[].id' | sort > /config/extended/cache/tocheck.txt log "$page :: cutoff :: Filtering Album IDs by removing previously searched Album IDs (/config/extended/logs/notfound/)" - ls /config/extended/cache/notfound/ | sed "s/--.*//" > /config/extended/cache/notfound.txt + ls /config/extended/logs/notfound/ | sed "s/--.*//" > /config/extended/cache/notfound.txt for lidarrRecordId in $(comm -13 /config/extended/cache/notfound.txt /config/extended/cache/tocheck.txt); do if [ ! -f /config/extended/logs/notfound/$lidarrRecordId--* ]; then