github Listenarrs/Listenarr v1.10.12-canary
Canary 1.10.12

pre-release2 hours ago

Fixes #1193.

Disclosure: drafted with Claude Code at my direction; I read the cited code at the stated commit and reviewed this before posting.

Problem

Automatic search rejects releases shaped like <Title> by <Author> [ENG / M4B] as unexplained. Two independent defects in the release annotation matcher (read at canary dc14be0): / is not in ReleaseAnnotationGrammar.Separator, so even [M4B / Unabridged] leaves / Unabridged as an unknown span; and ReleaseTechnicalRule has no standalone language token, so language is only understood inside the scene suffix.

Change

  • Add / as a field separator.
  • Recognise a language code or name (via SearchResultAttributeParser.ParseLanguageFromCode) as a technical field, only when it sits inside a matching bracket pair. It emits a declared-language reference like the scene-suffix path, and BookIdentityMatcher now collects it, so a language that conflicts with the book or profile is reported as language_mismatch or language_evidence_conflict instead of silently confirming.
  • Not changed: an unknown group tag such as [VIP] is still unexplained. Accepting any bracketed tag would weaken the matcher, so that stays a separate question.

Evidence

  • Measured: 37 new tests in ReleaseBracketFieldTests. On unmodified canary 18 of 35 (the count when the fix was first reviewed) fail, covering [ENG / M4B], [M4B / Unabridged], [ENG] and others; the [M4B] control passes.
  • Measured: negatives stay rejected: different book, different author, a title or author that contains a language word or a slash (Fire / Ice is a generic fixture, no corpus title has a slash), unknown fields after a slash, language words outside brackets or in mismatched brackets, and conflicting language tokens.
  • Measured: mutation controls. Removing / from the separators fails 13 tests, dropping the bracket requirement fails 2, reverting the language collection fails 7, and weakening the bracket pairing check fails...

Automated Canary build

Don't miss a new Listenarr release

NewReleases is sending notifications on new releases.