2022-07-02 02:23:22 +01:00
|
|
|
## Requirements
|
|
|
|
|
|
|
|
- [OBS Studio](https://obsproject.com/)
|
2022-07-29 20:06:26 +01:00
|
|
|
- [OBS Websocket v5 Plugin](https://github.com/obsproject/obs-websocket/releases/tag/5.0.0)
|
2022-07-29 20:09:52 +01:00
|
|
|
- [OBS Python SDK for Websocket v5](https://github.com/aatikturk/obsstudio_sdk)
|
2022-07-02 02:23:22 +01:00
|
|
|
|
|
|
|
## About
|
|
|
|
|
|
|
|
A simple demonstration showing how to sync OBS scene switches to Voicemeeter states. The script assumes you have connection info saved in
|
2022-07-29 20:06:26 +01:00
|
|
|
a config file named `config.toml` placed next to `__main__.py`. It also assumes you have scenes named `START` `BRB` `END` and `LIVE`.
|
2022-07-02 02:23:22 +01:00
|
|
|
|
2022-07-29 20:06:26 +01:00
|
|
|
A valid `config.toml` file might look like this:
|
2022-07-02 02:23:22 +01:00
|
|
|
|
2022-07-29 20:06:26 +01:00
|
|
|
```toml
|
2022-07-02 02:23:22 +01:00
|
|
|
[connection]
|
2022-07-29 20:06:26 +01:00
|
|
|
host = "localhost"
|
|
|
|
port = 4455
|
|
|
|
password = "mystrongpass"
|
2022-07-02 02:23:22 +01:00
|
|
|
```
|