mirror of
https://github.com/FoxxMD/multi-scrobbler.git
synced 2026-05-01 21:21:19 +00:00
refactor(config)!: Move remaining common options out of source data and into options
* Move logPayload and logFilterFailure to options * Disallow use of "options" property in common data
This commit is contained in:
parent
ab372b8357
commit
3dc9e7d8b4
11 changed files with 35 additions and 116 deletions
|
|
@ -2,18 +2,16 @@
|
|||
"debugMode": false,
|
||||
"disableWeb": false,
|
||||
"sourceDefaults": {
|
||||
"options": {
|
||||
"logPayload": false,
|
||||
"logFilterFailure": "warn",
|
||||
"logPlayerState": false,
|
||||
"scrobbleThresholds": {
|
||||
"duration": 30,
|
||||
"percent": 50
|
||||
},
|
||||
"maxPollRetries": 1,
|
||||
"maxRequestRetries": 1,
|
||||
"retryMultiplier": 1.5
|
||||
}
|
||||
"logPayload": false,
|
||||
"logFilterFailure": "warn",
|
||||
"logPlayerState": false,
|
||||
"scrobbleThresholds": {
|
||||
"duration": 30,
|
||||
"percent": 50
|
||||
},
|
||||
"maxPollRetries": 1,
|
||||
"maxRequestRetries": 1,
|
||||
"retryMultiplier": 1.5
|
||||
},
|
||||
"clientDefaults": {
|
||||
"maxRequestRetries": 1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue