mirror of
https://github.com/FoxxMD/multi-scrobbler.git
synced 2026-04-30 04:39:57 +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
23 lines
728 B
JSON
23 lines
728 B
JSON
{
|
|
"sources": [
|
|
{
|
|
"type": "spotify", // required, source type
|
|
"clients": ["myConfig"], // optional, a list of Client config names this Source should scrobble to. Using an empty list or not including this property will make this Source scrobble to all Clients.
|
|
"name": "myConfig", // optional, friendly name for the log
|
|
"data": { // required, the data for your config
|
|
"clientId": "example",
|
|
//...
|
|
}
|
|
}
|
|
],
|
|
"clients": [
|
|
{
|
|
"type": "maloja", // required, Client type
|
|
"name": "myConfig", // required, a name to identifier your Client
|
|
"data": { // required, the data for your config
|
|
"url": "http://example.com",
|
|
//...
|
|
}
|
|
},
|
|
]
|
|
}
|