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:
FoxxMD 2020-12-07 16:05:47 -05:00
parent 4c0ff1c9ce
commit ce35b67f37
8 changed files with 214 additions and 145 deletions

View file

@ -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
}
}
]