updated lidarr endpoints
This commit is contained in:
+3
-3
@@ -958,9 +958,9 @@ MEDIA_MAINTENANCE_JOBS=(
|
|||||||
"Media/media_shares_permissions.sh" # apply permissions first
|
"Media/media_shares_permissions.sh" # apply permissions first
|
||||||
"Media/media_cleaner.sh anime" # remove junk from anime shares
|
"Media/media_cleaner.sh anime" # remove junk from anime shares
|
||||||
"Media/media_cleaner.sh media" # remove junk from media shares
|
"Media/media_cleaner.sh media" # remove junk from media shares
|
||||||
"Media/lidarr_cleanup.sh" # remove orphaned music files
|
#"Media/lidarr_cleanup.sh" # remove orphaned music files
|
||||||
"Media/sonarr_cleanup.sh" # remove orphaned TV files
|
#"Media/sonarr_cleanup.sh" # remove orphaned TV files
|
||||||
"Media/radarr_cleanup.sh" # remove orphaned movie files
|
#"Media/radarr_cleanup.sh" # remove orphaned movie files
|
||||||
)
|
)
|
||||||
|
|
||||||
# ━━━ Arr Cleanup ━━━
|
# ━━━ Arr Cleanup ━━━
|
||||||
|
|||||||
@@ -165,7 +165,7 @@ check_api "$LIDARR_URL" "Lidarr" || {
|
|||||||
|
|
||||||
info "Querying Lidarr API: $LIDARR_URL"
|
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"
|
error "Failed to fetch track files from Lidarr — check URL and API key"
|
||||||
notify "Lidarr cleanup failed on $(hostname) — API unreachable" "Lidarr Cleanup" "warning"
|
notify "Lidarr cleanup failed on $(hostname) — API unreachable" "Lidarr Cleanup" "warning"
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user