Open
Description
So - I have written a thin wrapper around this library which can be used on a command line:
https://gist.github.com/sochotnicky/101e3b2bbcdddd5db065d0ff102d3db2
For example:
$ python obs-cli.py ListSceneCollections
{
"scene-collections": [
{
"sc-name": "Demo - Share Left"
},
{
"sc-name": "Demo - Share Right"
},
{
"sc-name": "Share - WebCam"
},
{
"sc-name": "Untitled"
}
]
}
$ python obs-cli.py SetCurrentSceneCollection Untitled
{}
The way it's done it does not require changes when methods are added. I am sure there's things that do not work well - it would be nice for example if there were annotations on arguments that could be used to figure out expected argument types etc.
I was considering creating a separate repo for it & putting it there, but I figure maybe it could be more useful included here? If you'd be up for the idea - I can open a PR (it would need additional changes to setup.py etc to install the script)