[BUG] Correct releases rejected as "Release appears to match a different book by this author"

Aperta
#378 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
csharp, docker
Ambito
backend, search

Direzione di ricerca

Start with ReleaseSearchService.GetAuthorCatalog and ReleaseTitleMatchScorer.FindBestMatches, then trace how SiblingTitleContradiction is selected for a release such as Echo Burning by Lee Child. The issue also suggests adding Problems[].Value to the mismatch trace so the competing sibling is visible. Done when the correct sole-title match is accepted and the trace identifies any sibling that caused a rejection; the payload names no tests.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Describe the bug
Interactive search hides releases that are clearly the right book, with Release appears to match a different book by this author. Every grab needs an override. So far it's only happened with Lee Child; other authors are fine.

Example trace from an interactive search for Echo Burning:

[TITLE-MATCH] Mismatch. Release='Echo Burning by Lee Child [ENG / M4B]' ReleaseAuthor='Lee Child' BestBook='Echo Burning' Variant='Echo Burning' Problem=SiblingTitleContradiction Leftovers=[By Lee Child]
[TITLE-MATCH] Mismatch. Release='Echo Burning by Lee Child [ENG / MP3]' ReleaseAuthor='Lee Child' BestBook='Echo Burning' Variant='Echo Burning' Problem=SiblingTitleContradiction Leftovers=[By Lee Child]

BestBook is the book I searched for, and the log doesn't say which sibling won, so I can't see what the "different book" is.

There's only one book in Books with Echo Burning in the title now (3286, IsOmnibus=0), and every edition titled Echo Burning belongs to it. No other Lee Child book has a title made up only of words from the release title. Two collections with Echo Burning in the title were there at first. After I turned on Skip omnibus/collection audiobooks without identifiers and Skip all omnibus/collection audiobooks in the metadata profile, a refresh deleted them (logged as not found in metadata and is being deleted), but the releases are still rejected. Killing Floor is rejected the same way.

To Reproduce

  1. Add Lee Child as an audiobook author
  2. Interactive search for Echo Burning
  3. Echo Burning by Lee Child [ENG / M4B] and [ENG / MP3] from a Torznab indexer (via Prowlarr) are hidden with the error above

Expected behavior
A release titled <Book> by <Author> should match that book when it's the only book by the author with that title.

System Information:

  • OS: Linux (k3s)
  • Chaptarr Version: 0.9.965
  • Installation Method: Docker, chaptarr/chaptarr:0.9.965 in a Kubernetes Deployment
  • Browser: Firefox

Additional context
The competing book must come from the author catalogue built in ReleaseSearchService.GetAuthorCatalog (the author's books in the library), but I can't find one whose title would explain the match. It would help a lot if the Mismatch trace line included the title of the sibling that won (Problems[].Value in ReleaseTitleMatchScorer.FindBestMatches).

Lingua principale
C#
Stelle
664
Fork
48
Merge medio
5h 24m
PR unite (30g)
5

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Chaptarr/chaptarr

Tutte le issue di Chaptarr/chaptarr

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.