diff --git a/README.md b/README.md index 4b92b3a..3a4a35b 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/companion/manifest.json b/companion/manifest.json index 8d5edf6..3a5f433 100644 --- a/companion/manifest.json +++ b/companion/manifest.json @@ -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", diff --git a/docs/PATCH_NOTES.md b/docs/PATCH_NOTES.md index 398bac3..ef25f3a 100644 --- a/docs/PATCH_NOTES.md +++ b/docs/PATCH_NOTES.md @@ -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 diff --git a/package.json b/package.json index f7366c4..95f6d71 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "studiocoast-vmix", - "version": "3.3.1", + "version": "3.4.0", "main": "dist/index.js", "scripts": { "dev": "yarn build:watch", diff --git a/src/actions.ts b/src/actions.ts index 03dd568..81ec587 100644 --- a/src/actions.ts +++ b/src/actions.ts @@ -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) } }, @@ -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}`) }, },