obsws-python/examples/events
onyx-and-iris 1db3b2db4d pass empty dict if data is None in trigger()
fixes bug with ExitStarted event.

remove redundant assignment in conn_from_toml

add explicit call to ws.close() in unsubscribe()

patch bump
2022-09-26 10:58:02 +01:00
..
__main__.py pass empty dict if data is None in trigger() 2022-09-26 10:58:02 +01:00
README.md add readmes to examples. 2022-08-31 20:13:44 +01:00

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:

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