forked from bitfocus/companion-module-getontime-ontime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.js
80 lines (79 loc) · 1.91 KB
/
variables.js
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
module.exports = {
getVariables() {
const variables = [
{
label: 'State of timer (Running, Paused, Stopped, Roll)',
name: 'state',
},
{
label: 'Clock (hh:mm:ss)',
name: 'clock',
},
{
label: 'Start of timer (hh:mm:ss)',
name: 'timer_start',
},
{
label: 'Expected finish of timer (hh:mm:ss)',
name: 'timer_finish',
},
{
label: 'Current time of timer (hh:mm:ss)',
name: 'time',
},
{
label: 'Current time of timer (hh:mm)',
name: 'time_hm',
},
{
label: 'Current timer state Hours',
name: 'time_h',
},
{
label: 'Current timer state Minutes',
name: 'time_m',
},
{
label: 'Current timer state Seconds',
name: 'time_s',
},
{
label: 'Title of current event',
name: 'titleNow',
},
{
label: 'Subitle of current event',
name: 'subtitleNow',
},
{
label: 'Name of current speaker',
name: 'speakerNow',
},
{
label: 'Note of current event',
name: 'noteNow',
},
{
label: 'Title of next event',
name: 'titleNext',
},
{
label: 'Subitle of next event',
name: 'subtitleNext',
},
{
label: 'Name of next speaker',
name: 'speakerNext',
},
{
label: 'Note of next event',
name: 'noteNext',
},
{
label: 'On Air',
name: 'onAir',
},
]
return variables
}
}