1.8 KiB · text History 0463cca
# ~/.config/scropple/config.toml

# How often playback time is checked against the scrobble threshold (seconds).
tick_seconds = 5

[filter]
# Players never scrobbled. Leaving this out keeps the default list: browsers
# (every video would scrobble), KDE Connect and GSConnect (they relay your
# phone, which Scropple on the phone already scrobbles), and playerctld (it
# re-announces other players). Setting it replaces that list.
# deny = ["firefox", "chromium", "kdeconnect", "gsconnect", "playerctld"]

# Only these players, if set. Names are the part after
# org.mpris.MediaPlayer2. — `scropple players` shows them.
# allow = ["spotify", "strawberry", "mpv"]

# One [[backend]] per server; each gets every scrobble.

[[backend]]
name = "finaltrack"
url = "https://finaltrack.neiam.org"
# A token from the server's Scrobbling page. In a file of its own (chmod 600)
# rather than inline, so this config can be shared. A relative path is next to
# this file; ~/… and absolute paths work too.
token_file = "finaltrack.token"

# ircd's ScrobbleServ speaks the same API:
# [[backend]]
# name = "ircd"
# url = "https://irc.example.org"
# token_file = "ircd.token"

# ListenBrainz: `scropple login listenbrainz` asks for the user token from
# https://listenbrainz.org/settings/ and saves it here. `url` points it at
# another server speaking the ListenBrainz API.
# [[backend]]
# name = "listenbrainz"
# type = "listenbrainz"
# token_file = "listenbrainz.token"

# Last.fm: `scropple login lastfm` opens Last.fm in your browser to allow
# Scropple, then saves the session key here; no password is involved.
# A build without a Last.fm API key built in needs one of your own, from
# https://www.last.fm/api/account/create:
# [[backend]]
# name = "lastfm"
# type = "lastfm"
# token_file = "lastfm.session"
# api_key = "..."
# api_secret_file = "lastfm.secret"