mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 01:58:41 +01:00
HowLongToBeat is searched with the filename, and a series prefix that one side carries and the other does not sinks a strict similarity gate: "007: Quantum of Solace" scores 0.838 against the catalogue's "Quantum of Solace", just under 0.85, and a term long enough returns no results at all. Every James Bond title on PlayStation 2 missed for one of those two reasons. Retry with the part after the last separator, the same recovery Moby and ScreenScraper already make. The trigger is broader than theirs, which only retry an empty result set: a scored-but-rejected result has to retry too, since that is how "Quantum of Solace" fails. Verified against the live API: all five PlayStation 2 James Bond titles now resolve, and six subtitle-heavy titles that could plausibly match the wrong game on a tail-only search are unaffected, because the full term matches first. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>