[FEATURE] Search and match manga/comics volumes named "T01" / "Tome 01" / "Vol 01" (French and other non-English releases)
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
- 50/100
Direzione di ricerca
Start in IndexerSearch/Definitions/BookSearchCriteria.cs, where BookQuery is built from GetMainSearchTitle(BookTitle, Author?.Name), and add the volume-stem query forms there. Then read Parser/ReleaseTitleMatchScorer.cs: MarkedSeriesPositionRegex, SeriesPositionMarkerTokens, CompactMetadataCodeRegex and IsMetadataToken decide whether T01 is a series position or a dropped metadata token. Done means a Solo.Leveling.T01... release is both returned by search and scored as volume 1, with cases added to the existing scorer tests. The exact set of forms and pack ranges is left open in the issue, so confirm scope with a maintainer first.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Is your feature request related to a problem? Please describe.
Books that are volumes of a series (manga, comics, light novels) are almost never found on French trackers, because releases there name volumes in a compact form that Chaptarr neither searches for nor matches.
Example: the eBook "Solo Leveling, Tome 1" (hc:1901677, author CHUGONG, French edition) is monitored on the eBook side. A verified release exists on the tracker (Prowlarr, Torznab, category 7030 Books/Comics) as:
Solo.Leveling.T01.Gong.Chu.2021.FR.[CBZ]-NOTAG
Both automatic and interactive search send only these terms (Prowlarr log):
Searching indexer(s): [...] for Term: [Solo Leveling Tome 1 CHUGONG], Categories: [7000, 7010, 7020, 7030]
Searching indexer(s): [...] for Term: [CHUGONG Solo Leveling Tome 1], Categories: [7000, 7010, 7020, 7030]
Searching indexer(s): [...] for Term: [Solo Leveling Tome 1], Categories: [7000, 7010, 7020, 7030]
and Chaptarr ends with Book search completed. 0 reports downloaded. (interactive search: 0 releases). The indexer only supports book-search: [q] (plain keyword search), and the words Tome and 1 do not appear in the release name (T01 is a single token), so nothing comes back. Categories are not the cause: the tracker maps "BDs & Comics & Manga" to 7030, which is searched.
Looking at the code, two parts are involved:
- Search terms.
IndexerSearch/Definitions/BookSearchCriteria.csbuildsBookQueryfrom the metadata title only (GetMainSearchTitle(BookTitle, Author?.Name)), so a series position is only ever searched in the metadata's own wording ("Tome 1", "Vol. 1"…). - Matching. Even if such a release arrives (e.g. via RSS),
Parser/ReleaseTitleMatchScorer.csrecognizes series positions written asbook|bk|vol|volume|tome <n>(MarkedSeriesPositionRegex,SeriesPositionMarkerTokens), but a compact token likeT01matchesCompactMetadataCodeRegex(^[\p{L}]{1,3}\d{1,3}$) and is treated as a metadata token byIsMetadataToken. The volume number is then dropped, soSolo.Leveling.T01…cannot be told apart fromT02,T03… of the same series (risk of no match, or of matching the wrong volume).
Describe the solution you'd like
For books with a series position (or a volume number in their title):
- Search: in addition to the current query, also search the series/title stem with the common volume forms, at least:
T01,T1(French, very common on French trackers)Tome 01Vol 01,Vol. 1,Volume 01- optionally the bare stem (
Solo Leveling) and let the parser pick the right volume from the results
- Match: treat
T<n>/T<nn>(and zero-paddedTome 01,Vol 01,v01) as series-position markers inReleaseTitleMatchScorerwhen they follow the series/title stem, instead of classifying them as metadata codes, soSolo.Leveling.T01…scores as volume 1 of "Solo Leveling".
Packs (T01 à T16, T01-T03, Intégrale) are a separate question; recognizing a range would already allow showing them in interactive search.
Describe alternatives you've considered
- Renaming the book in Chaptarr: not durable (metadata refresh) and not per tracker.
- Grabbing the torrent manually and using Manual Import: works, but defeats automation for every volume of every manga.
- An external tool searching the indexers and pushing releases: duplicates Chaptarr's job.
Additional context
- Chaptarr v0.9.1000.0 (Docker,
chaptarr/chaptarr:latest), indexers through Prowlarr (Torznab). - Ebook metadata profile restricted to French (
fre,fra); the French volumes are separate Hardcover works ("Solo Leveling, Tome 1"…), which Chaptarr resolves and monitors correctly. Only search and release matching fail. - The same naming (
T01,Tome 01,Vol.01) is standard for French manga, comics (BD) and light novels, so this affects most of them, not just this series.
Media Type
Does this feature apply to:
- Audiobooks
- eBooks
- Both
Use Case
A French household requests manga volumes (here through a request front end, which hands them to Chaptarr with POST /api/v1/book/import). Chaptarr adds and monitors the right volume, but never finds a release, although one exists on the tracker under the usual Series.T01.Author.Year.FR.[CBZ] naming.
- 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 76/100
MPCoreDeveloper/SharpCoreDB#531 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
jsboige/CoursIA#29306 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
martin-stromberg/FinanceManager#628 ·
I maintainer di solito rispondono entro 1 giorno
-
Left Hand Margin Too NarrowAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
builtbybel/FluentCleaner#266 ·
I maintainer di solito rispondono entro 2 giorni
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno