-
Notifications
You must be signed in to change notification settings - Fork 0
config.json
Tim Weißenfels edited this page Sep 22, 2020
·
3 revisions
All configuration is stored in config.json
which should be located in the root directory (the one that contains app.py
).
The file is not part of this repo, you have to create it yourself.
You can find an example config here.
key | type | default | description |
---|---|---|---|
library |
string / path | no default | Path to your music library |
extensions |
list of strings | [] |
List of extensions you want enabled, e.g. ["tagesschau"]
|
web.enabled |
boolean | false |
Enable web server (API + interface) |
web.host |
string | "inet" |
e.g. "localhost" , "inet" is a special value and will be replaced by your IP |
web.port |
integer | 6969 |
should be > 1024 |
telegram.enabled |
boolean | false |
|
telegram.token |
string | no default | Telegram API token. Required if telegram.enabled is true . |
telegram.users |
list of strings | [] |
|
hardware.button.enabled |
boolean | false |
|
hardware.button.pause |
boolean | false |
|
hardware.button.skip |
boolean | true |
The library folder should contain the following subfolders:
- music
(should contain media files)
- hosts
(can be empty)
- night
(can be empty)