Skip to content

Commit

Permalink
v3.4.1 (#255)
Browse files Browse the repository at this point in the history
* fix: update preview scene on studio mode change

* wip: convert some areas to batch requests

* chore: re-org some sections

* wip: more code organization / optimizing

* fix: prevent output check if changing scenes, null scene items

* chore: more null checking

* Delete .eslintrc

* wip: clean up media poll, rename some functions

* wip: wait for basic info before continuing setup

* wip: better scene item removal, fix groups

* wip: cleanup source variable creation

* chore: version up
  • Loading branch information
bryce-seifert authored Feb 17, 2024
1 parent 007bbe5 commit 02302a8
Show file tree
Hide file tree
Showing 9 changed files with 912 additions and 667 deletions.
10 changes: 0 additions & 10 deletions .eslintrc

This file was deleted.

14 changes: 1 addition & 13 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1 @@
# These are supported funding model platforms

github: bryce-seifert # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
github: bryce-seifert
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ See [HELP.md](https://github.com/bitfocus/companion-module-obs-studio/blob/maste

## Changelog

### v3.4.1

- Fix
- Performance improvements for Scene Collections with a large number of sources
- More accurately update action/feedback dropdowns when scenes/sources are removed
- Properly update scene_preview variable and Scene in Preview feedback when switching into Studio Mode
- Properly update scene_preview and scene_active variables when switching Scene Collections

### v3.4.0

- New
Expand Down
52 changes: 27 additions & 25 deletions actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -292,31 +292,33 @@ export function getActions() {
transitionDuration = revertTransitionDuration
}

this.sendBatch([
{
requestType: 'SetCurrentSceneTransition',
requestData: { transitionName: action.options.transition },
},
{
requestType: 'SetCurrentSceneTransitionDuration',
requestData: { transitionDuration: transitionDuration },
},
{
requestType: 'TriggerStudioModeTransition',
},
{
requestType: 'Sleep',
requestData: { sleepMillis: transitionWaitTime },
},
{
requestType: 'SetCurrentSceneTransition',
requestData: { transitionName: revertTransition },
},
{
requestType: 'SetCurrentSceneTransitionDuration',
requestData: { transitionDuration: revertTransitionDuration },
},
])
if (!this.states.transitionActive) {
this.sendBatch([
{
requestType: 'SetCurrentSceneTransition',
requestData: { transitionName: action.options.transition },
},
{
requestType: 'SetCurrentSceneTransitionDuration',
requestData: { transitionDuration: transitionDuration },
},
{
requestType: 'TriggerStudioModeTransition',
},
{
requestType: 'Sleep',
requestData: { sleepMillis: transitionWaitTime },
},
{
requestType: 'SetCurrentSceneTransition',
requestData: { transitionName: revertTransition },
},
{
requestType: 'SetCurrentSceneTransitionDuration',
requestData: { transitionDuration: revertTransitionDuration },
},
])
}
}
},
}
Expand Down
2 changes: 1 addition & 1 deletion companion/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "obs-studio",
"shortname": "obs",
"description": "Control OBS Studio using the obs-websocket plugin",
"version": "3.4.0",
"version": "3.4.1",
"license": "MIT",
"repository": "git+https://github.com/bitfocus/companion-module-obs-studio.git",
"bugs": "https://github.com/bitfocus/companion-module-obs-studio/issues",
Expand Down
Loading

0 comments on commit 02302a8

Please sign in to comment.