Repository navigation
Description
What happened
Audiobook enrichment gives an untagged book the metadata of a different, real book when one or two words of the folder title match. On a synthetic library, two of the three untagged books were matched to unrelated titles: their author, narrators, cover, summary, year and runtime were replaced, and the item no longer shows as unmatched, so it stops looking like something an admin needs to fix.
| Folder title (no tags) | Accepted match |
|---|---|
| Raw Stream | "Raw" by Misty Vixen (Audnexus B0B4F5RVXL) |
| Unknown Author Book | "The Book of Unknown Americans" by Cristina Henríquez (Apple Books 1417703839) |
Two parts of the admission rules allow it:
TitleScorescores a one-word prefix of a two-word title at 0.667 ("Raw Stream" vs "Raw", and also "Dune Messiah" vs "Dune"), above the 0.5 threshold (minTitleScoreininternal/metadata/match_confidence.go).AuthorsAgreeininternal/metadata/author_match.gotreats a missing item author as agreement, so nothing contradicts the title-only match. That is a documented trade-off ("Absence is not disagreement"), which is why this is filed instead of changed: tightening it would reject good matches for untagged books, and the threshold is shared with movie and series matching.
When the right book is among the candidates it wins on score, so the failure shows up when the actual book isn't in the provider's results: self-published, regional, or synthetic titles.
Steps to reproduce
Local build of e6df1d8ed (also on 62b1a6e82), Audiobook Metadata plugin 0.1.6 with its default sources (Audnexus, Apple Books, AudiobookCovers).
- Create an audiobook library with two folders containing one untagged audio file each:
Evan Pryce/Raw Stream/Raw Stream.aacandUnknown_Author_Book_[48213]/track01.mp3. - Scan and wait for the audiobook enrichment sweep.
- Open each item.
Observed: both items carry the other book's author, cover and summary (table above). Reproduced on two fresh databases.
Expected behavior
An untagged book whose title matches a candidate only partly stays unmatched and keeps its filename-derived title, so an admin can match it by hand. A full title match (or a match on an ID the file carries) can still be accepted automatically.
Silo version / commit
e6df1d8eddce823a7bfd4ac2c513e9e83d835277 and 62b1a6e82408eb4be3409255583bf8b0a192a69f.
Deployment
Local dev build
Area
Libraries, scanning, and metadata
Clients affected
Other/not client-specific (every client shows the wrong metadata).
Relevant logs
level=INFO msg="audiobook enrichment: enriched" component=audiobooks content_id=149401855284253118 title="Raw Stream" poster=true overview=true people=2
level=INFO msg="audiobook enrichment: enriched" component=audiobooks content_id=149401855368335806 title="Unknown Author Book" poster=true overview=true people=1
Technical notes
metadata.AdmitSearchMatch→selectBestMatchYearaccepts the best title score above 0.5; the author check runs afterGetMetadataand passes when the item has no author.- Possible directions, for whoever picks this up: require a near-exact title when the item has no author, or skip unattended matching for items with neither tags nor IDs and leave them to the match queue.
- Related validation: Audiobooks #1253 (Audiobooks) CORE2; Audiobooks — Server #1254 C2; Audiobooks — Audiobook metadata metadata provider silo-plugin-metadata-audiobook#12 C3. No validation record was changed.
AI harness
Claude Code (T3 Code)
AI tool(s)
Claude Code, GitHub CLI, Playwright, Docker, ffmpeg
AI model(s)
claude-opus-5-5
AI involvement
Fully AI-generated, human verified. Found during AI-run validation of #1253 at the maintainer's direction; reproduced on a local build with synthetic media and traced in source.
Independent or adversarial review
None beyond the two reproductions.
Confirmations
- I searched open and recently closed issues and pull requests, and this is not already reported
- I reproduced this myself on a real deployment
- Any logs provided are raw apart from marked redactions and are not AI-summarized; if none were available, I said so above
Activity
fix(audiobooks): keep an untagged book unmatched on a partial title m…