Pular para conteúdo

Config file (optional)

forro-beats reads ~/.config/forro/config.toml (on Windows, untested: %APPDATA%\forro\config.toml), or the file named by the FORRO_CONFIG environment variable. Without one, it uses the defaults. Every field is optional:

music_roots = ["~/Music"]
backup_dir = "~/forro-backups"
catalog = "~/forro/catalog.sqlite"   # default for every catalog command and sync

[sync]
fields = ["energy", "valence", "playlist", "grid", "rating"]   # what sync writes by default

[mixxx]
default_target = "main"        # which of the targets below to use when none is given
allow_schemas = []             # extra Mixxx schema versions to accept for writing
verified_builds = ["2.5.0"]    # Mixxx versions whose grid timing you checked
binaries = ["~/.local/opt/mixxx-2.6/bin/mixxx"]   # more Mixxx executables for doctor to report

[mixxx.targets]
main = "~/.mixxx/mixxxdb.sqlite"
copy = "~/lab/mixxxdb-copy.sqlite"

forro doctor --target copy checks a named library. --target NAME works the same way for forro-beats mixxx, mixxx-undo, mixxx-restore and mixxx-triggers. doctor reports each of binaries like the Mixxx it finds on the PATH, with its version and whether that build is verified.