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.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffdae4fdb548db2e6ddd9d16d1acd4cda0f1b2b033b431c488678466434ad82d |
|
MD5 | fd289749df109d9d93c86d929979ff38 |
|
BLAKE2b-256 | cb0de785fbd40a72a77dcb5a194dc70087a22a98bc17e6c22cf053fafb4d8cb9 |