Fix rename webhook targeting using episodeId lookup #39

Merged
sbcrumb merged 1 commits from sonarrissues into dev 2025-10-10 14:17:05 -04:00

1 Commits

Author SHA1 Message Date
sbcrumb 60bd37e8c2 Fix rename webhook targeting using episodeId lookup
Local Docker Build (Dev) / build-dev (pull_request) Successful in 4s
Found that rename events contain episodeId field which can be used to fetch specific episode details. Replaced complex episode data extraction with direct API call to /api/v3/episode/{episodeId} to get season/episode numbers for targeted processing.

This should resolve rename webhooks processing entire series instead of single episodes.
2025-10-10 14:16:05 -04:00