Add a scan->notify->web end-to-end smoke test against a seeded :memory: DB, fix .gitignore so the cmd/naviwatcher source dir is not excluded by the root binary rule, and document the new sync.interval field in config.yaml.example.
32 lines
722 B
Plaintext
32 lines
722 B
Plaintext
server:
|
|
host: "0.0.0.0"
|
|
port: 8080
|
|
# Basic Auth for Web UI access
|
|
username: "admin"
|
|
password: "CHANGE_ME"
|
|
|
|
navidrome:
|
|
url: "http://localhost:4533"
|
|
user: "watcher_service"
|
|
password: "CHANGE_ME"
|
|
|
|
musicbrainz:
|
|
user_agent: "NaviWatcher/1.0 ( your-email@example.com )"
|
|
cache_ttl: 24h
|
|
|
|
telegram:
|
|
enabled: true
|
|
token: "bot_token"
|
|
chat_id: "your_chat_id"
|
|
cron_schedule: "0 10 * * *"
|
|
|
|
scanner:
|
|
fuzzy_threshold: 0.85
|
|
|
|
# Periodic sync+scan pipeline: how often NaviWatcher pulls artists/albums from
|
|
# Navidrome, resolves MusicBrainz discographies, and re-runs the scanner.
|
|
# Accepts any duration Go's time.ParseDuration understands (e.g. "6h", "30m").
|
|
# Defaults to 6h when omitted.
|
|
sync:
|
|
interval: 6h
|