Skip to content

Commit

Permalink
v3.4.0 version bump, patch notes, and lint
Browse files Browse the repository at this point in the history
  • Loading branch information
thedist committed Jun 28, 2023
1 parent de996b2 commit 3d7f942
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 9 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@ For some feedback, such as Tally and Layer Routing it's possible to enable 'blin
This module now supports Companions HTTP API, providing endpoints that can be used by 3rd party applications, and as a Data Source in vMix itself. Information on the API endpoints is available in [docs/HTTP_API.md](./docs/HTTP_API.md)

# Recent Patches
**V3.3.1**
**V3.4.0**
- Added Process ID logged to Debug at start to aid in debugging/performance tracking
- Fixed missing instance variables for Dynamic Inputs
- Fixed TCP pings on connections not yet established
- Fixed Browser Navigate action parsing variables
- Added Input option for Transition Mix actions, allowing transitioning to a specific input, or Preview if left blank

**V3.3.0**
- Added Feedback for Dynamic Input and Dynamic Values
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": "studiocoast-vmix",
"shortname": "vmix",
"description": "Module to control StudioCoast vMix",
"version": "3.3.1",
"version": "3.4.0",
"license": "MIT",
"repository": "git+https://github.com/bitfocus/companion-module-studiocoast-vmix.git",
"bugs": "https://github.com/bitfocus/companion-module-studiocoast-vmix/issues",
Expand Down
4 changes: 3 additions & 1 deletion docs/PATCH_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# Patch Notes

**V3.3.1**
**V3.4.0**
- Added Process ID logged to Debug at start to aid in debugging/performance tracking
- Fixed missing instance variables for Dynamic Inputs
- Fixed TCP pings on connections not yet established
- Fixed Browser Navigate action parsing variables
- Added Input option for Transition Mix actions, allowing transitioning to a specific input, or Preview if left blank

**V3.3.0**
- Added Feedback for Dynamic Input and Dynamic Values
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "studiocoast-vmix",
"version": "3.3.1",
"version": "3.4.0",
"main": "dist/index.js",
"scripts": {
"dev": "yarn build:watch",
Expand Down
23 changes: 18 additions & 5 deletions src/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1333,10 +1333,25 @@ export function getActions(instance: VMixInstance): VMixActions {
callback: async (action) => {
if (action.options.input !== '' && action.options.input !== undefined) {
const input = (await instance.parseOption(action.options.input))[instance.buttonShift.state]
let useInput: any = { actionId: 'transitionMix', options: { mix: action.options.mix, functionID: action.options.functionID, duration: action.options.duration, input } }
const useInput: any = {
actionId: 'transitionMix',
options: {
mix: action.options.mix,
functionID: action.options.functionID,
duration: action.options.duration,
input,
},
}
sendBasicCommand(useInput)
} else {
let usePreview: any = { actionId: 'transitionMix', options: { mix: action.options.mix, functionID: action.options.functionID, duration: action.options.duration } }
const usePreview: any = {
actionId: 'transitionMix',
options: {
mix: action.options.mix,
functionID: action.options.functionID,
duration: action.options.duration,
},
}
sendBasicCommand(usePreview)
}
},
Expand Down Expand Up @@ -3248,9 +3263,7 @@ export function getActions(instance: VMixInstance): VMixActions {
callback: async (action) => {
const value = await instance.parseVariablesInString(action.options.value)
if (instance.tcp)
instance.tcp.sendCommand(
`FUNCTION BrowserNavigate Input=${action.options.input}&Value=${value}`
)
instance.tcp.sendCommand(`FUNCTION BrowserNavigate Input=${action.options.input}&Value=${value}`)
},
},

Expand Down

0 comments on commit 3d7f942

Please sign in to comment.