Skip to content

Commit

Permalink
Merge pull request #18 from wojtek14a/route_routed
Browse files Browse the repository at this point in the history
1.4 - ability to route source routed to given destination
  • Loading branch information
josephdadams authored Jun 8, 2022
2 parents 8701bd3 + 6db26a7 commit 320bff5
Show file tree
Hide file tree
Showing 5 changed files with 656 additions and 635 deletions.
23 changes: 12 additions & 11 deletions HELP.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ This module will connect to any Blackmagic Design VideoHub Device.

**Available commands for Blackmagic Design VideoHub**

- Rename destination
- Rename source
- Rename serial port (when present)
- Route
- Route serial port (when present)
- Select destination
- Route source to selected destination
- Take (when enabled)
- Clear (when enabled)
- Write routes to a disk file
- Read routes from a disk file
* Rename destination
* Rename source
* Rename serial port (when present)
* Route
* Route source routed to other destination
* Route serial port (when present)
* Select destination
* Route source to selected destination
* Take (when enabled)
* Clear (when enabled)
* Write routes to a disk file
* Read routes from a disk file
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,16 @@

See HELP.md and LICENSE

**Changes in v1.4.0**
- Added ability to route source based on a source routed to given destination.

**Changes in v1.3.0**

- Added ability to read and write routing table to a disk file.
- Added 'Return to previous Route' as a release action
**Changes in v1.2.0**

**Changes in v1.2.0**

- Moved to split files structure for actions, feedback, presets, and variables.
- **companion-module-bmd-multiview16 extends this module.** Future changes require testing against both modules.

Expand Down
20 changes: 20 additions & 0 deletions actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,26 @@ module.exports = {
],
}

actions['route_routed'] = {
label: 'Route source routed to given destination',
options: [
{
type: 'dropdown',
label: 'Destination to take routed source from',
id: 'source_routed_to_destination',
default: '0',
choices: this.CHOICES_OUTPUTS
},
{
type: 'dropdown',
label: 'Destination',
id: 'destination',
default: '0',
choices: this.CHOICES_OUTPUTS
}
]
};

actions['route_to_previous'] = {
label: 'Return to previous route',
options: [
Expand Down
Loading

0 comments on commit 320bff5

Please sign in to comment.