obsws-python/examples/events/README.md
onyx-and-iris b8b446f9bf use context manager in scene_rotate
other refactors
2022-10-24 22:42:46 +01:00

19 lines
351 B
Markdown

## About
Registers a list of callback functions to hook into OBS events.
## Use
Simply run the code and trigger the events, press `<Enter>` to exit.
This example assumes the existence of a `config.toml`, placed next to `__main__.py`:
```toml
[connection]
host = "localhost"
port = 4455
password = "mystrongpass"
```
Closing OBS ends the script.