Add your music
Before you start
Section titled “Before you start”- The server is configured and running - see Run the server.
- Your music is on disk under the scanner’s music root from
config.toml. - Python 3.12 or newer is installed.
Install the toolkit’s dependencies once, from the root of the server repository:
python3 -m pip install -r scripts/requirements.txtScan your library
Section titled “Scan your library”Run the scan from the root of the server repository, where config.toml lives - the Python scripts need that file:
python scripts/scan_library.py --mode dbThe scan walks your music folder, reads each file’s metadata with ffprobe and mutagen, and writes the resulting tracks, artists and albums into data.db. That is the same single SQLite file the server reads.
Check the result
Section titled “Check the result”After the scan, artists and albums appear when you browse from the desktop app. To browse you first need an account, so continue with Create your account and then Connect the desktop app.
Other modes and enrichment
Section titled “Other modes and enrichment”The Library toolkit reference lists every script with CLI modes.
Beyond scanning, the toolkit can run a fuller enrichment pass - tags, lyrics and genres - orchestrated by scripts/autopipeline.py. That is covered in the Tag and enrich your library guide.