Repository navigation
media: spot titles get looked up by the spot's kind, and lose a list number - #310
Conversation
…number
A spot's title is what its spotter typed: '01. The Matrix (1999) 4k UHD
Rife 60fps AI-Enhanced Dolby True-HD Atmos' reads as no category to the
name rules, so media lookup and the NFO's IMDb step skipped it with 'no
movie or TV title in its name'. ReleaseInfo now carries the spot's kind,
and the media steps take the movie or TV parse it names. parse_movie
drops a leading list number ('01. ', '3 - ', '12) ') that has a space
after it, so the title is 'The Matrix', 1999.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@codex review |
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
The account paying for this security review has reached its Codex usage limits. The payer can check the Codex usage dashboard. For personal accounts, using credits requires enabling “Use credits for security reviews” in Code review settings. If you do not manage the paying account, contact this repository's admins. |
|
Codex Review: Didn't find any major issues. 👍 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Codex code review is clean on 11a4d35 (the security review couldn't run: usage limit). There are no threads, and the branch is current with main. Merging. |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
What
The spot release
01. The Matrix (1999) 4k UHD Rife 60fps AI-Enhanced Dolby True-HD Atmos(spotK6rspFvcMg49TvvagOSea@spot.net) showed two skips, even though its stored category is right (Movies/UHD, 2045 via the spot hint, #277):There were two causes:
target_ofrunscategory::classify_release, and this free-form name comes outno_match(8000), so there was no movie to look up.parse_moviekept the list number. Even as a movie, the title came out01 The Matrix, which would not match.Fix
ReleaseInfogainsspot_kind. It is read with the release in the stage's row query ((select kind from spots where release_id = r.id)) and inweb_pending.target_oftakes the movie or TV parse its kind names, the same rule the category hint uses, instead of the name rules' pick.parse_moviedrops a leading list number when a space follows it:01.,3 -,12).21.Jump.Street.2012,1917 (2019),300 (2006)and2001 A Space Odyssey (1968)keep their numbers.02. The Matrix Reloaded,03. The Matrix Revolutions.Tests
media::parse::a_list_number_before_the_title_goes: the three shapes, and the numbers that must stay.media::steps::a_spots_kind_gives_its_title_to_look_up: without the spot there is no target. With it the target is Movie,The Matrix, 1999, and media lookup no longer gives a skip reason.cargo test --libpasses (1586).cargo test --testshas only the known failures on this Mac (media_providers 4, media_stage 3, partial_pass 1), plus privacy_guardrails, which needs a PR range onorigin/main.No UI change: the release page's step reasons change on their own.
🤖 Generated with Claude Code