Skip to content

Add your music

  • 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:

Terminal window
python3 -m pip install -r scripts/requirements.txt

Run the scan from the root of the server repository, where config.toml lives - the Python scripts need that file:

Terminal window
python scripts/scan_library.py --mode db

The 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.

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.

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.