xair-api-python/examples/xair_obs
onyx-and-iris c2cf2fe523 sends example added.
obs example updated to reflect updates to obsws
2024-02-08 13:45:55 +00:00
..
__main__.py sends example added. 2024-02-08 13:45:55 +00:00
README.md rename xair obs dir 2022-11-07 19:50:46 +00:00
setup.py rename xair obs dir 2022-11-07 19:50:46 +00:00

Requirements

About

A simple demonstration showing how to sync XAir states with OBS scene switches. The script assumes you have OBS connection info saved in a config file named config.toml placed next to __main__.py. It also assumes you have scenes named START BRB END and LIVE.

A valid config.toml file might look like this:

[connection]
host = "localhost"
port = 4455
password = "mystrongpass"

Use

Change the xair ip argument from mixer.local to the ip of your xair mixer. Run the code and switch between scenes in OBS.

Notes

This example was inspired by OBS-to-XAir