mirror of
https://git.sr.ht/~phw/scotty
synced 2025-04-16 10:09:28 +02:00
Example config file
This commit is contained in:
parent
36f8f3e311
commit
240351dc3e
1 changed files with 66 additions and 0 deletions
66
scotty.example.toml
Normal file
66
scotty.example.toml
Normal file
|
@ -0,0 +1,66 @@
|
|||
# Path to the database file used to store recent import timestamps
|
||||
database = "scotty.sqlite3"
|
||||
|
||||
[service.listenbrainz]
|
||||
# This backend supports listens and loves from https://listenbrainz.org/
|
||||
backend = "listenbrainz"
|
||||
# Your ListenBrainz username
|
||||
username = ""
|
||||
# Your ListenBrainz access token from https://listenbrainz.org/profile/
|
||||
token = ""
|
||||
|
||||
[service.maloja]
|
||||
# Maloja is a self hosted listening service (https://github.com/krateng/maloja)
|
||||
backend = "maloja"
|
||||
# Base URL of your Maloja instance
|
||||
server-url = "https://maloja.example.com"
|
||||
# A Maloja API key
|
||||
token = ""
|
||||
# Set to true to disable Malojas auto correction of submitted listens
|
||||
nofix = false
|
||||
|
||||
[service.funkwhale]
|
||||
# Funkwhale is a federated music server (https://www.funkwhale.audio/).
|
||||
# You need to register a new application in your Funkwhale settings.
|
||||
backend = "funkwhale"
|
||||
# Base URL of your Funkwhale instance
|
||||
server-url = "https://funkwhale.example.com"
|
||||
# Your Funkwhale username
|
||||
username = ""
|
||||
# The "access token" from the Funkwhale application settings
|
||||
token = ""
|
||||
|
||||
[service.your-music-server]
|
||||
# The subsonic allows reading loves from any subsonic compatible music server.
|
||||
backend = "subsonic"
|
||||
# Base URL of your music server
|
||||
server-url = "https://example.com"
|
||||
# A valid username for logging into your server
|
||||
username = ""
|
||||
# Password for the username above
|
||||
token = ""
|
||||
|
||||
[service.scrobbler-log]
|
||||
# Read or write listens from a Rockbox .scobbler.log file
|
||||
backend = "scrobbler-log"
|
||||
# The file path to the .scrobbler.log file
|
||||
file-path = "data/.scrobbler.log"
|
||||
# If true, reading listens from the file also returns listens marked as "skipped"
|
||||
include-skipped = true
|
||||
|
||||
[service.jspf]
|
||||
# Write listens and loves to JSPF playlist files (https://xspf.org/jspf)
|
||||
backend = "jspf"
|
||||
# The file path to the XSPF file
|
||||
file-path = "data/playlist.jspf"
|
||||
# Title of the playlist
|
||||
title = "My Playlist"
|
||||
# Creator of the playlist (only informational)
|
||||
username = ""
|
||||
# A unique identifier for your playlist
|
||||
identifier = ""
|
||||
|
||||
[service.dump]
|
||||
# This backend allows writing listens and loves as console output. Useful for
|
||||
# debugging the export from other services.
|
||||
backend = "dump"
|
Loading…
Add table
Reference in a new issue