Commit Graph
1 Commits
Author SHA1 Message Date
Riccardo CasazzaandClaude Opus 4.5 ebdcd0bc19 fix(api): skip physical books in metadata manager to prevent NPE (#234)
Physical books have no associated file, so calling getPrimaryBookFile()
returns null. The metadata manager was crashing with NullPointerException
when merging/consolidating metadata (authors, genres, etc.) that included
physical books.

This fix skips physical books in writeMetadataToFile() since there is no
file to write metadata to.

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-04-22 17:26:55 -04:00