vban-cmd-python/examples/observer
Onyx and Iris 16df0d559e make changes to sockets.
replace black+isort with ruff

upd examples
2025-01-17 02:51:17 +00:00
..
__main__.py make changes to sockets. 2025-01-17 02:51:17 +00:00
README.md assume vban.toml for observer example 2022-10-18 15:20:20 +01:00

About

Registers a class as an observer and defines a callback.

Configure

The script assumes you have connection info saved in a config file named vban.toml placed next to __main__.py.

A valid vban.toml might look like this:

[connection]
ip = "gamepc.local"
port = 6980
streamname = "Command1"

It should be placed next to __main__.py.

Use

Make sure you have established a working VBAN connection.

Run the script, then:

  • change GUI parameters to trigger pdirty
  • play audio through any bus to trigger ldirty

Pressing <Enter> will exit.