fix: Correct IMDb ID pattern matching in TV show webhook processing #45

Merged
sbcrumb merged 2 commits from sonarr-matching into dev 2025-10-12 10:47:02 -04:00
Owner
  • Fix glob pattern to escape brackets for literal [imdb-ID] matching
  • Resolves issue where webhook for Girls (2012) [tt1723816] was incorrectly matching Gachiakuta (2025) [tt32612521]
  • Previous pattern treated brackets as character sets instead of literal strings
- Fix glob pattern to escape brackets for literal [imdb-ID] matching - Resolves issue where webhook for Girls (2012) [tt1723816] was incorrectly matching Gachiakuta (2025) [tt32612521] - Previous pattern treated brackets as character sets instead of literal strings
sbcrumb added 2 commits 2025-10-12 10:46:55 -04:00
- Fix glob pattern to escape brackets for literal [imdb-ID] matching
- Resolves issue where webhook for Girls (2012) [tt1723816] was incorrectly matching Gachiakuta (2025) [tt32612521]
- Previous pattern treated brackets as character sets instead of literal strings
feat: Add comprehensive IMDb detection for TV shows
Local Docker Build (Dev) / build-dev (pull_request) Successful in 4s
348f83d547
- Add find_series_imdb_id method to check directory, filenames, and tvshow.nfo
- Add TV show batch validation in webhook batcher (like movies)
- Ensures TV webhooks process correct series by validating IMDb match
- Prevents mismatched processing like Girls (2012) -> Gachiakuta (2025)
- Comprehensive detection checks: folder name, file names, NFO content
sbcrumb merged commit a3f7fbe68e into dev 2025-10-12 10:47:02 -04:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sbcrumb/nfoguard#45