Fix Radarr rename event handling - add missing event type filtering

- Add event type filtering to Radarr webhook handler (Download, Upgrade, Rename)
- Ensures consistency with Sonarr webhook processing
- Fixes issue where Radarr rename events weren't properly updating NFO files
- Bump version to v1.5.3
- Update SUMMARY.md with complete webhook workflow documentation
This commit is contained in:
2025-09-15 09:35:41 -04:00
parent df04cf9aec
commit ed4a9c0a19
3 changed files with 73 additions and 4 deletions
+5
View File
@@ -1474,6 +1474,11 @@ async def radarr_webhook(request: Request, background_tasks: BackgroundTasks):
_log("INFO", f"Received Radarr webhook: {payload.get('eventType', 'Unknown')}")
_log("DEBUG", f"Full Radarr webhook payload: {payload}")
# Filter supported event types (same as Sonarr: Download, Upgrade, Rename)
event_type = payload.get('eventType', '')
if event_type not in ["Download", "Upgrade", "Rename"]:
return {"status": "ignored", "reason": f"Event type {event_type} not processed"}
# Extract movie info
movie_data = payload.get("movie", {})
if not movie_data: