Skip to content

OBS script to automatically show or hide certain sources based on the selected profile

License

Notifications You must be signed in to change notification settings

Susko3/obs-PerProfile-sources

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OBS PerProfile Sources

Script for OBS that allows showing and hiding scene elements (sources) based on the currently selected profile.

How to use

  1. Download the script from the releases page
  2. Add it to OBS using ToolsScripts (make sure you have Python Settings properly set up)
  3. [Optional] Configure the Regex Pattern in script settings (hover over the ? to see examples)
  4. Add [profile:Profile Name] to each source you want to show only when that profile is selected

Example setup:

Example

With this setup, there are two profiles: YouTube and Twitch. When changing profiles, the appropriate chat will be shown.

Advanced usage

You can put multiple profiles on one item, anywhere in the name.
Example: Chat [profile:YouTube] [profile:Twitch] would show when either the YouTube or Twitch profile is selected, but not when Local recording is.

This script also works with groups and scenes-as-sources for more complex scenarios.

Notes

Source visibility is updated when the profile or scene changes. So if you are adding/renaming sources and their visibility isn't updating, change the scene back and forth.

Acknowledgements

Thanks to Circus for the idea!

About

OBS script to automatically show or hide certain sources based on the selected profile

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages