The Book Scanner (as of server v2.5.0) operates in two distinct phases: Book Grouping and Metadata Parsing.
1. Book Grouping
Books are defined by their directory structure. The scanner identifies books based on the following rules:
- Root Files: Any audio or ebook files located directly in the root of a library folder are treated as individual books.
- Subfolders: Any folder containing supported media files (including subfolders) is considered a single book.
- Library Type: If scanning an "Audiobooks only" library, ebook files are ignored.
2. Metadata Parsing
Once books are grouped, metadata is applied. Note that scanning is a local process; it does not automatically perform online lookups. To use online providers, you must perform a Match operation on the media or library.
Metadata is applied based on a priority order configured in the "Scanner" tab of the library settings. In version 2.5.0, the priority follows a "fill order": the lowest priority source (1) fills its available data first, and subsequent higher priority sources (2, 3, etc.) overwrite any duplicate fields they possess.