-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathremote.lua
More file actions
455 lines (363 loc) · 14.5 KB
/
remote.lua
File metadata and controls
455 lines (363 loc) · 14.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
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
local fs = libs.fs;
--@help up
actions.up = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 78");
end
--@help down
actions.down = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 79");
end
--@help left
actions.left = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 2000");
end
--@help right
actions.right = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 2100");
end
--@help enter
actions.enter = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 73");
end
--@help back
actions.back = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 84");
end
--@help play
actions.play = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 92");
end
--@help menue
actions.menue = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 111");
end
--@help rew
actions.rew = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 102");
end
--@help fwd
actions.fwd = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 103");
end
--@help red
actions.red = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 74");
end
--@help green
actions.green = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 75");
end
--@help yellow
actions.yellow = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 76");
end
--@help blue
actions.blue = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 77");
end
--@help startdvbviewer
actions.startdvbviewer = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\StartDVBViewer.vbs\" 77");
end
--@help stopdvbviewer
actions.stopdvbviewer = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 12294");
end
--@help standby
actions.standby = function()
server.run("Unified.Power", "sleep");
end
--@help shutdown
actions.shutdown = function()
server.run("Unified.Power", "shutdown");
end
--@help hibernate
actions.hibernate = function()
server.run("Unified.Power", "hibernate");
end
--@help num_0
actions.num_0 = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 40");
end
--@help num_1
actions.num_1 = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 41");
end
--@help num_2
actions.num_2 = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 42");
end
--@help num_3
actions.num_3 = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 43");
end
--@help num_4
actions.num_4 = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 44");
end
--@help num_5
actions.num_5 = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 45");
end
--@help num_6
actions.num_6 = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 46");
end
--@help num_7
actions.num_7 = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 47");
end
--@help num_8
actions.num_8 = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 48");
end
--@help num_9
actions.num_9 = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 49");
end
--@help show_playlist
actions.show_playlist = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 12384");
end
--@help show_htpc
actions.show_htpc = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 2110");
end
--@help show_timer
actions.show_timer = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 8195");
end
--@help show_recordings
actions.show_recordings = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 8196");
end
--@help show_now
actions.show_now = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 8197");
end
--@help show_epg
actions.show_epg = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 8198");
end
--@help show_channels
actions.show_channels = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 8199");
end
--@help show_favourites
actions.show_favourites = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 8200");
end
--@help show_timeline
actions.show_timeline = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 8201");
end
--@help show_pictures
actions.show_pictures = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 8202");
end
--@help show_music
actions.show_music = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 8203");
end
--@help show_video
actions.show_video = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 8204");
end
--@help show_news
actions.show_news = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 8205");
end
--@help show_weather
actions.show_weather = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 8206");
end
--@help show_miniepg
actions.show_miniepg = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 8207");
end
--@help show_music_playlist
actions.show_music_playlist = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 8208");
end
--@help show_video_playlist
actions.show_video_playlist = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 8209");
end
--@help zoomlevel_standard
actions.zoomlevel_standard = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 16389");
end
--@help zoomlevel_0
actions.zoomlevel_0 = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 16390");
end
--@help zoomlevel_1
actions.zoomlevel_1 = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 16391");
end
--@help zoomlevel_2
actions.zoomlevel_2 = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 16392");
end
--@help zoomlevel_3
actions.zoomlevel_3 = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 16393");
end
--@help zoomlevel_toggle
actions.zoomlevel_toggle = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 16394");
end
--@help record
actions.record = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 34");
end
--@help cmd_stop
actions.cmd_stop = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 114");
end
--@help cmd_play
actions.cmd_play = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 92");
end
--@help show_teletext
actions.show_teletext = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 101");
end
--@help show_computer
actions.show_computer = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 8210");
end
--@help dovolumedown
actions.dovolumedown = function()
libs.keyboard.press("volumedown");
end
--@help dovolumeup
actions.dovolumeup = function()
libs.keyboard.press("volumeup");
end
--@help mute
actions.mute = function()
libs.keyboard.press("volumemute");
end
--@help aspectratio
actions.aspectratio = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 22");
end
--@help audiochannel
actions.audiochannel = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 72");
end
--@help audioab
actions.audioab = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 133");
end
--@help lastchannel
actions.lastchannel = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 63");
end
--@help portalselect
actions.portalselect = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 8254");
end
--@help shaderlast
actions.shaderlast = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 2015");
end
--@help shadernone
actions.shadernone = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 2014");
end
--@help videoab
actions.videoab = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 132");
end
--@help zoomdown
actions.zoomdown = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 105");
end
--@help zoomup
actions.zoomup = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 104");
end
--@help favplus
actions.favplus = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 21");
end
--@help favminus
actions.favminus = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 20");
end
--@help addbookmark
actions.addbookmark = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 12306");
end
--@help brightnessup
actions.brightnessup = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 55");
end
--@help brightnessdown
actions.brightnessdown = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 56");
end
--@help chanminus
actions.chanminus = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 8");
end
--@help chanplus
actions.chanplus = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 9");
end
--@help dvdmenu
actions.dvdmenu = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 8246");
end
--@help ejectcd
actions.ejectcd = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 12299");
end
--@help osdclock
actions.osdclock = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 2010");
end
--@help rebuildgraph
actions.rebuildgraph = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 53");
end
--@help keeptimeshiftfile
actions.keeptimeshiftfile = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 2012");
end
--@help camwindow
actions.camwindow = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 8259");
end
--@help openserviceurl
actions.openserviceurl = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 16382");
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\OpenDVBService.vbs\"");
libs.device.mouse();
end
--@help togglesort
actions.togglesort = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 8279");
end
--@help togglesortdirection
actions.togglesortdirection = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 8280");
end
--@help toggleview
actions.toggleview = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 8278");
end
--@help dopause
actions.dopause = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 0");
end
--@help doresume
actions.doresume = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 92");
end
--@help doactivate
actions.doactivate = function()
os.start("%SystemRoot%\\System32\\wscript.exe", "\"" .. fs.remotedir() .. "\\DVBViewer\\SendCommand.vbs\" 16397");
end