OBS-to-XAir/config.toml
Onyx and Iris 8d20af2e2c
Add CLI options (#8)
* add cli args --config, --debug and --verbose

load_config() will search for a relevant config file in several dirs

add separate handler methods for mute,unmute and toggle

mapping.toml removed, everything merged into config.toml

* add cli options subsection

* rename event variable to make it clear we're waiting for a stop event (and not some other obs event)

* fix argparse description

* add return None (for type checker)

* fix example in top level docstring

* add shorthand `-c` cli option
2025-01-13 19:00:06 +01:00

23 lines
340 B
TOML

[obs]
# OBS connection info
host = "localhost"
port = 4455
password = "secretpassword"
[xair]
# mixer kind and ip
kind_id = "XR18"
ip = "mixer.local"
[scene_mapping]
# OBS scene name to mixer channel mapping
START.mute = [1, 3, 5]
START.unmute = [2, 7]
BRB.mute = [2, 7]
BRB.unmute = [1, 3, 5]
END.toggle = [12, 14]
LIVE.toggle = [16]