Made settings configureable without changing code
This commit is contained in:
35
config.example.json
Normal file
35
config.example.json
Normal file
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"directories": {
|
||||
"watch_dir": "E:\\OBS",
|
||||
"moveto_dir": "./replays"
|
||||
},
|
||||
"server": {
|
||||
"port": 8000,
|
||||
"websocket_port": 8001
|
||||
},
|
||||
"replay": {
|
||||
"length_seconds": 20,
|
||||
"default_location": "center",
|
||||
"default_size": 5
|
||||
},
|
||||
"voice_recognition": {
|
||||
"enabled": false,
|
||||
"sample_rate": 16000,
|
||||
"duration": 4,
|
||||
"calibration_duration": 2
|
||||
},
|
||||
"live_display": {
|
||||
"enabled": false,
|
||||
"interval": 0.5
|
||||
},
|
||||
"commands": {
|
||||
"activation": ["instant replay", "save replay", "capture replay", "replay that"],
|
||||
"stop": ["stop replay", "stop video", "hide replay"],
|
||||
"replay_last": ["replay last", "show last replay", "play last", "replay it again"],
|
||||
"clear_replays": ["clear replays", "delete all replays", "nuke replays", "remove all clips"]
|
||||
},
|
||||
"hotkey": {
|
||||
"enabled": true,
|
||||
"key": "pagedown"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user