Skip to content

Commit dda6699

Browse files
committed
v2.1.0: add custom, extend takeIDs
1 parent 0bd72d0 commit dda6699

File tree

7 files changed

+1910
-1709
lines changed

7 files changed

+1910
-1709
lines changed

companion/HELP.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Ross Xpression
22

3-
For additional help with Xpression commands, please reference [this guide](http://help.rossvideo.com/carbonite-device/Topics/Protocol/RossTalk/XPN/RT-XPN-Comm.html).
3+
For additional help with Xpression commands, please reference [this guide](https://help.rossvideo.com/acuity-device/Topics/Protocol/External/XPN/RT-XPN-Comm.html).
44

55
### Configuration
66

@@ -30,3 +30,4 @@ For additional help with Xpression commands, please reference [this guide](http:
3030
- Take sequencer item to air and advance next (NEXT)
3131
- Take take item off air (SEQO)
3232
- Trigger simulated GPI (GPI)
33+
- Send a custom command

companion/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
],
1616
"legacyIds": [],
1717
"runtime": {
18-
"type": "node18",
18+
"type": "node22",
1919
"api": "nodejs-ipc",
2020
"apiVersion": "0.0.0",
2121
"entrypoint": "../src/index.js"

package.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rossvideo-xpression",
3-
"version": "2.0.1",
3+
"version": "2.1.0",
44
"main": "src/index.js",
55
"type": "module",
66
"scripts": {
@@ -13,11 +13,15 @@
1313
},
1414
"license": "MIT",
1515
"dependencies": {
16-
"@companion-module/base": "~1.10"
16+
"@companion-module/base": "~1.11"
1717
},
1818
"devDependencies": {
19-
"@companion-module/tools": "~2.0",
19+
"@companion-module/tools": "~2.3",
2020
"prettier": "^3.0.0"
2121
},
22-
"prettier": "@companion-module/tools/.prettierrc.json"
22+
"prettier": "@companion-module/tools/.prettierrc.json",
23+
"engines": {
24+
"node": "^22.2"
25+
},
26+
"packageManager": "yarn@4.8.1"
2327
}

src/actions.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,5 +210,19 @@ export function updateActions() {
210210
executeAction(action)
211211
},
212212
},
213+
CUSTOM: {
214+
name: 'Send a custom command',
215+
description: 'Refer to RossTalk Guide',
216+
options: [
217+
{
218+
type: 'textinput',
219+
label: 'Command',
220+
id: 'cmd',
221+
},
222+
],
223+
callback: async (action) => {
224+
this.sendCommand(action.options.cmd)
225+
},
226+
},
213227
})
214228
}

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class RossvideoXpressionInstance extends InstanceBase {
3636
width: 12,
3737
label: 'Information',
3838
value:
39-
'For additional help with Xpression commands, please reference <a href="http://help.rossvideo.com/carbonite-device/Topics/Protocol/RossTalk/XPN/RT-XPN-Comm.html" target="_new">this guide</a>.',
39+
'For additional help with Xpression commands, please reference <a href="https://help.rossvideo.com/acuity-device/Topics/Protocol/External/XPN/RT-XPN-Comm.html" target="_blank">this guide</a>.',
4040
},
4141
{
4242
type: 'textinput',

src/setup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ export const Fields = {
2929
id: 'takeID',
3030
default: 0,
3131
min: 0,
32-
max: 9999,
32+
max: 999999999,
3333
},
3434
}

0 commit comments

Comments
 (0)