obs-websocket icon indicating copy to clipboard operation
obs-websocket copied to clipboard

Feature Request: trigger CurrentSceneCollectionChanged before CurrentProgramSceneChanged

Open marjune163 opened this issue 2 years ago • 1 comments

Feature Request Type

Other

Feature Request Type (Other)

No response

Requested Feature

I want to track the scene collection and program scene change. When program scene changed, I will print a log, with the context of current scene collection. When switched a scene collection, currently CurrentProgramSceneChanged triggered first, and then CurrentSceneCollectionChanged. So the logger logs the new scene name with old scene collection name. So it will be good to make sure trigger CurrentSceneCollectionChanged before CurrentProgramSceneChanged.

Requested Feature Usage Scenario

trigger CurrentSceneCollectionChanged before CurrentProgramSceneChanged

marjune163 avatar Mar 20 '23 07:03 marjune163

The order in which these events are fired are controlled entirely by OBS itself and how it operates internally. If you're trying to track scene collection changes, it sounds like the CurrentSceneCollectionChanging event is what you want.

tt2468 avatar Apr 23 '23 06:04 tt2468