feat: match RSS results by IMDb id #99

Merged
naps62-yolo merged 1 commits from issue/92-imdb-rss into main 2026-08-23 02:44:43 +01:00
Owner

Closes #92.

RSS matching preferred a tracker-supplied id over the release name, but only tmdbid was usable: movies stored no IMDb id, so the feed items carrying imdbid — what most Prowlarr definitions emit — fell through to title-and-year matching.

  • movies.imdb_id (migration 0013), filled by the TMDB metadata refresh alongside title, year and digital release.
  • SearchRelease.imdb_id, parsed from the imdbid Torznab attribute and kept as the tracker spelled it.
  • match_movie takes a ReleaseIds { tmdb_id, imdb_id } and matches on either. Ids are compared on their digits, so tt15239678, 15239678 and tt0015239678 are one title; an empty or all-zero id is no id and falls through to the title lane.

Two supplied ids naming different wanted titles are an ambiguity and match nothing, same as two titles matching. One id the library does not carry does not veto the other.

just ci passes locally (297 tests).

Closes #92. RSS matching preferred a tracker-supplied id over the release name, but only `tmdbid` was usable: `movies` stored no IMDb id, so the feed items carrying `imdbid` — what most Prowlarr definitions emit — fell through to title-and-year matching. - `movies.imdb_id` (migration 0013), filled by the TMDB metadata refresh alongside title, year and digital release. - `SearchRelease.imdb_id`, parsed from the `imdbid` Torznab attribute and kept as the tracker spelled it. - `match_movie` takes a `ReleaseIds { tmdb_id, imdb_id }` and matches on either. Ids are compared on their digits, so `tt15239678`, `15239678` and `tt0015239678` are one title; an empty or all-zero id is no id and falls through to the title lane. Two supplied ids naming different wanted titles are an ambiguity and match nothing, same as two titles matching. One id the library does not carry does not veto the other. `just ci` passes locally (297 tests).
naps62-yolo added 1 commit 2026-08-23 02:40:10 +01:00
feat: match RSS results by IMDb id
ci / web (pull_request) Successful in 31s
e2e / e2e (pull_request) Successful in 59s
ci / rust (pull_request) Successful in 2m47s
691f0b84e4
Prowlarr definitions emit imdbid far more often than tmdbid, so the id
lane of RSS matching (§6.2) went unused on most feeds. Movies now carry
the IMDb id TMDB reports, filled by the metadata refresh, and matching
takes either id. Two ids naming different titles are an ambiguity.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
naps62-yolo merged commit 02d99ae558 into main 2026-08-23 02:44:43 +01:00
naps62-yolo deleted branch issue/92-imdb-rss 2026-08-23 02:44:43 +01:00
Sign in to join this conversation.