grigio / obs-cmd

obs-cmd is a OBS cli for obs-websocket v5 the current obs-studio implementation. It is useful on Wayland Linux or to control OBS via terminal
MIT License
126 stars 20 forks source link

Adding Source Selection #22

Closed RileyMeta closed 11 months ago

RileyMeta commented 11 months ago

Any thoughts on adding Scenes so the end-user can enable/disable them like how you can mute Audio Sources?

mansman12 commented 11 months ago

Can you clarify what you mean? The title says source selection but your comment says scenes?

RileyMeta commented 11 months ago

Yeah, that's my bad, lol. SOURCES Any plan to add sources to the selections so users could toggle visibility?

Ex: obs-cmd source "webcam" toggle-visibility

mansman12 commented 11 months ago

I've done that on my fork: https://github.com/mansman12/obs-cmd

If you're able to build it, the usage is obs-cmd scene-item toggle <scene> <source>.

My fork also has collection switching added.

RileyMeta commented 11 months ago

Exactly what I needed, you're awesome ❤️