After looking through a great deal of the prior tickets and online documentation, I have hit a roadblock and hope you can help.
I have been using the SLOBS client example at https://stream-labs.github.io/streamlabs-obs-api-docs/ and connecting to my SLOBS.
As you know, this creates a sort of remote control for OBS, which has been awesome in tandem with mouse click macros to show/hide sources.
The problem is that adding/subtracting even one source in SLOBS becomes a logistical nightmare due to these macros, resulting in the need to remap the x/y coordinates on on all my scripts.
As a result, I am looking for a cleaner way to incorporate a simple show/hide source request. This led me to the idea of passing the JSONRPC on the command line to SLOBS via curl or wscat. I see that this is possible using jsonrpc 2.0 via websocket.
Can you provide an example of a basic JSONRPC show/hide request passed on the command line using curl or wscat?
Here is the exact JSONRPC request I would want to pass:
Passing this data should make the sceneitem in question visible, showing the source!
If I can receive just ONE example of what this looks like, I can do this with any other source which will make me very, very happy. I might even be willing to part with my first born.
My SLOBS is running on the local machine and the command will also be passed via a cmd prompt on the same local machine. As a result, it appears the current documentation states that auth isn’t necessary.
Thank you so much for your consideration! If you can assist me with this problem, I can personally guarantee that the digital deity of PC gaming, Lord GabeN, will shed his graphical grace upon thee.