mirror of
https://github.com/FoxxMD/multi-scrobbler.git
synced 2026-05-02 21:51:38 +00:00
* Refactor examples to all be multi-user structured * Move configuration into its own file * Separate config approaches into env/json approaches with guidance on which one to use * Add more comments to example json * Simplify main readme and provide a more opinionated, minimal example there
14 lines
951 B
JSON
14 lines
951 B
JSON
[
|
|
{
|
|
"name": "default", // optional, friendly name for logs
|
|
"clients": [], // optional, list of scrobble clients (by config name) that this source should scrobble to. Using an empty list or not including this property will make this source scrobble to all clients.
|
|
"data": {
|
|
"clientId": "string", // spotify client id -- required if not providing access token
|
|
"clientSecret": "string", // spotify client secret -- required if not providing access token
|
|
"accessToken": "string", // spotify access token -- required if not providing client id/secret
|
|
"refreshToken": "string", // spotify refresh token -- recommended to provide if not providing client id/secret
|
|
"redirectUri": "http://localhost:9078/callback", // spotify redirect URI -- required only if not the default shown here. URI must end in "callback"
|
|
"interval": 60 // optional, how long to wait before calling spotify for new tracks
|
|
}
|
|
}
|
|
]
|