mirror of
https://github.com/FoxxMD/multi-scrobbler.git
synced 2026-05-02 21:51:38 +00:00
Rewrite docs #13
* 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
This commit is contained in:
parent
4c0ff1c9ce
commit
ce35b67f37
8 changed files with 214 additions and 145 deletions
|
|
@ -1,4 +1,11 @@
|
|||
{
|
||||
"user": "username@email.com", // user may be a single username
|
||||
"user": ["username@gmail.com","anotherUser@gmail.com"] // or it may be an array of usernames
|
||||
}
|
||||
[
|
||||
{
|
||||
"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": {
|
||||
"user": ["username@gmail.com","anotherUser@gmail.com"], // optional, list of users to scrobble tracks for
|
||||
"libraries": ["music","my podcasts"], // optional, list of libraries to scrobble tracks from
|
||||
"servers": ["myServer","anotherServer"] // optional, list of servers to scrobble tracks from
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue