The indexer is responsible for indexing the music library on the filesystem and populating the database with the available metadata and information.
The indexer runs in two stages:
- Scan music directories - Scan the filesystem for new music files and store them in the database.
- Extract album art - Extract and store the album art from newly indexed releases. Generate thumbnails for the frontend.
The following function executes both stages:
.. autofunction:: src.indexer.run_indexer
Code documentation for the indexer implementation is as follows:
.. automodule:: src.indexer.scanner :members: :autosummary:
.. automodule:: src.indexer.covers :members: :autosummary: