-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathnode.json
More file actions
236 lines (234 loc) · 6.5 KB
/
node.json
File metadata and controls
236 lines (234 loc) · 6.5 KB
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
{
"name": "Grid Player",
"optional": [
".*example.*",
"COPYRIGHT",
".*md$",
"package.png",
"empty.png",
"package-header.jpg"
],
"expand_schedules": true,
"options": [{
"title": "What to display",
"type": "section",
"name": "sources",
"toggles": [{
"key": "streaming",
"name": "Use experimental streaming",
"help": "Play a network based stream instead of a playlist."
}]
}, {
"title": "Playlist",
"name": "playlist",
"type": "list",
"itemname": "Item",
"condition": ["!", ["config", "sources", "streaming"]],
"items": [{
"title": "Asset",
"ui_width": 6,
"name": "file",
"type": "resource",
"valid": ["image", "video"],
"features": ["hevc", "image4k"],
"default": "empty.png"
}, {
"title": "Play time",
"ui_width": 2,
"name": "duration",
"type": "duration",
"hint": "How long should this item be displayed on screen. For videos, use their duration",
"default": 5
}, {
"title": "Schedule",
"name": "schedule",
"ui_width": 4,
"type": "schedule",
"default": "always"
}]
}, {
"title": "Experimental: Stream Source",
"name": "stream",
"type": "string",
"doc_link": true,
"condition": ["config", "sources", "streaming"],
"placeholder": "Url of your stream. Usually pointing to an .sdp file or multicast stream like udp://multicast-ip.",
"default": ""
},
{
"title": "Layout Configuration",
"type": "section"
}, {
"title": "Grid Width",
"ui_width": 2,
"hint": "Number of screens in the horizontal direction.",
"name": "grid_w",
"type": "select",
"options": [
[1, "1"],
[2, "2"],
[3, "3"],
[4, "4"],
[5, "5"],
[6, "6"]
],
"default": 2
}, {
"title": "Grid Height",
"ui_width": 2,
"hint": "Number of screens in the vertical direction.",
"name": "grid_h",
"type": "select",
"options": [
[1, "1"],
[2, "2"],
[3, "3"],
[4, "4"],
[5, "5"],
[6, "6"]
],
"default": 3
}, {
"title": "Scaling",
"ui_width": 4,
"name": "scaling",
"type": "select",
"hint": "How to scale your content into the available screen space",
"options": [
["preserve_aspect", "Preserve aspect ratio"],
["fill", "Fill available space"]
],
"default": "preserve_aspect"
}, {
"title": "Rotation",
"ui_width": 2,
"name": "rotation",
"type": "select",
"hint": "Are the invdividual screens of the video wall rotated? If so, specify the clockwise rotation",
"options": [
[0, "None"],
[90, "90°"],
[180, "180°"],
[270, "270°"]
],
"default": 0
}, {
"title": "Audio",
"ui_width": 2,
"name": "audio",
"type": "boolean",
"default": false
},
{
"title": "Device Assignment",
"type": "section"
}, {
"title": "Devices",
"name": "devices",
"type": "list",
"itemname": "Device",
"items": [{
"title": "X Position",
"ui_width": 2,
"hint": "Horizontal position within the grid. Must be between 1 and *Grid Width* specified above. 1 is the left-most screen.",
"name": "x",
"type": "select",
"options": [
[1, "1"],
[2, "2"],
[3, "3"],
[4, "4"],
[5, "5"],
[6, "6"]
],
"default": 1
}, {
"title": "Y Position",
"ui_width": 2,
"hint": "Vertical position within the grid. Must be between 1 and *Grid Height* specified above. 1 is the top-most screen.",
"name": "y",
"type": "select",
"options": [
[1, "1"],
[2, "2"],
[3, "3"],
[4, "4"],
[5, "5"],
[6, "6"]
],
"default": 1
}, {
"title": "Device",
"ui_width": 5,
"name": "serial",
"type": "device"
}, {
"title": "Overlay",
"ui_width": 3,
"name": "overlay",
"type": "resource",
"valid": ["image"],
"features": ["image4k"],
"default": "empty.png"
}]
}],
"presets": {
"2x2": {
"desc": "Example 2x2 video wall",
"config": {
"playlist": [{
"file": "example-asset.jpg",
"duration": 10
}],
"grid_w": 2,
"grid_h": 2,
"devices": [{
"x": 1, "y": 1
}, {
"x": 2, "y": 1
}, {
"x": 1, "y": 2
}, {
"x": 2, "y": 2
}]
}
},
"2x2stream": {
"desc": "Example 2x2 video wall for streaming",
"config": {
"playlist": [],
"stream": "http://192.168.1.xxx/stream.sdp",
"grid_w": 2,
"grid_h": 2,
"devices": [{
"x": 1, "y": 1
}, {
"x": 2, "y": 1
}, {
"x": 1, "y": 2
}, {
"x": 2, "y": 2
}]
}
},
"3x1": {
"desc": "Example 3x1 vertical video wall",
"config": {
"playlist": [{
"file": "example-asset.jpg",
"duration": 10
}],
"grid_w": 3,
"grid_h": 1,
"rotation": 90,
"devices": [{
"x": 1, "y": 1
}, {
"x": 2, "y": 1
}, {
"x": 3, "y": 1
}]
}
}
}
}