github Listenarrs/Listenarr v1.11.1-canary
Canary 1.11.1

pre-release44 minutes ago

Summary

Fix co-authors resolving to the first author's identity and portrait. Book-level AuthorAsins lists contain no name associations: failed lookups compact the list, and metadata edits or rescans can change author order without changing the ASIN list. Equal list lengths therefore cannot establish a safe pairing.

Why this is needed

Previously, a book credited to [Jane Doe, John Smith] with stored ASINs [Jane_ASIN, John_ASIN] could return Jane's portrait for John because the lookup always selected the first ASIN.

Checking list lengths alone also fails after an edit or rescan: changing the credits to [John Smith, Jane Doe] leaves the original ASIN list intact, so an indexed lookup assigns John's identity to Jane even though both lists still contain two entries. This was reproduced through the running API.

The final implementation uses an explicit association with the requested author's name. After the same reorder, Jane resolves to Jane's cached identity; when no named association or provider result exists, the lookup returns no result rather than another author's identity.

Changes

Changed

  • Resolve stored author ASINs from explicit name associations in AuthorCacheEntries, rather than indexing a book's AuthorAsins.
  • Return no ASIN when the name cache has no usable association or contains conflicting regional identities, allowing callers to use their region-aware name lookup.
  • Resolve library author-card portraits by name through the existing lazy lookup and reuse the returned portrait.

Fixed

  • Prevent partial or reordered legacy ASIN lists from assigning another author's identity or portrait.
  • Preserve author-card portraits returned by name lookup instead of overwriting them with a positional ASIN.

Testing

Validated on fb08291e in Linux containers:

  • Focused backend tests: 29 passed, covering repository lookups, author-image fallback, and author metadata lookup. SQLite...

Automated Canary build

Don't miss a new Listenarr release

NewReleases is sending notifications on new releases.