-
Notifications
You must be signed in to change notification settings - Fork 0
/
randomImageTimer.json
236 lines (230 loc) · 5.23 KB
/
randomImageTimer.json
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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
{
"commandText": {
"type": "text",
"label": "Associated command:",
"value": "!img",
"group": "General Settings"
},
"permissionLvl": {
"type": "dropdown",
"label": "Who can trigger the widget?",
"options": {
"streamer": "Streamer",
"mods": "Streamer + Mods",
"everyone": "No restrictions"
},
"value": "mods",
"group": "General Settings"
},
"otherUsers": {
"type": "text",
"label": "Additional users (comma separated):",
"value": "",
"group": "General Settings"
},
"triggerInterval": {
"type": "number",
"label": "Trigger interval in minutes (0 = off):",
"min": 0,
"value": 0,
"step": 1,
"group": "General Settings"
},
"isInitiallyPaused": {
"type": "checkbox",
"label": "Initially paused?",
"value": false,
"group": "General Settings"
},
"isPausedAfterAlert": {
"type": "checkbox",
"label": "Pause after timer elapsed? (for giveaways)",
"value": false,
"group": "General Settings"
},
"imgPool": {
"type": "image-input",
"label": "Image Pool:",
"multiple": true,
"group": "Image Settings"
},
"sepImageSettings": {
"type": "hidden",
"label": "———————— Options ————————",
"group": "Image Settings"
},
"isDifferentImgEnforced": {
"type": "checkbox",
"label": "Enforce different image than current one?",
"value": false,
"group": "Image Settings"
},
"hasFullCycleRepetition": {
"type": "checkbox",
"label": "Cycle through all images before repeating?",
"value": false,
"group": "Image Settings"
},
"audioAlert_url": {
"type": "sound-input",
"label": "Audio Alert:",
"multiple": false,
"group": "Audio Settings"
},
"audioAlert_vol": {
"type": "slider",
"label": "Volume:",
"min": 0,
"max": 100,
"value": 50,
"step": 1,
"group": "Audio Settings"
},
"timerVisibility": {
"type": "dropdown",
"label": "Timer is ...",
"options": {
"visible": "visible",
"hidden": "hidden"
},
"value": "visible",
"group": "Timer Settings"
},
"sepTimerSettings1": {
"type": "hidden",
"label": "————————— Text —————————",
"group": "Timer Settings"
},
"timerFontFamily": {
"type": "googleFont",
"label": "Google font family:",
"value": "Roboto",
"group": "Timer Settings"
},
"timerFontSize": {
"type": "number",
"label": "Font size in px:",
"min": 1,
"value": 60,
"step": 1,
"group": "Timer Settings"
},
"timerPosition": {
"type": "dropdown",
"label": "Position:",
"options": {
"column-reverse": "top",
"column": "bottom"
},
"value": "column",
"group": "Timer Settings"
},
"timerAlignment": {
"type": "dropdown",
"label": "Text alignment:",
"options": {
"left": "left",
"center": "center",
"right": "right"
},
"value": "center",
"group": "Timer Settings"
},
"timerFontColor": {
"type": "colorpicker",
"label": "Font color:",
"value": "rgba(255, 255, 255, 1.0)",
"group": "Timer Settings"
},
"sepTimerSettings2": {
"type": "hidden",
"label": "———————— Margins ————————",
"group": "Timer Settings"
},
"timerMargin_top": {
"type": "number",
"label": "Margin top in px:",
"min": 0,
"value": 20,
"step": 1,
"group": "Timer Settings"
},
"timerMargin_right": {
"type": "number",
"label": "Margin right in px:",
"min": 0,
"value": 0,
"step": 1,
"group": "Timer Settings"
},
"timerMargin_bottom": {
"type": "number",
"label": "Margin bottom in px:",
"min": 0,
"value": 0,
"step": 1,
"group": "Timer Settings"
},
"timerMargin_left": {
"type": "number",
"label": "Margin left in px:",
"min": 0,
"value": 0,
"step": 1,
"group": "Timer Settings"
},
"sepTimerSettings3": {
"type": "hidden",
"label": "———————— Options ————————",
"group": "Timer Settings"
},
"isNumberPaddedWithZero": {
"type": "checkbox",
"label": "Pad single-digit numbers with 0?",
"value": true,
"group": "Timer Settings"
},
"randomImgButton": {
"type": "button",
"label": "Pick random img",
"value": "randomImg",
"group": "Buttons"
},
"pauseButton": {
"type": "button",
"label": "Pause / Resume",
"value": "pause",
"group": "Buttons"
},
"resetButton": {
"type": "button",
"label": "Reset timer",
"value": "reset",
"group": "Buttons"
},
"testMode": {
"type": "dropdown",
"label": "Test mode:",
"options": {
"on": "Enabled",
"off": "Disabled"
},
"value": "off",
"group": "Test Mode"
},
"widgetName": {
"type": "hidden",
"value": "RandomImageTimer",
"group": "Test Mode"
},
"widgetAuthor": {
"type": "hidden",
"value": "avoeh",
"group": "Test Mode"
},
"widgetVersion": {
"type": "hidden",
"value": 2,
"group": "Test Mode"
}
}