obs_frontend_set_current_scene() only works in studio mode

Zonak

New Member
Hi there!

I'm writing a Python script to change scenes via my own custom remote. I use the obs_frontend_set_current_scene function to change the scene on the fly, and this used to work fine in both Preview only mode and Studio mode, but now this only works in Studio mode as of the most recent update. If I try to use my remote to change the scene while in Preview only, the entire interface stops responding (though funnily enough the encoder will still truck on and video output continues). I was combing the python scripting file and actually couldn't find obs_frontend_set_current_scene (but was able to find the one that changes the preview scene). Was there a recent change in the python scripting file or the way this backend call is handled? I'd prefer to keep the code I have now but if I need to rewrite it to adjust for this change I will.
 
Back
Top