[BUG] Ebook matched to another book by the same author when its title tag names that book in a blurb
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
Direzione di ricerca
Start by reading the embedded tag matching path and the title containment evidence described in the issue; compare how title_sort is matched with the plain title tag. Reproduce with the supplied The Breakdown and Behind Closed Doors titles, then check whether the title at the beginning of the tag wins over a title in the blurb. Done means the epub matches The Breakdown while the related #364 case is considered.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe the bug
An epub of B. A. Paris's The Breakdown was matched to Behind Closed Doors, because the publisher's title tag ends with a blurb that names the other book:
title: The Breakdown: The 2017 gripping thriller from the bestselling author of Behind Closed Doors
title_sort: Breakdown: The 2017 gripping thriller from the bestselling author of Behind Closed Doors, The
The match record shows title containment on calibre:title_sort as the proof, and a publication year conflict (file 2017, edition 2016) that was overruled:
{"route":"global/embedded_tags","matchedVia":"staged_field_representation","mode":"Balanced",
"supporting":[{"type":"title","field":"calibre:title_sort",
"observed":"Breakdown: The 2017 gripping thriller from the bestselling author of Behind Closed Doors, The",
"expected":"Behind Closed Doors"}],
"conflicting":[{"type":"publication_year","observed":"2017","expected":"2016",
"detail":"Publication year conflicted with this edition; stronger book identity evidence won."}]}
The title starts with "The Breakdown", which is also a book by the same author in the library, so I think the leading title should win over a match buried in the subtitle. The mobi of the same book (same tags minus title_sort) matched The Breakdown correctly.
To Reproduce
- Add B. A. Paris with both The Breakdown and Behind Closed Doors in the library.
- Put an epub whose title tag is the string above in the author's folder.
- Rescan. The file lands on Behind Closed Doors.
Expected behavior
The file matches The Breakdown. Probably containment shouldn't count a title that only appears after "author of" (or similar blurb text), or it should rank below a title the tag starts with.
System Information:
- OS: Fedora 44, container is Ubuntu 24.04
- Chaptarr Version: 0.9.1000.0 (develop)
- Installation Method: Docker
- Matcher: evidence-v2.7-exact-group-spans, Balanced
Docker Information (if applicable):
- Docker version: 29.7.2
- Docker Compose version: 5.5.1
Additional context
Fixing it took a manual import, and that was blocked with "File already exists in database and is linked to a different book" until I moved the file out, rescanned, and moved it back. A way to reassign a tracked file to another book without deleting it would help here.
The same library had a StarCraft Dark Templar Saga #3: Twilight epub (title tag just "Starcraft: The Dark Templar Saga") matched to book 1, Firstborn. That looks like #364.
- Lingua principale
- C#
- Stelle
- 664
- Fork
- 48
- Merge medio
- 5h 24m
- PR unite (30g)
- 5
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Chaptarr/chaptarr
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 63/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Chaptarr/chaptarr
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Rem0o/FanControl.Releases#4286 ·
-
[Tool] ServiceManagerApertahas-image has-license has-readme new-tool ready-to-approve repo-verified
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
shanselman/TinyToolTown#950 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
MPCoreDeveloper/SharpCoreDB#531 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
ardalis/CleanArchitecture#1236 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
jsboige/CoursIA#29306 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno