def obs_set_current_scene(scene): scene_t = obs.obs_get_scene_by_name(scene) source_t = obs.obs_scene_get_source(scene_t) obs.obs_frontend_set_current_scene(source_t ...
Just run pip3 install obs-websocket-py in your Python venv or directly on your system. For manual install, git clone the github repo and copy the directory obswebsocket in your python project root.