-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# OBS PerProfile Sources | ||
|
||
Script for [OBS](https://obsproject.com/) that allows showing and hiding scene elements (sources) based on the currently | ||
selected [profile](https://obsproject.com/wiki/Profiles-And-Scene-Collections). | ||
|
||
## How to use | ||
|
||
1. Download the script from the [releases](https://github.com/Susko3/obs-PerProfile-sources/releases/latest) page | ||
2. Add it to OBS using `Tools` → `Scripts` (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: | ||
|
||
 | ||
|
||
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](https://twitter.com/vtcircus) for the idea! |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.