obs example updated for websocket v5

setup.py added to obs example

readme for obs example updated
This commit is contained in:
onyx-and-iris
2022-07-29 20:06:26 +01:00
parent 9d446ea17d
commit bc370b4b32
4 changed files with 27 additions and 25 deletions

View File

@@ -1,19 +1,19 @@
## Requirements
- [OBS Studio](https://obsproject.com/)
- [OBS Websocket Plugin](https://obsproject.com/forum/resources/obs-websocket-remote-control-obs-studio-from-websockets.466/)
- [OBS Websocket Py](https://github.com/onyx-and-iris/obs-websocket-py)
- [OBS Websocket v5 Plugin](https://github.com/obsproject/obs-websocket/releases/tag/5.0.0)
- [OBS Python SDK for Websocket v5](https://github.com/onyx-and-iris/obs-websocket-py)
## About
A simple demonstration showing how to sync OBS scene switches to Voicemeeter states. The script assumes you have connection info saved in
a config file named `config.ini` placed next to `__main__.py`. It also assumes you have scenes named `START` `BRB` `END` and `LIVE`.
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.ini` file might look like this:
A valid `config.toml` file might look like this:
```ini
```toml
[connection]
ip=localhost
port=4444
password=mystrongpassword
host = "localhost"
port = 4455
password = "mystrongpass"
```