obsproject / obs-websocket

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

Feature Request: Add ToggleSceneItemEnabled request #1153

Open theca11 opened 1 year ago

theca11 commented 1 year ago

Feature Request Type

RPC Request

Feature Request Type (Other)

No response

Requested Feature

ToggleSceneItemEnabled request to show/hide a scene item in an easier/more performant way. Currently, this requires 2 different requests, first GetSceneItemEnabled and then SetSceneItemEnabled, which can't be batched together because there is no way to negate the output of the first request using input/output variables

Requested Feature Usage Scenario

Toggling scene item visibility is a very common usage scenario. Any tool implementing basic OBS controls most probably includes such an option, and having to make 2 requests is inefficient

Vitalicus commented 1 year ago

Also, "SourceVisibility" toggle....