mirror of
https://github.com/streamwall/streamwall.git
synced 2025-12-06 01:45:37 -05:00
Add support for TOML file data source
This commit is contained in:
@@ -45,6 +45,14 @@ npm start -- --config="../streamwall.json"
|
||||
|
||||
See `config.example.toml` for an example.
|
||||
|
||||
## Data sources
|
||||
|
||||
Streamwall can load stream data from both JSON APIs and TOML files. Data sources can be specified in a config file (see `config.example.toml` for an example) or the command line:
|
||||
|
||||
```
|
||||
npm start -- --json-url="https://your-site/api/streams.json" --toml-file="./streams.toml"
|
||||
```
|
||||
|
||||
## Hotkeys
|
||||
|
||||
The following hotkeys are available with the "control" webpage focused:
|
||||
|
||||
Reference in New Issue
Block a user