write a program in python that makes OBS automatically import a scene collection and profile

AJMN

New Member
If I want to write a program in python that OBS automatically imports a scene collection and profile, which obs program should I start directly or which folders should I modify
 
The functions obs_frontend_set_current_scene_collection and obs_frontend_set_current_profile will do what you want.
https://docs.obsproject.com/reference-frontend-api

Note that you can also specify profile and/or scene collection via command-line switches, no scripting required. I have multiple shortcuts on my desktop to run OBS with different profiles and scene collections for different purposes.
 
Top