obsproject / obs-websocket

Remote-control of OBS Studio through WebSocket
GNU General Public License v2.0
3.79k stars 701 forks source link

requesthandler: Add `Compare` and `Assert` #1199

Open tt2468 opened 5 months ago

tt2468 commented 5 months ago

Description

Usable for performing some basic logic functions. Not feature-complete.

Motivation and Context

Request batches have limited functionality due to lack of logic and variable mutations. This attempts to introduce a bit of this functionality.

Alternative suggested implementation: https://github.com/obsproject/obs-websocket/issues/1112

How Has This Been Tested?

Tested OS(s): Ubuntu 22.04

Types of changes

Checklist: