[BUG] Canonical work metadata omits descriptions available in native provider search

Aperta
#360 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à
4/5
Tempo stimato
1-2 giorni
Idoneità per principianti
30/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
csharp, docker
Ambito
api, backend

Direzione di ricerca

The client maps the canonical work description into the overview in src/NzbDrone.Core/MetadataSource/BookInfo/BookInfoProxy.cs around line 1601, so start there and check whether the V5 work response carries a description field. The report is unresolved about whether the metadata service omits the field on purpose, which is an upstream contract question rather than a local fix. Done would mean a reproducible explanation of the missing field, plus either a client fallback agreed by maintainers or documentation of the supported path.

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

Descrizione

Describe the bug

For Kitchen Confidential (hc:265529), native Hardcover search returns a populated overview, but canonical work metadata omits descriptions. Native book lookup and refresh therefore leave the persisted overview empty for both ebook and audiobook records.

This appears to be a discrepancy at the canonical metadata-service boundary. I have not established why the service omits the field or whether that omission is intentional.

To Reproduce

  1. On Chaptarr 0.9.1000.0, query native search with GET /api/v1/search?term=Kitchen%20Confidential&provider=hardcover. Select the result whose foreignId is hc:265529.
  2. Query GET /api/v1/book/lookup?term=hc%3A265529&mediaType=ebook and repeat for mediaType=audiobook.
  3. On an existing record for that work, submit POST /api/v1/command with {"name":"RefreshBook","bookId":<local-book-id>}. Wait for that command ID to complete, then read GET /api/v1/book/<local-book-id>.
  4. Compare the canonical response at https://api2.chaptarr.com/api/v5/work/hc:265529 with the provider search result.

No import, acquisition, database modification, or sidecar edit is needed to reproduce the missing overview.

Expected behavior

The canonical metadata used by native lookup/refresh includes an available description, or the supported way to obtain a persistent overview is documented if this endpoint intentionally excludes descriptions.

Actual results and evidence

Fresh read-only checks on November 12, 2026:

Boundary Result
Native Hardcover search, exact work hc:265529 Book overview: 985 characters; provisional edition overview: 985 characters.
Canonical V5 work endpoint HTTP 200; work.description and work.overview are absent.
Canonical editions 127 editions; none has a nonempty description/overview.
Native ebook and audiobook lookup Empty overviews.
Existing ebook and audiobook records after separate native RefreshBook commands Both commands completed; overviews remain empty.

The same canonical omission was observed on 0.9.965.0 before upgrading. Refresh on 0.9.1000.0 did not change the result.

Screenshots

N/A. The observation is available through API responses.

System Information:

  • OS: Unraid 7.1.4 (Linux).
  • Chaptarr version: 0.9.1000.0, database migration 128.
  • Installation method: official Docker image chaptarr/chaptarr:0.9.1000, Linux amd64.
  • Browser: N/A; native API checks.

Docker Information (if applicable):

  • Docker version: 27.5.1.
  • Docker Compose version: N/A; native Unraid container template.

Additional context

The client maps the canonical work description into the overview in BookInfoProxy.cs. The ABS exporter subsequently chooses the edition/work overview. This report concerns the missing upstream input, rather than claiming that the exporter discards a populated description.

This is separate from narrator formatting, edition selection, and propagation to an external reader. No client enrichment fallback is proposed without confirming the intended canonical contract.

Logs

No exception is needed to observe this: the reads succeed and the native refresh commands complete. The response comparisons above are the relevant evidence; raw application logs, credentials, library paths, and complete third-party descriptions are omitted.

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.