-
Notifications
You must be signed in to change notification settings - Fork 6
/
config.js.example
136 lines (115 loc) · 2.92 KB
/
config.js.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
// this configuration file is overridden by whatever is in
// $HOME/.config/pro-presenter-control.json
const config = {
UI_SERVER_PORT: 7000,
LOWER3_IMAGE: "/lower3.jpg",
// PROPRESENTER SETTINGS,
PRO6_HOST: "192.168.1.4:60157",
PRO6_SD_PASSWORD: "password",
PRO6_CONTROL_PASSWORD: "password",
// MIDI SETTINGS
MIDI_PORT: 4,
// JM_APPS LIVE EVENT SETTINGS
JM_APPS_LIVE_URL: "https://example.org:99999", // no final slash
// VMIX SETTINGS
VMIX_HOST: "192.168.1.5:8088", // no final slash
VMIX_LYRICS_INPUT: 10,
// COMPANION (BITFOCUS) SETTINGS
COMPANION_HOSTS: { first: "192.168.1.4:51234", second: "192.168.1.5:51234" },
// WEB LOGGER SETTINGS
LOGGER_URL: "https://example.org/log/index.php",
LOGGER_KEY: "key",
USEWEBLOG: true,
// for any controller, you may configure
// additional triggers by adding a triggers array
// the trigger callback will be called with the
// controller's instance as the first argument to the callback
// triggers look like this:
/*
triggers: [
{
tagname: 'tag',
description: 'description',
args: [
{
name: 'argname',
type: 'number|string|json|bool',
description: 'arg description',
optional: true|false
}
],
callback: (self, proInstance, ...args) => {self.doSomething();}
}
]
*/
controllers: {
// PROPRESENTER SETTINGS
// this is an array because we can have
// multiple propresenter instances
// any one of them can serve as the master
// and any of the rest of them can be 'followers'
// by default, the first one listed will be the master
pro: [
{
name: 'paul',
host: 'localhost',
port: 60157,
sd_pass: 'av',
remote_pass: 'control',
version: 6,
triggers: [],
},
],
// MIDI SETTINGS
midi: {
port: 4,
},
// enable the built-in http triggers
http: {},
// JM_APPS LIVE EVENT SETTINGS
jm_app_live_event: {
url: "https://example.com", // no final slash
},
// VMIX SETTINGS
vmix: {
host: "vmixip", // ip / hostname only
port: 8088, // this should be the http port, telnet port is always 8099
default_title_input: 10,
},
// OBS SETTINGS
obs: {
host: 'localhost',
port: 4444,
password: 'obs',
default_title_source: 'Pro Slide Text',
},
// BITFOCUS COMPANION (StreamDeck) SETTINGS
companion: [
{
name: 'paul',
host: '127.0.0.1',
port: 51234,
},
{
name: 'barnabas',
host: '127.0.0.2',
port: 51234,
},
],
// OSC SETTINGS
// osc: {
// host: "192.168.50.13", // telnet connections like integer port numbers
// port: 2323, // must be an integer
// }
// X32 SETTINGS
// x32: {
// host: "192.168.50.10", // telnet connections like integer port numbers
//}
// ONYX SETTINGS
// onyx: {
// host: "127.0.0.3", // telnet connections like integer port numbers
// port: 2323, // must be an integer
// }
},
};
module.exports = config;