mirror of
https://github.com/FoxxMD/multi-scrobbler.git
synced 2026-05-02 21:51:38 +00:00
* Refactor spotify config and api building into a Source class * Move spotify polling loop into Source class and use generator to handle one-run only restriction (Closes #2) * Signal polling status using promise finally/catch * Implement formatPlayObj static method to standardize play data * Implement Tautulli source class * Refactor client scrobbling and building/config into ScrobbleClients class * Implement Tautulli endpoint for scrobbling from notification agent webhook * Add Tautulli information to status page * Log number of tracks discovered by each source on status page
6 lines
421 B
JSON
6 lines
421 B
JSON
{
|
|
"clientId": "string", // spotify client id
|
|
"clientSecret": "string", // spotify client secret
|
|
"redirectUri": "http://localhost:9078/callback", // optional, spotify redirect URI. Specify only if not the default. URI must end in "callback"
|
|
"interval": 60 // optional, how long to wait before calling spotify for new tracks
|
|
}
|