github Listenarrs/Listenarr v1.9.0-canary
Canary 1.9.0

pre-release23 minutes ago

> Ready for review. A step of the Repair epic, #1080: a temporary way to find and repair broken books while the Issues page is future work.

Scope and direction

This is a temporary quality-of-life shortcut, not the Issues page. It lets users find their broken books now, with the server's rules, while the Issues page waits for its groundwork: the backend search (#1076) and the backend tasks (#1078). Keep this group as the interim route until the Issues page is taken up.

The Issues page remains a separate future step and will be revisited when its groundwork is ready.

Change

Server: why a book is broken

  • A book is broken when Audible, the only metadata source today, can't be asked for it: no title, no author, no ASIN (or one that isn't an ASIN), or no region for its ASIN. Later, any book not matched to a metadata provider would count.
  • BrokenBookRules (application layer) gives the reasons, one code per problem: missing_title, missing_author, missing_asin, invalid_asin, missing_region. The Issues page will use the same codes.
  • The library list (GET /library) gives each book its brokenReasons, empty when the book is fine. They're read from its main ASIN identifier and that identifier's region, with one query for the whole library (GetAsinIdentifiersGroupedByAudiobookIdAsync). There's no migration.

Front end: display only

  • The group menu ends with "Broken books": the Books list narrowed to the books with reasons, each reason shown as an orange tag under the cover (or on the list row). The rules stay on the server; the front end only filters and shows.
  • The front end has the same dictionary of codes, with a label each (utils/brokenBookReasons.ts). A backend test fails when the two dictionaries differ, so a code can't be added on one side only.
  • The address and the saved choice use group=broken. With no broken book left, the page says so and offers all books. The...

Automated Canary build

Don't miss a new Listenarr release

NewReleases is sending notifications on new releases.