An event-based command line interface for OBS Websocket
Project description
OBS Web Socket Commands
A list of commands that can be sent to OBS via the Web Socket plugin. This project contains only a subset of all
available commands, and is mostly focused on the commands that are useful for recording. The main point of the
implemented commands is to be chainable, i.e.: the control only returns once a command is executed and the OBS
reports the new state. Or in more practical terms: the switch-profile-and-scene-collection
command is the only
reason for this package to exist.
Usage
You can execute a single command from the command line:
obws-command pause-record
This assumes the config.toml
file is in the current directory.
Or you can call a command from inside a script:
from obwsc.commands.pause_record import PauseRecord
config = {'host': 'localhost', 'port': 4455, 'password': 'secret'}
PauseRecord(config).execute()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for obws_commands-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3321ca0b5bfc10c88fc0280407f726e457b76d3d781b85707347dc6431b89ff |
|
MD5 | af66d9673f32d597af8b9325d866bde8 |
|
BLAKE2b-256 | 7e3dc294e5e431724f6b65013e240139b1b31edeba8b06b9f3de5263b11cb250 |