mirror of
https://github.com/FoxxMD/multi-scrobbler.git
synced 2026-04-28 11:49:57 +00:00
* Move logPayload and logFilterFailure to options * Disallow use of "options" property in common data
70 lines
1.5 KiB
JSON
70 lines
1.5 KiB
JSON
{
|
|
"debugMode": false,
|
|
"disableWeb": false,
|
|
"sourceDefaults": {
|
|
"logPayload": false,
|
|
"logFilterFailure": "warn",
|
|
"logPlayerState": false,
|
|
"scrobbleThresholds": {
|
|
"duration": 30,
|
|
"percent": 50
|
|
},
|
|
"maxPollRetries": 1,
|
|
"maxRequestRetries": 1,
|
|
"retryMultiplier": 1.5
|
|
},
|
|
"clientDefaults": {
|
|
"maxRequestRetries": 1,
|
|
"retryMultiplier": 1.5
|
|
},
|
|
"sources": [
|
|
{
|
|
"type": "spotify",
|
|
"enable": true,
|
|
"clients": ["myConfig"],
|
|
"name": "mySpotifySource",
|
|
"data": {
|
|
"clientId": "a89cba1569901a0671d5a9875fed4be1",
|
|
"clientSecret": "ec42e09d5ae0ee0f0816ca151008412a",
|
|
"redirectUri": "http://localhost:9078/callback"
|
|
}
|
|
}
|
|
],
|
|
"clients": [
|
|
{
|
|
"type": "maloja",
|
|
"enable": true,
|
|
"name": "myConfig",
|
|
"data": {
|
|
"url": "http://localhost:42010",
|
|
"apiKey": "myMalojaKey"
|
|
}
|
|
}
|
|
],
|
|
"webhooks": [
|
|
{
|
|
"name": "FirstGotifyServer",
|
|
"type": "gotify",
|
|
"url": "http://localhost:8070",
|
|
"token": "MyGotifyToken",
|
|
"priorities": {
|
|
"info": 5,
|
|
"warn": 7,
|
|
"error": 10
|
|
}
|
|
},
|
|
{
|
|
"type": "ntfy",
|
|
"name": "MyNtfyFriendlyNameForLogs",
|
|
"url": "http://localhost:9991",
|
|
"topic": "MyMultiScrobblerTopic",
|
|
"username": "Optional",
|
|
"password": "Optional",
|
|
"priorities": {
|
|
"info": 3,
|
|
"warn": 4,
|
|
"error": 5
|
|
}
|
|
}
|
|
]
|
|
}
|