Skip to content

Commit

Permalink
chore: update default port to new port, update deps (#55)
Browse files Browse the repository at this point in the history
* chore: change default port to new default

* chore: update deps

* chore: add prettier

* chore: version up
  • Loading branch information
bryce-seifert authored Nov 16, 2024
1 parent 7acb20c commit 7629c76
Show file tree
Hide file tree
Showing 7 changed files with 422 additions and 1,181 deletions.
32 changes: 16 additions & 16 deletions actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ export function getActions() {
callback: async (action, context) => {
this.sendCommand(
`${await this.conformCueID(context, action.options.cuenumber)}/setGotoToCueID`,
`${await this.conformCueID(context, action.options.gotoCue)}`
`${await this.conformCueID(context, action.options.gotoCue)}`,
)
},
},
Expand Down Expand Up @@ -787,13 +787,13 @@ export function getActions() {
if (action.options.valueX) {
this.sendCommand(
`${await this.conformCueID(context, action.options.cuenumber)}/posXAsPixels`,
action.options.valueX
action.options.valueX,
)
}
if (action.options.valueY) {
this.sendCommand(
`${await this.conformCueID(context, action.options.cuenumber)}/posYAsPixels`,
action.options.valueY
action.options.valueY,
)
}
},
Expand Down Expand Up @@ -834,25 +834,25 @@ export function getActions() {
if (action.options.valueLeft) {
this.sendCommand(
`${await this.conformCueID(context, action.options.cuenumber)}/cropLeftAsPixels`,
action.options.valueLeft
action.options.valueLeft,
)
}
if (action.options.valueRight) {
this.sendCommand(
`${await this.conformCueID(context, action.options.cuenumber)}/cropRightAsPixels`,
action.options.valueRight
action.options.valueRight,
)
}
if (action.options.valueTop) {
this.sendCommand(
`${await this.conformCueID(context, action.options.cuenumber)}/cropTopAsPixels`,
action.options.valueTop
action.options.valueTop,
)
}
if (action.options.valueBottom) {
this.sendCommand(
`${await this.conformCueID(context, action.options.cuenumber)}/cropBottomAsPixels`,
action.options.valueBottom
action.options.valueBottom,
)
}
},
Expand Down Expand Up @@ -880,7 +880,7 @@ export function getActions() {
callback: async (action, context) => {
this.sendCommand(
`${await this.conformCueID(context, action.options.cuenumber)}/rotateAsDegrees`,
action.options.value
action.options.value,
)
},
},
Expand All @@ -907,7 +907,7 @@ export function getActions() {
callback: async (action, context) => {
this.sendCommand(
`${await this.conformCueID(context, action.options.cuenumber)}/hueAsDegrees`,
action.options.value
action.options.value,
)
},
},
Expand All @@ -934,7 +934,7 @@ export function getActions() {
callback: async (action, context) => {
this.sendCommand(
`${await this.conformCueID(context, action.options.cuenumber)}/saturationAsPercent`,
action.options.value
action.options.value,
)
},
},
Expand All @@ -961,7 +961,7 @@ export function getActions() {
callback: async (action, context) => {
this.sendCommand(
`${await this.conformCueID(context, action.options.cuenumber)}/vibranceAsPercent`,
action.options.value
action.options.value,
)
},
},
Expand All @@ -988,7 +988,7 @@ export function getActions() {
callback: async (action, context) => {
this.sendCommand(
`${await this.conformCueID(context, action.options.cuenumber)}/brightnessAsPercent`,
action.options.value
action.options.value,
)
},
},
Expand All @@ -1015,7 +1015,7 @@ export function getActions() {
callback: async (action, context) => {
this.sendCommand(
`${await this.conformCueID(context, action.options.cuenumber)}/contrastAsPercent`,
action.options.value
action.options.value,
)
},
},
Expand All @@ -1042,7 +1042,7 @@ export function getActions() {
callback: async (action, context) => {
this.sendCommand(
`${await this.conformCueID(context, action.options.cuenumber)}/opacityAsPercent`,
action.options.value
action.options.value,
)
},
},
Expand All @@ -1069,7 +1069,7 @@ export function getActions() {
callback: async (action, context) => {
this.sendCommand(
`${await this.conformCueID(context, action.options.cuenumber)}/volumeAsDecibels`,
parseFloat(action.options.value)
parseFloat(action.options.value),
)
},
},
Expand Down Expand Up @@ -1157,7 +1157,7 @@ export function getActions() {
callback: async (action, context) => {
this.sendCommand(
`${await this.conformCueID(context, action.options.cuenumber)}/playbackSpeed`,
action.options.value
action.options.value,
)
},
},
Expand Down
2 changes: 1 addition & 1 deletion companion/HELP.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

- In Mitti > Settings... > OSC/UDP Controls, select **Custom** from the **Feedback To** dropdown
- For **IP** enter the IP address of the computer running Companion
- For **Port** enter the port number that is present on the configuration page for the Mitti module in Companion. By default port `1234` is used
- For **Port** enter the port number that is present on the configuration page for the Mitti module in Companion. By default port `51001` is used

![Mitti](images/mitti.png?raw=true 'Mitti')

Expand Down
Binary file modified companion/images/mitti.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions companion/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"id": "imimot-mitti",
"name": "imimot-mitti",
"shortname": "mitti",
"description": "This module controls Mitti from Imimot.",
"version": "3.7.1",
"description": "Companion plugin for Mitti, a modern, feature-packed but easy-to-use pro video playback solution for live events and exhibitions.",
"version": "0.0.0",
"license": "MIT",
"repository": "git+https://github.com/bitfocus/companion-module-imimot-mitti.git",
"bugs": "https://github.com/bitfocus/companion-module-imimot-mitti/issues",
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class MittiInstance extends InstanceBase {
label: 'Feedback Port',
width: 5,
tooltip: 'The port designated for Feedback in the OSC/UDP Controls tab in Mitti',
default: 1234,
default: 51001,
regex: Regex.PORT,
},
]
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"legacy": [
"mitti"
],
"version": "3.7.1",
"version": "3.7.2",
"main": "index.js",
"type": "module",
"scripts": {
Expand All @@ -15,11 +15,12 @@
"url": "git+https://github.com/bitfocus/companion-module-imimot-mitti.git"
},
"dependencies": {
"@companion-module/base": "~1.10.0",
"@companion-module/base": "~1.11.1",
"osc": "^2.4.5"
},
"devDependencies": {
"@companion-module/tools": "^1.5.1"
"@companion-module/tools": "^2.1.0",
"prettier": "^3.3.3"
},
"prettier": "@companion-module/tools/.prettierrc.json"
}
Loading

0 comments on commit 7629c76

Please sign in to comment.