From 36c7bb66dca6ad70f2c73af0b23c57385adfb505 Mon Sep 17 00:00:00 2001 From: FailedProxy Date: Thu, 23 Apr 2026 16:12:54 -0400 Subject: [PATCH] updated lidarr endpoints --- Master.conf | 6 +++--- Media/lidarr_cleanup.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Master.conf b/Master.conf index 53eb5e3..a49e45a 100644 --- a/Master.conf +++ b/Master.conf @@ -958,9 +958,9 @@ MEDIA_MAINTENANCE_JOBS=( "Media/media_shares_permissions.sh" # apply permissions first "Media/media_cleaner.sh anime" # remove junk from anime shares "Media/media_cleaner.sh media" # remove junk from media shares - "Media/lidarr_cleanup.sh" # remove orphaned music files - "Media/sonarr_cleanup.sh" # remove orphaned TV files - "Media/radarr_cleanup.sh" # remove orphaned movie files + #"Media/lidarr_cleanup.sh" # remove orphaned music files + #"Media/sonarr_cleanup.sh" # remove orphaned TV files + #"Media/radarr_cleanup.sh" # remove orphaned movie files ) # ━━━ Arr Cleanup ━━━ diff --git a/Media/lidarr_cleanup.sh b/Media/lidarr_cleanup.sh index e35cca4..51d4cec 100644 --- a/Media/lidarr_cleanup.sh +++ b/Media/lidarr_cleanup.sh @@ -165,7 +165,7 @@ check_api "$LIDARR_URL" "Lidarr" || { info "Querying Lidarr API: $LIDARR_URL" -TRACKFILE_RESPONSE=$(lidarr_api "trackfile") || { +TRACKFILE_RESPONSE=$(lidarr_api "trackFile") || { error "Failed to fetch track files from Lidarr — check URL and API key" notify "Lidarr cleanup failed on $(hostname) — API unreachable" "Lidarr Cleanup" "warning" exit 1