mirror of
https://github.com/onyx-and-iris/vban-cmd-python.git
synced 2024-11-15 17:10:46 +00:00
197f81aa73
add README to observer example
30 lines
581 B
Markdown
30 lines
581 B
Markdown
## 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:
|
|
|
|
```toml
|
|
[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.
|