Skip to content

Simpleobsws to perform the scene change #17

Description

@chicco64

Hi !,
i would like to use your software to run a certain scene in obs;
these are the scenes currently loaded in my obs:

request = simpleobsws.Request( "GetSceneList" )

"scenes": [
{
"sceneIndex": 0,
"sceneName": "Scene 5"
},
{
"sceneIndex": 1,
"sceneName": "Scene 4"
},
{
"sceneIndex": 2,
"sceneName": "Scene 3"
},
{
"sceneIndex": 3,
"sceneName": "Scene 2"
},
{
"sceneIndex": 4,
"sceneName": "Scene"
}
]

I would like to use the "set Scene Name" (or another) function to execute, for example, "Scene 5", but I don't understand the syntax of the command itself.
Can you please give me a correct example to run, through your script "sample_request.py", the execution of a certain scene, among those present in obs studio
Many thanks !

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions