-
Notifications
You must be signed in to change notification settings - Fork 0
/
GuidaTV-Homeassistant.json
6455 lines (6455 loc) · 756 KB
/
GuidaTV-Homeassistant.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
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
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
[
{ "id": "973dcb133a1fdc46", "type": "tab", "label": "Guida TV", "disabled": false, "info": "", "env": [] },
{
"id": "84bcab32b11ac7c7",
"type": "http request",
"z": "973dcb133a1fdc46",
"name": "",
"method": "GET",
"ret": "obj",
"paytoqs": "ignore",
"url": "",
"tls": "",
"persist": false,
"proxy": "",
"insecureHTTPParser": false,
"authType": "",
"senderr": false,
"headers": [],
"x": 630,
"y": 2580,
"wires": [["1c634bb46c24d3a7"]]
},
{
"id": "5490f5e3384fe80c",
"type": "inject",
"z": "973dcb133a1fdc46",
"name": "",
"props": [{ "p": "timestamp", "v": "", "vt": "date" }],
"repeat": "",
"crontab": "",
"once": true,
"onceDelay": "12",
"topic": "",
"x": 370,
"y": 2620,
"wires": [["bbcedda109702657"]]
},
{
"id": "5529d89ba2aab0f5",
"type": "json",
"z": "973dcb133a1fdc46",
"name": "",
"property": "final",
"action": "",
"pretty": false,
"x": 1030,
"y": 2740,
"wires": [
[
"7547312abb0d0ba4",
"2be1832cad10ded2",
"6fb48f80a87a8704",
"ba2040380e105baf",
"631343276274eab4",
"b05751f437e22fc9",
"8e60bd95d57825d1",
"e938066228badb13",
"8c9a4fa2b78af398",
"ca0716c3023537bf",
"352620ee3706c075",
"61643b76aee72979",
"7b7eb724c29decf3",
"d4b0a77df369a025",
"9b7b0e7c2dcb66cb",
"186390574d682b4d",
"83b9fcdcd5af886e",
"ca2378cfb9070b72",
"93601d558b6d1888",
"db6f0989c89b0591",
"3e36694ed31e8f74",
"b866ef841c95230d",
"91e7892bf8aa1036"
]
]
},
{
"id": "d6e3da6a1e70502e",
"type": "ha-button",
"z": "973dcb133a1fdc46",
"name": "Update Ora in TV",
"version": 0,
"debugenabled": false,
"outputs": 1,
"entityConfig": "258956c0edf0333b",
"outputProperties": [{ "property": "timestamp", "propertyType": "msg", "value": "", "valueType": "date" }],
"x": 360,
"y": 2660,
"wires": [["bbcedda109702657"]]
},
{
"id": "1c634bb46c24d3a7",
"type": "function",
"z": "973dcb133a1fdc46",
"name": "catch array name channel",
"func": "\n var name0 = JSON.stringify(msg.payload.events[0].channel.name);\n var title0 = JSON.stringify(msg.payload.events[0].program.title);\n var description0 = JSON.stringify(msg.payload.events[0].program.description);\n var date_start0 = msg.payload.events[0].date_start.split(\" \");\n var date_start_split0 = date_start0[1];\n var date_end0 = msg.payload.events[0].date_end.split(\" \");\n var date_end_split0 = date_end0[1];\n var duration0 = msg.payload.events[0].duration\n var icon0 = msg.payload.events[0].channel.icon\n\tvar chnumber0 = msg.payload.events[0].channel.channel_sat\n\tvar date_start0 = msg.payload.events[0].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start0 = date_start0[2] + '-' + date_start0[1] + '-' + date_start0[0] + ' ' + date_start0[3] + ':00.000000+02:00';\n var date_end0 = msg.payload.events[0].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end0 = date_end0[2] + '-' + date_end0[1] + '-' + date_end0[0] + ' ' + date_end0[3] + ':00.000000+02:00';\n\t\n var name1 = JSON.stringify(msg.payload.events[1].channel.name);\n var title1 = JSON.stringify(msg.payload.events[1].program.title);\n var description1 = JSON.stringify(msg.payload.events[1].program.description);\n var date_start1 = msg.payload.events[1].date_start.split(\" \");\n var date_start_split1 = date_start1[1];\n var date_end1 = msg.payload.events[1].date_end.split(\" \");\n var date_end_split1 = date_end1[1];\n var duration1 = msg.payload.events[1].duration\n var icon1 = msg.payload.events[1].channel.icon\n var chnumber1 = msg.payload.events[1].channel.channel_sat\n\tvar date_start1 = msg.payload.events[1].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start1 = date_start1[2] + '-' + date_start1[1] + '-' + date_start1[0] + ' ' + date_start1[3] + ':00.000000+02:00';\n var date_end1 = msg.payload.events[1].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end1 = date_end1[2] + '-' + date_end1[1] + '-' + date_end1[0] + ' ' + date_end1[3] + ':00.000000+02:00';\n\t\n var name2 = JSON.stringify(msg.payload.events[2].channel.name);\n var title2 = JSON.stringify(msg.payload.events[2].program.title);\n var description2 = JSON.stringify(msg.payload.events[2].program.description);\n var date_start2 = msg.payload.events[2].date_start.split(\" \");\n var date_start_split2 = date_start2[1];\n var date_end2 = msg.payload.events[2].date_end.split(\" \");\n var date_end_split2 = date_end2[1];\n var duration2 = msg.payload.events[2].duration\n var icon2 = msg.payload.events[2].channel.icon\n\tvar chnumber2 = msg.payload.events[2].channel.channel_sat\n\tvar date_start2 = msg.payload.events[2].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start2 = date_start2[2] + '-' + date_start2[1] + '-' + date_start2[0] + ' ' + date_start2[3] + ':00.000000+02:00';\n var date_end2 = msg.payload.events[2].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end2 = date_end2[2] + '-' + date_end2[1] + '-' + date_end2[0] + ' ' + date_end2[3] + ':00.000000+02:00';\n\t\n\tvar name3 = JSON.stringify(msg.payload.events[3].channel.name);\n var title3 = JSON.stringify(msg.payload.events[3].program.title);\n var description3 = JSON.stringify(msg.payload.events[3].program.description);\n var date_start3 = msg.payload.events[3].date_start.split(\" \");\n var date_start_split3 = date_start3[1];\n var date_end3 = msg.payload.events[3].date_end.split(\" \");\n var date_end_split3 = date_end3[1];\n var duration3 = msg.payload.events[3].duration\n var icon3 = msg.payload.events[3].channel.icon\n\tvar chnumber3 = msg.payload.events[3].channel.channel_sat\n\tvar date_start3 = msg.payload.events[3].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start3 = date_start3[2] + '-' + date_start3[1] + '-' + date_start3[0] + ' ' + date_start3[3] + ':00.000000+02:00';\n var date_end3 = msg.payload.events[3].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end3 = date_end3[2] + '-' + date_end3[1] + '-' + date_end3[0] + ' ' + date_end3[3] + ':00.000000+02:00';\n\t\n\tvar name4 = JSON.stringify(msg.payload.events[4].channel.name);\n var title4 = JSON.stringify(msg.payload.events[4].program.title);\n var description4 = JSON.stringify(msg.payload.events[4].program.description);\n var date_start4 = msg.payload.events[4].date_start.split(\" \");\n var date_start_split4 = date_start4[1];\n var date_end4 = msg.payload.events[4].date_end.split(\" \");\n var date_end_split4 = date_end4[1];\n var duration4 = msg.payload.events[4].duration\n var icon4 = msg.payload.events[4].channel.icon\n\tvar chnumber4 = msg.payload.events[4].channel.channel_sat\n\tvar date_start4 = msg.payload.events[4].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start4 = date_start4[2] + '-' + date_start4[1] + '-' + date_start4[0] + ' ' + date_start4[3] + ':00.000000+02:00';\n var date_end4 = msg.payload.events[4].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end4 = date_end4[2] + '-' + date_end4[1] + '-' + date_end4[0] + ' ' + date_end4[3] + ':00.000000+02:00';\n\t\n\tvar name5 = JSON.stringify(msg.payload.events[5].channel.name);\n var title5 = JSON.stringify(msg.payload.events[5].program.title);\n var description5 = JSON.stringify(msg.payload.events[5].program.description);\n var date_start5 = msg.payload.events[5].date_start.split(\" \");\n var date_start_split5 = date_start5[1];\n var date_end5 = msg.payload.events[5].date_end.split(\" \");\n var date_end_split5 = date_end5[1];\n var duration5 = msg.payload.events[5].duration\n var icon5 = msg.payload.events[5].channel.icon\n\tvar chnumber5 = msg.payload.events[5].channel.channel_sat\n\tvar date_start5 = msg.payload.events[5].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start5 = date_start5[2] + '-' + date_start5[1] + '-' + date_start5[0] + ' ' + date_start5[3] + ':00.000000+02:00';\n var date_end5 = msg.payload.events[5].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end5 = date_end5[2] + '-' + date_end5[1] + '-' + date_end5[0] + ' ' + date_end5[3] + ':00.000000+02:00';\n\t\n\tvar name6 = JSON.stringify(msg.payload.events[6].channel.name);\n var title6 = JSON.stringify(msg.payload.events[6].program.title);\n var description6 = JSON.stringify(msg.payload.events[6].program.description);\n var date_start6 = msg.payload.events[6].date_start.split(\" \");\n var date_start_split6 = date_start6[1];\n var date_end6 = msg.payload.events[6].date_end.split(\" \");\n var date_end_split6 = date_end6[1];\n var duration6 = msg.payload.events[6].duration\n var icon6 = msg.payload.events[6].channel.icon\n\tvar chnumber6 = msg.payload.events[6].channel.channel_sat\n\tvar date_start6 = msg.payload.events[6].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start6 = date_start6[2] + '-' + date_start6[1] + '-' + date_start6[0] + ' ' + date_start6[3] + ':00.000000+02:00';\n var date_end6 = msg.payload.events[6].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end6 = date_end6[2] + '-' + date_end6[1] + '-' + date_end6[0] + ' ' + date_end6[3] + ':00.000000+02:00';\n\t\n\tvar name7 = JSON.stringify(msg.payload.events[7].channel.name);\n var title7 = JSON.stringify(msg.payload.events[7].program.title);\n var description7 = JSON.stringify(msg.payload.events[7].program.description);\n var date_start7 = msg.payload.events[7].date_start.split(\" \");\n var date_start_split7 = date_start7[1];\n var date_end7 = msg.payload.events[7].date_end.split(\" \");\n var date_end_split7 = date_end7[1];\n var duration7 = msg.payload.events[7].duration\n var icon7 = msg.payload.events[7].channel.icon\n\tvar chnumber7 = msg.payload.events[7].channel.channel_sat\n\tvar date_start7 = msg.payload.events[7].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start7 = date_start7[2] + '-' + date_start7[1] + '-' + date_start7[0] + ' ' + date_start7[3] + ':00.000000+02:00';\n var date_end7 = msg.payload.events[7].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end7 = date_end7[2] + '-' + date_end7[1] + '-' + date_end7[0] + ' ' + date_end7[3] + ':00.000000+02:00';\n\t\n\tvar name8 = JSON.stringify(msg.payload.events[8].channel.name);\n var title8 = JSON.stringify(msg.payload.events[8].program.title);\n var description8 = JSON.stringify(msg.payload.events[8].program.description);\n var date_start8 = msg.payload.events[8].date_start.split(\" \");\n var date_start_split8 = date_start8[1];\n var date_end8 = msg.payload.events[8].date_end.split(\" \");\n var date_end_split8 = date_end8[1];\n var duration8 = msg.payload.events[8].duration\n var icon8 = msg.payload.events[8].channel.icon\n\tvar chnumber8 = msg.payload.events[8].channel.channel_sat\n\tvar date_start8 = msg.payload.events[8].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start8 = date_start8[2] + '-' + date_start8[1] + '-' + date_start8[0] + ' ' + date_start8[3] + ':00.000000+02:00';\n var date_end8 = msg.payload.events[8].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end8 = date_end8[2] + '-' + date_end8[1] + '-' + date_end8[0] + ' ' + date_end8[3] + ':00.000000+02:00';\n\t\n\tvar name9 = JSON.stringify(msg.payload.events[9].channel.name);\n var title9 = JSON.stringify(msg.payload.events[9].program.title);\n var description9 = JSON.stringify(msg.payload.events[9].program.description);\n var date_start9 = msg.payload.events[9].date_start.split(\" \");\n var date_start_split9 = date_start9[1];\n var date_end9 = msg.payload.events[9].date_end.split(\" \");\n var date_end_split9 = date_end9[1];\n var duration9 = msg.payload.events[9].duration\n var icon9 = msg.payload.events[9].channel.icon\n\tvar chnumber9 = msg.payload.events[9].channel.channel_sat\n\tvar date_start9 = msg.payload.events[9].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start9 = date_start9[2] + '-' + date_start9[1] + '-' + date_start9[0] + ' ' + date_start9[3] + ':00.000000+02:00';\n var date_end9 = msg.payload.events[9].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end9 = date_end9[2] + '-' + date_end9[1] + '-' + date_end9[0] + ' ' + date_end9[3] + ':00.000000+02:00';\n\t\n\tvar name10 = JSON.stringify(msg.payload.events[10].channel.name);\n var title10 = JSON.stringify(msg.payload.events[10].program.title);\n var description10 = JSON.stringify(msg.payload.events[10].program.description);\n var date_start10 = msg.payload.events[10].date_start.split(\" \");\n var date_start_split10 = date_start10[1];\n var date_end10 = msg.payload.events[10].date_end.split(\" \");\n var date_end_split10 = date_end10[1];\n var duration10 = msg.payload.events[10].duration\n var icon10 = msg.payload.events[10].channel.icon\n\tvar chnumber10 = msg.payload.events[10].channel.channel_sat\n\tvar date_start10 = msg.payload.events[10].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start10 = date_start10[2] + '-' + date_start10[1] + '-' + date_start10[0] + ' ' + date_start10[3] + ':00.000000+02:00';\n var date_end10 = msg.payload.events[10].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end10 = date_end10[2] + '-' + date_end10[1] + '-' + date_end10[0] + ' ' + date_end10[3] + ':00.000000+02:00';\n\t\n\tvar name11 = JSON.stringify(msg.payload.events[11].channel.name);\n var title11 = JSON.stringify(msg.payload.events[11].program.title);\n var description11 = JSON.stringify(msg.payload.events[11].program.description);\n var date_start11 = msg.payload.events[11].date_start.split(\" \");\n var date_start_split11 = date_start11[1];\n var date_end11 = msg.payload.events[11].date_end.split(\" \");\n var date_end_split11 = date_end11[1];\n var duration11 = msg.payload.events[11].duration\n var icon11 = msg.payload.events[11].channel.icon\n\tvar chnumber11 = msg.payload.events[11].channel.channel_sat\n\tvar date_start11 = msg.payload.events[11].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start11 = date_start11[2] + '-' + date_start11[1] + '-' + date_start11[0] + ' ' + date_start11[3] + ':00.000000+02:00';\n var date_end11 = msg.payload.events[11].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end11 = date_end11[2] + '-' + date_end11[1] + '-' + date_end11[0] + ' ' + date_end11[3] + ':00.000000+02:00';\n\t\n\tvar name12 = JSON.stringify(msg.payload.events[12].channel.name);\n var title12 = JSON.stringify(msg.payload.events[12].program.title);\n var description12 = JSON.stringify(msg.payload.events[12].program.description);\n var date_start12 = msg.payload.events[12].date_start.split(\" \");\n var date_start_split12 = date_start12[1];\n var date_end12 = msg.payload.events[12].date_end.split(\" \");\n var date_end_split12 = date_end12[1];\n var duration12 = msg.payload.events[12].duration\n var icon12 = msg.payload.events[12].channel.icon\n\tvar chnumber12 = msg.payload.events[12].channel.channel_sat\n\tvar date_start12 = msg.payload.events[12].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start12 = date_start12[2] + '-' + date_start12[1] + '-' + date_start12[0] + ' ' + date_start12[3] + ':00.000000+02:00';\n var date_end12 = msg.payload.events[12].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end12 = date_end12[2] + '-' + date_end12[1] + '-' + date_end12[0] + ' ' + date_end12[3] + ':00.000000+02:00';\n\t\n\tvar name13 = JSON.stringify(msg.payload.events[13].channel.name);\n var title13 = JSON.stringify(msg.payload.events[13].program.title);\n var description13 = JSON.stringify(msg.payload.events[13].program.description);\n var date_start13 = msg.payload.events[13].date_start.split(\" \");\n var date_start_split13 = date_start13[1];\n var date_end13 = msg.payload.events[13].date_end.split(\" \");\n var date_end_split13 = date_end13[1];\n var duration13 = msg.payload.events[13].duration\n var icon13 = msg.payload.events[13].channel.icon\n\tvar chnumber13 = msg.payload.events[13].channel.channel_sat\n\tvar date_start13 = msg.payload.events[13].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start13 = date_start13[2] + '-' + date_start13[1] + '-' + date_start13[0] + ' ' + date_start13[3] + ':00.000000+02:00';\n var date_end13 = msg.payload.events[13].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end13 = date_end13[2] + '-' + date_end13[1] + '-' + date_end13[0] + ' ' + date_end13[3] + ':00.000000+02:00';\n\t\n\tvar name14 = JSON.stringify(msg.payload.events[14].channel.name);\n var title14 = JSON.stringify(msg.payload.events[14].program.title);\n var description14 = JSON.stringify(msg.payload.events[14].program.description);\n var date_start14 = msg.payload.events[14].date_start.split(\" \");\n var date_start_split14 = date_start14[1];\n var date_end14 = msg.payload.events[14].date_end.split(\" \");\n var date_end_split14 = date_end14[1];\n var duration14 = msg.payload.events[14].duration\n var icon14 = msg.payload.events[14].channel.icon\n\tvar chnumber14 = msg.payload.events[14].channel.channel_sat\n\tvar date_start14 = msg.payload.events[14].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start14 = date_start14[2] + '-' + date_start14[1] + '-' + date_start14[0] + ' ' + date_start14[3] + ':00.000000+02:00';\n var date_end14 = msg.payload.events[14].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end14 = date_end14[2] + '-' + date_end14[1] + '-' + date_end14[0] + ' ' + date_end14[3] + ':00.000000+02:00';\n\t\n\tvar name15 = JSON.stringify(msg.payload.events[15].channel.name);\n var title15 = JSON.stringify(msg.payload.events[15].program.title);\n var description15 = JSON.stringify(msg.payload.events[15].program.description);\n var date_start15 = msg.payload.events[15].date_start.split(\" \");\n var date_start_split15 = date_start15[1];\n var date_end15 = msg.payload.events[15].date_end.split(\" \");\n var date_end_split15 = date_end15[1];\n var duration15 = msg.payload.events[15].duration\n var icon15 = msg.payload.events[15].channel.icon\n\tvar chnumber15 = msg.payload.events[15].channel.channel_sat\n\tvar date_start15 = msg.payload.events[15].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start15 = date_start15[2] + '-' + date_start15[1] + '-' + date_start15[0] + ' ' + date_start15[3] + ':00.000000+02:00';\n var date_end15 = msg.payload.events[15].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end15 = date_end15[2] + '-' + date_end15[1] + '-' + date_end15[0] + ' ' + date_end15[3] + ':00.000000+02:00';\n\t\n\tvar name16 = JSON.stringify(msg.payload.events[16].channel.name);\n var title16 = JSON.stringify(msg.payload.events[16].program.title);\n var description16 = JSON.stringify(msg.payload.events[16].program.description);\n var date_start16 = msg.payload.events[16].date_start.split(\" \");\n var date_start_split16 = date_start16[1];\n var date_end16 = msg.payload.events[16].date_end.split(\" \");\n var date_end_split16 = date_end16[1];\n var duration16 = msg.payload.events[16].duration\n var icon16 = msg.payload.events[16].channel.icon\n\tvar chnumber16 = msg.payload.events[16].channel.channel_sat\n\tvar date_start16 = msg.payload.events[16].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start16 = date_start16[2] + '-' + date_start16[1] + '-' + date_start16[0] + ' ' + date_start16[3] + ':00.000000+02:00';\n var date_end16 = msg.payload.events[16].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end16 = date_end16[2] + '-' + date_end16[1] + '-' + date_end16[0] + ' ' + date_end16[3] + ':00.000000+02:00';\n\t\n\tvar name17 = JSON.stringify(msg.payload.events[17].channel.name);\n var title17 = JSON.stringify(msg.payload.events[17].program.title);\n var description17 = JSON.stringify(msg.payload.events[17].program.description);\n var date_start17 = msg.payload.events[17].date_start.split(\" \");\n var date_start_split17 = date_start17[1];\n var date_end17 = msg.payload.events[17].date_end.split(\" \");\n var date_end_split17 = date_end17[1];\n var duration17 = msg.payload.events[17].duration\n var icon17 = msg.payload.events[17].channel.icon\n\tvar chnumber17 = msg.payload.events[17].channel.channel_sat\n\tvar date_start17 = msg.payload.events[17].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start17 = date_start17[2] + '-' + date_start17[1] + '-' + date_start17[0] + ' ' + date_start17[3] + ':00.000000+02:00';\n var date_end17 = msg.payload.events[17].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end17 = date_end17[2] + '-' + date_end17[1] + '-' + date_end17[0] + ' ' + date_end17[3] + ':00.000000+02:00';\n\t\n\tvar name18 = JSON.stringify(msg.payload.events[18].channel.name);\n var title18 = JSON.stringify(msg.payload.events[18].program.title);\n var description18 = JSON.stringify(msg.payload.events[18].program.description);\n var date_start18 = msg.payload.events[18].date_start.split(\" \");\n var date_start_split18 = date_start18[1];\n var date_end18 = msg.payload.events[18].date_end.split(\" \");\n var date_end_split18 = date_end18[1];\n var duration18 = msg.payload.events[18].duration\n var icon18 = msg.payload.events[18].channel.icon\n\tvar chnumber18 = msg.payload.events[18].channel.channel_sat\n\tvar date_start18 = msg.payload.events[18].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start18 = date_start18[2] + '-' + date_start18[1] + '-' + date_start18[0] + ' ' + date_start18[3] + ':00.000000+02:00';\n var date_end18 = msg.payload.events[18].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end18 = date_end18[2] + '-' + date_end18[1] + '-' + date_end18[0] + ' ' + date_end18[3] + ':00.000000+02:00';\n\t\n\tvar name19 = JSON.stringify(msg.payload.events[19].channel.name);\n var title19 = JSON.stringify(msg.payload.events[19].program.title);\n var description19 = JSON.stringify(msg.payload.events[19].program.description);\n var date_start19 = msg.payload.events[19].date_start.split(\" \");\n var date_start_split19 = date_start19[1];\n var date_end19 = msg.payload.events[19].date_end.split(\" \");\n var date_end_split19 = date_end19[1];\n var duration19 = msg.payload.events[19].duration\n var icon19 = msg.payload.events[19].channel.icon\n\tvar chnumber19 = msg.payload.events[19].channel.channel_sat\n\tvar date_start19 = msg.payload.events[19].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start19 = date_start19[2] + '-' + date_start19[1] + '-' + date_start19[0] + ' ' + date_start19[3] + ':00.000000+02:00';\n var date_end19 = msg.payload.events[19].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end19 = date_end19[2] + '-' + date_end19[1] + '-' + date_end19[0] + ' ' + date_end19[3] + ':00.000000+02:00';\n\t\n var name20 = JSON.stringify(msg.payload.events[20].channel.name);\n var title20 = JSON.stringify(msg.payload.events[20].program.title);\n var description20 = JSON.stringify(msg.payload.events[20].program.description);\n var date_start20 = msg.payload.events[20].date_start.split(\" \");\n var date_start_split20 = date_start20[1];\n var date_end20 = msg.payload.events[20].date_end.split(\" \");\n var date_end_split20 = date_end20[1];\n var duration20 = msg.payload.events[20].duration\n var icon20 = msg.payload.events[20].channel.icon\n\tvar chnumber20 = msg.payload.events[20].channel.channel_sat\n\tvar date_start20 = msg.payload.events[20].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start20 = date_start20[2] + '-' + date_start20[1] + '-' + date_start20[0] + ' ' + date_start20[3] + ':00.000000+02:00';\n var date_end20 = msg.payload.events[20].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end20 = date_end20[2] + '-' + date_end20[1] + '-' + date_end20[0] + ' ' + date_end20[3] + ':00.000000+02:00';\n\t\n\tvar name21 = JSON.stringify(msg.payload.events[21].channel.name);\n var title21 = JSON.stringify(msg.payload.events[21].program.title);\n var description21 = JSON.stringify(msg.payload.events[21].program.description);\n var date_start21 = msg.payload.events[21].date_start.split(\" \");\n var date_start_split21 = date_start21[1];\n var date_end21 = msg.payload.events[21].date_end.split(\" \");\n var date_end_split21 = date_end21[1];\n var duration21 = msg.payload.events[21].duration\n var icon21 = msg.payload.events[21].channel.icon\n\tvar chnumber21 = msg.payload.events[21].channel.channel_sat\n\tvar date_start21 = msg.payload.events[21].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start21 = date_start21[2] + '-' + date_start21[1] + '-' + date_start21[0] + ' ' + date_start21[3] + ':00.000000+02:00';\n var date_end21 = msg.payload.events[21].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end21 = date_end21[2] + '-' + date_end21[1] + '-' + date_end21[0] + ' ' + date_end21[3] + ':00.000000+02:00';\n\t\n\tvar name22 = JSON.stringify(msg.payload.events[22].channel.name);\n var title22 = JSON.stringify(msg.payload.events[22].program.title);\n var description22 = JSON.stringify(msg.payload.events[22].program.description);\n var date_start22 = msg.payload.events[22].date_start.split(\" \");\n var date_start_split22 = date_start22[1];\n var date_end22 = msg.payload.events[22].date_end.split(\" \");\n var date_end_split22 = date_end22[1];\n var duration22 = msg.payload.events[22].duration\n var icon22 = msg.payload.events[22].channel.icon\n\tvar chnumber22 = msg.payload.events[22].channel.channel_sat\n\tvar date_start22 = msg.payload.events[22].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start22 = date_start22[2] + '-' + date_start22[1] + '-' + date_start22[0] + ' ' + date_start22[3] + ':00.000000+02:00';\n var date_end22 = msg.payload.events[22].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end22 = date_end22[2] + '-' + date_end22[1] + '-' + date_end22[0] + ' ' + date_end22[3] + ':00.000000+02:00';\n\t\n\tvar name23 = JSON.stringify(msg.payload.events[23].channel.name);\n var title23 = JSON.stringify(msg.payload.events[23].program.title);\n var description23 = JSON.stringify(msg.payload.events[23].program.description);\n var date_start23 = msg.payload.events[23].date_start.split(\" \");\n var date_start_split23 = date_start23[1];\n var date_end23 = msg.payload.events[23].date_end.split(\" \");\n var date_end_split23 = date_end23[1];\n var duration23 = msg.payload.events[23].duration\n var icon23 = msg.payload.events[23].channel.icon\n\tvar chnumber23 = msg.payload.events[23].channel.channel_sat\n\tvar date_start23 = msg.payload.events[23].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start23 = date_start23[2] + '-' + date_start23[1] + '-' + date_start23[0] + ' ' + date_start23[3] + ':00.000000+02:00';\n var date_end23 = msg.payload.events[23].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end23 = date_end23[2] + '-' + date_end23[1] + '-' + date_end23[0] + ' ' + date_end23[3] + ':00.000000+02:00';\n\t\n\tvar name24 = JSON.stringify(msg.payload.events[24].channel.name);\n var title24 = JSON.stringify(msg.payload.events[24].program.title);\n var description24 = JSON.stringify(msg.payload.events[24].program.description);\n var date_start24 = msg.payload.events[24].date_start.split(\" \");\n var date_start_split24 = date_start24[1];\n var date_end24 = msg.payload.events[24].date_end.split(\" \");\n var date_end_split24 = date_end24[1];\n var duration24 = msg.payload.events[24].duration\n var icon24 = msg.payload.events[24].channel.icon\n\tvar chnumber24 = msg.payload.events[24].channel.channel_sat\n\tvar date_start24 = msg.payload.events[24].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start24 = date_start24[2] + '-' + date_start24[1] + '-' + date_start24[0] + ' ' + date_start24[3] + ':00.000000+02:00';\n var date_end24 = msg.payload.events[24].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end24 = date_end24[2] + '-' + date_end24[1] + '-' + date_end24[0] + ' ' + date_end24[3] + ':00.000000+02:00';\n\t\n\tvar name25 = JSON.stringify(msg.payload.events[25].channel.name);\n var title25 = JSON.stringify(msg.payload.events[25].program.title);\n var description25 = JSON.stringify(msg.payload.events[25].program.description);\n var date_start25 = msg.payload.events[25].date_start.split(\" \");\n var date_start_split25 = date_start25[1];\n var date_end25 = msg.payload.events[25].date_end.split(\" \");\n var date_end_split25 = date_end25[1];\n var duration25 = msg.payload.events[25].duration\n var icon25 = msg.payload.events[25].channel.icon\n\tvar chnumber25 = msg.payload.events[25].channel.channel_sat\n\tvar date_start25 = msg.payload.events[25].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start25 = date_start25[2] + '-' + date_start25[1] + '-' + date_start25[0] + ' ' + date_start25[3] + ':00.000000+02:00';\n var date_end25 = msg.payload.events[25].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end25 = date_end25[2] + '-' + date_end25[1] + '-' + date_end25[0] + ' ' + date_end25[3] + ':00.000000+02:00';\n\t\n\tvar name26 = JSON.stringify(msg.payload.events[26].channel.name);\n var title26 = JSON.stringify(msg.payload.events[26].program.title);\n var description26 = JSON.stringify(msg.payload.events[26].program.description);\n var date_start26 = msg.payload.events[26].date_start.split(\" \");\n var date_start_split26 = date_start26[1];\n var date_end26 = msg.payload.events[26].date_end.split(\" \");\n var date_end_split26 = date_end26[1];\n var duration26 = msg.payload.events[26].duration\n var icon26 = msg.payload.events[26].channel.icon\n\tvar chnumber26 = msg.payload.events[26].channel.channel_sat\n\tvar date_start26 = msg.payload.events[26].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start26 = date_start26[2] + '-' + date_start26[1] + '-' + date_start26[0] + ' ' + date_start26[3] + ':00.000000+02:00';\n var date_end26 = msg.payload.events[26].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end26 = date_end26[2] + '-' + date_end26[1] + '-' + date_end26[0] + ' ' + date_end26[3] + ':00.000000+02:00';\n\t\n\tvar name27 = JSON.stringify(msg.payload.events[27].channel.name);\n var title27 = JSON.stringify(msg.payload.events[27].program.title);\n var description27 = JSON.stringify(msg.payload.events[27].program.description);\n var date_start27 = msg.payload.events[27].date_start.split(\" \");\n var date_start_split27 = date_start27[1];\n var date_end27 = msg.payload.events[27].date_end.split(\" \");\n var date_end_split27 = date_end27[1];\n var duration27 = msg.payload.events[27].duration\n var icon27 = msg.payload.events[27].channel.icon\n\tvar chnumber27 = msg.payload.events[27].channel.channel_sat\n\tvar date_start27 = msg.payload.events[27].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start27 = date_start27[2] + '-' + date_start27[1] + '-' + date_start27[0] + ' ' + date_start27[3] + ':00.000000+02:00';\n var date_end27 = msg.payload.events[27].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end27 = date_end27[2] + '-' + date_end27[1] + '-' + date_end27[0] + ' ' + date_end27[3] + ':00.000000+02:00';\n\t\n\tvar name28 = JSON.stringify(msg.payload.events[28].channel.name);\n var title28 = JSON.stringify(msg.payload.events[28].program.title);\n var description28 = JSON.stringify(msg.payload.events[28].program.description);\n var date_start28 = msg.payload.events[28].date_start.split(\" \");\n var date_start_split28 = date_start28[1];\n var date_end28 = msg.payload.events[28].date_end.split(\" \");\n var date_end_split28 = date_end28[1];\n var duration28 = msg.payload.events[28].duration\n var icon28 = msg.payload.events[28].channel.icon\n\tvar chnumber28 = msg.payload.events[28].channel.channel_sat\n\tvar date_start28 = msg.payload.events[28].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start28 = date_start28[2] + '-' + date_start28[1] + '-' + date_start28[0] + ' ' + date_start28[3] + ':00.000000+02:00';\n var date_end28 = msg.payload.events[28].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end28 = date_end28[2] + '-' + date_end28[1] + '-' + date_end28[0] + ' ' + date_end28[3] + ':00.000000+02:00';\n\t\n\tvar name29 = JSON.stringify(msg.payload.events[29].channel.name);\n var title29 = JSON.stringify(msg.payload.events[29].program.title);\n var description29 = JSON.stringify(msg.payload.events[29].program.description);\n var date_start29 = msg.payload.events[29].date_start.split(\" \");\n var date_start_split29 = date_start29[1];\n var date_end29 = msg.payload.events[29].date_end.split(\" \");\n var date_end_split29 = date_end29[1];\n var duration29 = msg.payload.events[29].duration\n var icon29 = msg.payload.events[29].channel.icon\n\tvar chnumber29 = msg.payload.events[29].channel.channel_sat\n\tvar date_start29 = msg.payload.events[29].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start29 = date_start29[2] + '-' + date_start29[1] + '-' + date_start29[0] + ' ' + date_start29[3] + ':00.000000+02:00';\n var date_end29 = msg.payload.events[29].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end29 = date_end29[2] + '-' + date_end29[1] + '-' + date_end29[0] + ' ' + date_end29[3] + ':00.000000+02:00';\n\t\n var name30 = JSON.stringify(msg.payload.events[30].channel.name);\n var title30 = JSON.stringify(msg.payload.events[30].program.title);\n var description30 = JSON.stringify(msg.payload.events[30].program.description);\n var date_start30 = msg.payload.events[30].date_start.split(\" \");\n var date_start_split30 = date_start30[1];\n var date_end30 = msg.payload.events[30].date_end.split(\" \");\n var date_end_split30 = date_end30[1];\n var duration30 = msg.payload.events[30].duration\n var icon30 = msg.payload.events[30].channel.icon\n\tvar chnumber30 = msg.payload.events[30].channel.channel_sat\n\tvar date_start30 = msg.payload.events[30].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start30 = date_start30[2] + '-' + date_start30[1] + '-' + date_start30[0] + ' ' + date_start30[3] + ':00.000000+02:00';\n var date_end30 = msg.payload.events[30].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end30 = date_end30[2] + '-' + date_end30[1] + '-' + date_end30[0] + ' ' + date_end30[3] + ':00.000000+02:00';\n\t\n\tvar name31 = JSON.stringify(msg.payload.events[31].channel.name);\n var title31 = JSON.stringify(msg.payload.events[31].program.title);\n var description31 = JSON.stringify(msg.payload.events[31].program.description);\n var date_start31 = msg.payload.events[31].date_start.split(\" \");\n var date_start_split31 = date_start31[1];\n var date_end31 = msg.payload.events[31].date_end.split(\" \");\n var date_end_split31 = date_end31[1];\n var duration31 = msg.payload.events[31].duration\n var icon31 = msg.payload.events[31].channel.icon\n\tvar chnumber31 = msg.payload.events[31].channel.channel_sat\n\tvar date_start31 = msg.payload.events[31].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start31 = date_start31[2] + '-' + date_start31[1] + '-' + date_start31[0] + ' ' + date_start31[3] + ':00.000000+02:00';\n var date_end31 = msg.payload.events[31].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end31 = date_end31[2] + '-' + date_end31[1] + '-' + date_end31[0] + ' ' + date_end31[3] + ':00.000000+02:00';\n\t\n\tvar name32 = JSON.stringify(msg.payload.events[32].channel.name);\n var title32 = JSON.stringify(msg.payload.events[32].program.title);\n var description32 = JSON.stringify(msg.payload.events[32].program.description);\n var date_start32 = msg.payload.events[32].date_start.split(\" \");\n var date_start_split32 = date_start32[1];\n var date_end32 = msg.payload.events[32].date_end.split(\" \");\n var date_end_split32 = date_end32[1];\n var duration32 = msg.payload.events[32].duration\n var icon32 = msg.payload.events[32].channel.icon\n\tvar chnumber32 = msg.payload.events[32].channel.channel_sat\n\tvar date_start32 = msg.payload.events[32].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start32 = date_start32[2] + '-' + date_start32[1] + '-' + date_start32[0] + ' ' + date_start32[3] + ':00.000000+02:00';\n var date_end32 = msg.payload.events[32].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end32 = date_end32[2] + '-' + date_end32[1] + '-' + date_end32[0] + ' ' + date_end32[3] + ':00.000000+02:00';\n\t\n\tvar name33 = JSON.stringify(msg.payload.events[33].channel.name);\n var title33 = JSON.stringify(msg.payload.events[33].program.title);\n var description33 = JSON.stringify(msg.payload.events[33].program.description);\n var date_start33 = msg.payload.events[33].date_start.split(\" \");\n var date_start_split33 = date_start33[1];\n var date_end33 = msg.payload.events[33].date_end.split(\" \");\n var date_end_split33 = date_end33[1];\n var duration33 = msg.payload.events[33].duration\n var icon33 = msg.payload.events[33].channel.icon\n\tvar chnumber33 = msg.payload.events[33].channel.channel_sat\n\tvar date_start33 = msg.payload.events[33].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start33 = date_start33[2] + '-' + date_start33[1] + '-' + date_start33[0] + ' ' + date_start33[3] + ':00.000000+02:00';\n var date_end33 = msg.payload.events[33].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end33 = date_end33[2] + '-' + date_end33[1] + '-' + date_end33[0] + ' ' + date_end33[3] + ':00.000000+02:00';\n\t\n\tvar name34 = JSON.stringify(msg.payload.events[34].channel.name);\n var title34 = JSON.stringify(msg.payload.events[34].program.title);\n var description34 = JSON.stringify(msg.payload.events[34].program.description);\n var date_start34 = msg.payload.events[34].date_start.split(\" \");\n var date_start_split34 = date_start34[1];\n var date_end34 = msg.payload.events[34].date_end.split(\" \");\n var date_end_split34 = date_end34[1];\n var duration34 = msg.payload.events[34].duration\n var icon34 = msg.payload.events[34].channel.icon\n\tvar chnumber34 = msg.payload.events[34].channel.channel_sat\n\tvar date_start34 = msg.payload.events[34].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start34 = date_start34[2] + '-' + date_start34[1] + '-' + date_start34[0] + ' ' + date_start34[3] + ':00.000000+02:00';\n var date_end34 = msg.payload.events[34].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end34 = date_end34[2] + '-' + date_end34[1] + '-' + date_end34[0] + ' ' + date_end34[3] + ':00.000000+02:00';\n\t\n\tvar name35 = JSON.stringify(msg.payload.events[35].channel.name);\n var title35 = JSON.stringify(msg.payload.events[35].program.title);\n var description35 = JSON.stringify(msg.payload.events[35].program.description);\n var date_start35 = msg.payload.events[35].date_start.split(\" \");\n var date_start_split35 = date_start35[1];\n var date_end35 = msg.payload.events[35].date_end.split(\" \");\n var date_end_split35 = date_end35[1];\n var duration35 = msg.payload.events[35].duration\n var icon35 = msg.payload.events[35].channel.icon\n\tvar chnumber35 = msg.payload.events[35].channel.channel_sat\n\tvar date_start35 = msg.payload.events[35].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start35 = date_start35[2] + '-' + date_start35[1] + '-' + date_start35[0] + ' ' + date_start35[3] + ':00.000000+02:00';\n var date_end35 = msg.payload.events[35].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end35 = date_end35[2] + '-' + date_end35[1] + '-' + date_end35[0] + ' ' + date_end35[3] + ':00.000000+02:00';\n\t\n\tvar name36 = JSON.stringify(msg.payload.events[36].channel.name);\n var title36 = JSON.stringify(msg.payload.events[36].program.title);\n var description36 = JSON.stringify(msg.payload.events[36].program.description);\n var date_start36 = msg.payload.events[36].date_start.split(\" \");\n var date_start_split36 = date_start36[1];\n var date_end36 = msg.payload.events[36].date_end.split(\" \");\n var date_end_split36 = date_end36[1];\n var duration36 = msg.payload.events[36].duration\n var icon36 = msg.payload.events[36].channel.icon\n\tvar chnumber36 = msg.payload.events[36].channel.channel_sat\n\tvar date_start36 = msg.payload.events[36].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start36 = date_start36[2] + '-' + date_start36[1] + '-' + date_start36[0] + ' ' + date_start36[3] + ':00.000000+02:00';\n var date_end36 = msg.payload.events[36].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end36 = date_end36[2] + '-' + date_end36[1] + '-' + date_end36[0] + ' ' + date_end36[3] + ':00.000000+02:00';\n\t\n\t\n\tvar name37 = JSON.stringify(msg.payload.events[37].channel.name);\n var title37 = JSON.stringify(msg.payload.events[37].program.title);\n var description37 = JSON.stringify(msg.payload.events[37].program.description);\n var date_start37 = msg.payload.events[37].date_start.split(\" \");\n var date_start_split37 = date_start37[1];\n var date_end37 = msg.payload.events[37].date_end.split(\" \");\n var date_end_split37 = date_end37[1];\n var duration37 = msg.payload.events[37].duration\n var icon37 = msg.payload.events[37].channel.icon\n\tvar chnumber37 = msg.payload.events[37].channel.channel_sat\n\tvar date_start37 = msg.payload.events[37].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start37 = date_start37[2] + '-' + date_start37[1] + '-' + date_start37[0] + ' ' + date_start37[3] + ':00.000000+02:00';\n var date_end37 = msg.payload.events[37].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end37 = date_end37[2] + '-' + date_end37[1] + '-' + date_end37[0] + ' ' + date_end37[3] + ':00.000000+02:00';\n\t\n\t\n\tvar name38 = JSON.stringify(msg.payload.events[38].channel.name);\n var title38 = JSON.stringify(msg.payload.events[38].program.title);\n var description38 = JSON.stringify(msg.payload.events[38].program.description);\n var date_start38 = msg.payload.events[38].date_start.split(\" \");\n var date_start_split38 = date_start38[1];\n var date_end38 = msg.payload.events[38].date_end.split(\" \");\n var date_end_split38 = date_end38[1];\n var duration38 = msg.payload.events[38].duration\n var icon38 = msg.payload.events[38].channel.icon\n\tvar chnumber38 = msg.payload.events[38].channel.channel_sat\n\tvar date_start38 = msg.payload.events[38].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start38 = date_start38[2] + '-' + date_start38[1] + '-' + date_start38[0] + ' ' + date_start38[3] + ':00.000000+02:00';\n var date_end38 = msg.payload.events[38].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end38 = date_end38[2] + '-' + date_end38[1] + '-' + date_end38[0] + ' ' + date_end38[3] + ':00.000000+02:00';\n\t\n\t\t\n\tvar name39 = JSON.stringify(msg.payload.events[39].channel.name);\n var title39 = JSON.stringify(msg.payload.events[39].program.title);\n var description39 = JSON.stringify(msg.payload.events[39].program.description);\n var date_start39 = msg.payload.events[39].date_start.split(\" \");\n var date_start_split39 = date_start39[1];\n var date_end39 = msg.payload.events[39].date_end.split(\" \");\n var date_end_split39 = date_end39[1];\n var duration39 = msg.payload.events[39].duration\n var icon39 = msg.payload.events[39].channel.icon\n\tvar chnumber39 = msg.payload.events[39].channel.channel_sat\n\tvar date_start39 = msg.payload.events[39].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start39 = date_start39[2] + '-' + date_start39[1] + '-' + date_start39[0] + ' ' + date_start39[3] + ':00.000000+02:00';\n var date_end39 = msg.payload.events[39].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end39 = date_end39[2] + '-' + date_end39[1] + '-' + date_end39[0] + ' ' + date_end39[3] + ':00.000000+02:00';\n\t\n\t\t\n var name40 = JSON.stringify(msg.payload.events[40].channel.name);\n var title40 = JSON.stringify(msg.payload.events[40].program.title);\n var description40 = JSON.stringify(msg.payload.events[40].program.description);\n var date_start40 = msg.payload.events[40].date_start.split(\" \");\n var date_start_split40 = date_start40[1];\n var date_end40 = msg.payload.events[40].date_end.split(\" \");\n var date_end_split40 = date_end40[1];\n var duration40 = msg.payload.events[40].duration\n var icon40 = msg.payload.events[40].channel.icon\n\tvar chnumber40 = msg.payload.events[40].channel.channel_sat\n\tvar date_start40 = msg.payload.events[40].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start40 = date_start40[2] + '-' + date_start40[1] + '-' + date_start40[0] + ' ' + date_start40[3] + ':00.000000+02:00';\n var date_end40 = msg.payload.events[40].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end40 = date_end40[2] + '-' + date_end40[1] + '-' + date_end40[0] + ' ' + date_end40[3] + ':00.000000+02:00';\n\t\t\n\tvar name41 = JSON.stringify(msg.payload.events[41].channel.name);\n var title41 = JSON.stringify(msg.payload.events[41].program.title);\n var description41 = JSON.stringify(msg.payload.events[41].program.description);\n var date_start41 = msg.payload.events[41].date_start.split(\" \");\n var date_start_split41 = date_start41[1];\n var date_end41 = msg.payload.events[41].date_end.split(\" \");\n var date_end_split41 = date_end41[1];\n var duration41 = msg.payload.events[41].duration\n var icon41 = msg.payload.events[41].channel.icon\n\tvar chnumber41 = msg.payload.events[41].channel.channel_sat\n\tvar date_start41 = msg.payload.events[41].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start41 = date_start41[2] + '-' + date_start41[1] + '-' + date_start41[0] + ' ' + date_start41[3] + ':00.000000+02:00';\n var date_end41 = msg.payload.events[41].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end41 = date_end41[2] + '-' + date_end41[1] + '-' + date_end41[0] + ' ' + date_end41[3] + ':00.000000+02:00';\n\t\n\tvar name42 = JSON.stringify(msg.payload.events[42].channel.name);\n var title42 = JSON.stringify(msg.payload.events[42].program.title);\n var description42 = JSON.stringify(msg.payload.events[42].program.description);\n var date_start42 = msg.payload.events[42].date_start.split(\" \");\n var date_start_split42 = date_start42[1];\n var date_end42 = msg.payload.events[42].date_end.split(\" \");\n var date_end_split42 = date_end42[1];\n var duration42 = msg.payload.events[42].duration\n var icon42 = msg.payload.events[42].channel.icon\n\tvar chnumber42 = msg.payload.events[42].channel.channel_sat\n\tvar date_start42 = msg.payload.events[42].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start42 = date_start42[2] + '-' + date_start42[1] + '-' + date_start42[0] + ' ' + date_start42[3] + ':00.000000+02:00';\n var date_end42 = msg.payload.events[42].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end42 = date_end42[2] + '-' + date_end42[1] + '-' + date_end42[0] + ' ' + date_end42[3] + ':00.000000+02:00';\n\t\n\tvar name43 = JSON.stringify(msg.payload.events[43].channel.name);\n var title43 = JSON.stringify(msg.payload.events[43].program.title);\n var description43 = JSON.stringify(msg.payload.events[43].program.description);\n var date_start43 = msg.payload.events[43].date_start.split(\" \");\n var date_start_split43 = date_start43[1];\n var date_end43 = msg.payload.events[43].date_end.split(\" \");\n var date_end_split43 = date_end43[1];\n var duration43 = msg.payload.events[43].duration\n var icon43 = msg.payload.events[43].channel.icon\n\tvar chnumber43 = msg.payload.events[43].channel.channel_sat\n\tvar date_start43 = msg.payload.events[43].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start43 = date_start43[2] + '-' + date_start43[1] + '-' + date_start43[0] + ' ' + date_start43[3] + ':00.000000+02:00';\n var date_end43 = msg.payload.events[43].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end43 = date_end43[2] + '-' + date_end43[1] + '-' + date_end43[0] + ' ' + date_end43[3] + ':00.000000+02:00';\n\t\n\tvar name44 = JSON.stringify(msg.payload.events[44].channel.name);\n var title44 = JSON.stringify(msg.payload.events[44].program.title);\n var description44 = JSON.stringify(msg.payload.events[44].program.description);\n var date_start44 = msg.payload.events[44].date_start.split(\" \");\n var date_start_split44 = date_start44[1];\n var date_end44 = msg.payload.events[44].date_end.split(\" \");\n var date_end_split44 = date_end44[1];\n var duration44 = msg.payload.events[44].duration\n var icon44 = msg.payload.events[44].channel.icon\n\tvar chnumber44 = msg.payload.events[44].channel.channel_sat\n\tvar date_start44 = msg.payload.events[44].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start44 = date_start44[2] + '-' + date_start44[1] + '-' + date_start44[0] + ' ' + date_start44[3] + ':00.000000+02:00';\n var date_end44 = msg.payload.events[44].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end44 = date_end44[2] + '-' + date_end44[1] + '-' + date_end44[0] + ' ' + date_end44[3] + ':00.000000+02:00';\n\t\n\tvar name45 = JSON.stringify(msg.payload.events[45].channel.name);\n var title45 = JSON.stringify(msg.payload.events[45].program.title);\n var description45 = JSON.stringify(msg.payload.events[45].program.description);\n var date_start45 = msg.payload.events[45].date_start.split(\" \");\n var date_start_split45 = date_start45[1];\n var date_end45 = msg.payload.events[45].date_end.split(\" \");\n var date_end_split45 = date_end45[1];\n var duration45 = msg.payload.events[45].duration\n var icon45 = msg.payload.events[45].channel.icon\n\tvar chnumber45 = msg.payload.events[45].channel.channel_sat\n\tvar date_start45 = msg.payload.events[45].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start45 = date_start45[2] + '-' + date_start45[1] + '-' + date_start45[0] + ' ' + date_start45[3] + ':00.000000+02:00';\n var date_end45 = msg.payload.events[45].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end45 = date_end45[2] + '-' + date_end45[1] + '-' + date_end45[0] + ' ' + date_end45[3] + ':00.000000+02:00';\n\t\n\tvar name46 = JSON.stringify(msg.payload.events[46].channel.name);\n var title46 = JSON.stringify(msg.payload.events[46].program.title);\n var description46 = JSON.stringify(msg.payload.events[46].program.description);\n var date_start46 = msg.payload.events[46].date_start.split(\" \");\n var date_start_split46 = date_start46[1];\n var date_end46 = msg.payload.events[46].date_end.split(\" \");\n var date_end_split46 = date_end46[1];\n var duration46 = msg.payload.events[46].duration\n var icon46 = msg.payload.events[46].channel.icon\n\tvar chnumber46 = msg.payload.events[46].channel.channel_sat\n\tvar date_start46 = msg.payload.events[46].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start46 = date_start46[2] + '-' + date_start46[1] + '-' + date_start46[0] + ' ' + date_start46[3] + ':00.000000+02:00';\n var date_end46 = msg.payload.events[46].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end46 = date_end46[2] + '-' + date_end46[1] + '-' + date_end46[0] + ' ' + date_end46[3] + ':00.000000+02:00';\n\t\n\tvar name47 = JSON.stringify(msg.payload.events[47].channel.name);\n var title47 = JSON.stringify(msg.payload.events[47].program.title);\n var description47 = JSON.stringify(msg.payload.events[47].program.description);\n var date_start47 = msg.payload.events[47].date_start.split(\" \");\n var date_start_split47 = date_start47[1];\n var date_end47 = msg.payload.events[47].date_end.split(\" \");\n var date_end_split47 = date_end47[1];\n var duration47 = msg.payload.events[47].duration\n var icon47 = msg.payload.events[47].channel.icon\n\tvar chnumber47 = msg.payload.events[47].channel.channel_sat\n\tvar date_start47 = msg.payload.events[47].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start47 = date_start47[2] + '-' + date_start47[1] + '-' + date_start47[0] + ' ' + date_start47[3] + ':00.000000+02:00';\n var date_end47 = msg.payload.events[47].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end47 = date_end47[2] + '-' + date_end47[1] + '-' + date_end47[0] + ' ' + date_end47[3] + ':00.000000+02:00';\n\t\n\tvar name48 = JSON.stringify(msg.payload.events[48].channel.name);\n var title48 = JSON.stringify(msg.payload.events[48].program.title);\n var description48 = JSON.stringify(msg.payload.events[48].program.description);\n var date_start48 = msg.payload.events[48].date_start.split(\" \");\n var date_start_split48 = date_start48[1];\n var date_end48 = msg.payload.events[48].date_end.split(\" \");\n var date_end_split48 = date_end48[1];\n var duration48 = msg.payload.events[48].duration\n var icon48 = msg.payload.events[48].channel.icon\n\tvar chnumber48 = msg.payload.events[48].channel.channel_sat\n\tvar date_start48 = msg.payload.events[48].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start48 = date_start48[2] + '-' + date_start48[1] + '-' + date_start48[0] + ' ' + date_start48[3] + ':00.000000+02:00';\n var date_end48 = msg.payload.events[48].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end48 = date_end48[2] + '-' + date_end48[1] + '-' + date_end48[0] + ' ' + date_end48[3] + ':00.000000+02:00';\n\t\t\n\tvar name49 = JSON.stringify(msg.payload.events[49].channel.name);\n var title49 = JSON.stringify(msg.payload.events[49].program.title);\n var description49 = JSON.stringify(msg.payload.events[49].program.description);\n var date_start49 = msg.payload.events[49].date_start.split(\" \");\n var date_start_split49 = date_start49[1];\n var date_end49 = msg.payload.events[49].date_end.split(\" \");\n var date_end_split49 = date_end49[1];\n var duration49 = msg.payload.events[49].duration\n var icon49 = msg.payload.events[49].channel.icon\n\tvar chnumber49 = msg.payload.events[49].channel.channel_sat\n\tvar date_start49 = msg.payload.events[49].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start49 = date_start49[2] + '-' + date_start49[1] + '-' + date_start49[0] + ' ' + date_start49[3] + ':00.000000+02:00';\n var date_end49 = msg.payload.events[49].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end49 = date_end49[2] + '-' + date_end49[1] + '-' + date_end49[0] + ' ' + date_end49[3] + ':00.000000+02:00';\n\t\n var name50 = JSON.stringify(msg.payload.events[50].channel.name);\n var title50 = JSON.stringify(msg.payload.events[50].program.title);\n var description50 = JSON.stringify(msg.payload.events[50].program.description);\n var date_start50 = msg.payload.events[50].date_start.split(\" \");\n var date_start_split50 = date_start50[1];\n var date_end50 = msg.payload.events[50].date_end.split(\" \");\n var date_end_split50 = date_end50[1];\n var duration50 = msg.payload.events[50].duration\n var icon50 = msg.payload.events[50].channel.icon\n\tvar chnumber50 = msg.payload.events[50].channel.channel_sat\n\tvar date_start50 = msg.payload.events[50].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start50 = date_start50[2] + '-' + date_start50[1] + '-' + date_start50[0] + ' ' + date_start50[3] + ':00.000000+02:00';\n var date_end50 = msg.payload.events[50].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end50 = date_end50[2] + '-' + date_end50[1] + '-' + date_end50[0] + ' ' + date_end50[3] + ':00.000000+02:00';\n\t\n\tvar name51 = JSON.stringify(msg.payload.events[51].channel.name);\n var title51 = JSON.stringify(msg.payload.events[51].program.title);\n var description51 = JSON.stringify(msg.payload.events[51].program.description);\n var date_start51 = msg.payload.events[51].date_start.split(\" \");\n var date_start_split51 = date_start51[1];\n var date_end51 = msg.payload.events[51].date_end.split(\" \");\n var date_end_split51 = date_end51[1];\n var duration51 = msg.payload.events[51].duration\n var icon51 = msg.payload.events[51].channel.icon\n\tvar chnumber51 = msg.payload.events[51].channel.channel_sat\n\tvar date_start51 = msg.payload.events[51].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start51 = date_start51[2] + '-' + date_start51[1] + '-' + date_start51[0] + ' ' + date_start51[3] + ':00.000000+02:00';\n var date_end51 = msg.payload.events[51].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end51 = date_end51[2] + '-' + date_end51[1] + '-' + date_end51[0] + ' ' + date_end51[3] + ':00.000000+02:00';\n\t\n\tvar name52 = JSON.stringify(msg.payload.events[52].channel.name);\n var title52 = JSON.stringify(msg.payload.events[52].program.title);\n var description52 = JSON.stringify(msg.payload.events[52].program.description);\n var date_start52 = msg.payload.events[52].date_start.split(\" \");\n var date_start_split52 = date_start52[1];\n var date_end52 = msg.payload.events[52].date_end.split(\" \");\n var date_end_split52 = date_end52[1];\n var duration52 = msg.payload.events[52].duration\n var icon52 = msg.payload.events[52].channel.icon\n\tvar chnumber52 = msg.payload.events[52].channel.channel_sat\n\tvar date_start52 = msg.payload.events[52].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start52 = date_start52[2] + '-' + date_start52[1] + '-' + date_start52[0] + ' ' + date_start52[3] + ':00.000000+02:00';\n var date_end52 = msg.payload.events[52].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end52 = date_end52[2] + '-' + date_end52[1] + '-' + date_end52[0] + ' ' + date_end52[3] + ':00.000000+02:00';\n\t\n\tvar name53 = JSON.stringify(msg.payload.events[53].channel.name);\n var title53 = JSON.stringify(msg.payload.events[53].program.title);\n var description53 = JSON.stringify(msg.payload.events[53].program.description);\n var date_start53 = msg.payload.events[53].date_start.split(\" \");\n var date_start_split53 = date_start53[1];\n var date_end53 = msg.payload.events[53].date_end.split(\" \");\n var date_end_split53 = date_end53[1];\n var duration53 = msg.payload.events[53].duration\n var icon53 = msg.payload.events[53].channel.icon\n\tvar chnumber53 = msg.payload.events[53].channel.channel_sat\n\tvar date_start53 = msg.payload.events[53].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start53 = date_start53[2] + '-' + date_start53[1] + '-' + date_start53[0] + ' ' + date_start53[3] + ':00.000000+02:00';\n var date_end53 = msg.payload.events[53].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end53 = date_end53[2] + '-' + date_end53[1] + '-' + date_end53[0] + ' ' + date_end53[3] + ':00.000000+02:00';\n\t\n\t\n\tvar name54 = JSON.stringify(msg.payload.events[54].channel.name);\n var title54 = JSON.stringify(msg.payload.events[54].program.title);\n var description54 = JSON.stringify(msg.payload.events[54].program.description);\n var date_start54 = msg.payload.events[54].date_start.split(\" \");\n var date_start_split54 = date_start54[1];\n var date_end54 = msg.payload.events[54].date_end.split(\" \");\n var date_end_split54 = date_end54[1];\n var duration54 = msg.payload.events[54].duration\n var icon54 = msg.payload.events[54].channel.icon\n\tvar chnumber54 = msg.payload.events[54].channel.channel_sat\n\tvar date_start54 = msg.payload.events[54].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start54 = date_start54[2] + '-' + date_start54[1] + '-' + date_start54[0] + ' ' + date_start54[3] + ':00.000000+02:00';\n var date_end54 = msg.payload.events[54].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end54 = date_end54[2] + '-' + date_end54[1] + '-' + date_end54[0] + ' ' + date_end54[3] + ':00.000000+02:00';\n\t\n\t\n\tvar name55 = JSON.stringify(msg.payload.events[55].channel.name);\n var title55 = JSON.stringify(msg.payload.events[55].program.title);\n var description55 = JSON.stringify(msg.payload.events[55].program.description);\n var date_start55 = msg.payload.events[55].date_start.split(\" \");\n var date_start_split55 = date_start55[1];\n var date_end55 = msg.payload.events[55].date_end.split(\" \");\n var date_end_split55 = date_end55[1];\n var duration55 = msg.payload.events[55].duration\n var icon55 = msg.payload.events[55].channel.icon\n\tvar chnumber55 = msg.payload.events[55].channel.channel_sat\n\tvar date_start55 = msg.payload.events[55].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start55 = date_start55[2] + '-' + date_start55[1] + '-' + date_start55[0] + ' ' + date_start55[3] + ':00.000000+02:00';\n var date_end55 = msg.payload.events[55].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end55 = date_end55[2] + '-' + date_end55[1] + '-' + date_end55[0] + ' ' + date_end55[3] + ':00.000000+02:00';\n\t\n\tvar name56 = JSON.stringify(msg.payload.events[56].channel.name);\n var title56 = JSON.stringify(msg.payload.events[56].program.title);\n var description56 = JSON.stringify(msg.payload.events[56].program.description);\n var date_start56 = msg.payload.events[56].date_start.split(\" \");\n var date_start_split56 = date_start56[1];\n var date_end56 = msg.payload.events[56].date_end.split(\" \");\n var date_end_split56 = date_end56[1];\n var duration56 = msg.payload.events[56].duration\n var icon56 = msg.payload.events[56].channel.icon\n\tvar chnumber56 = msg.payload.events[56].channel.channel_sat\n\tvar date_start56 = msg.payload.events[56].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start56 = date_start56[2] + '-' + date_start56[1] + '-' + date_start56[0] + ' ' + date_start56[3] + ':00.000000+02:00';\n var date_end56 = msg.payload.events[56].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end56 = date_end56[2] + '-' + date_end56[1] + '-' + date_end56[0] + ' ' + date_end56[3] + ':00.000000+02:00';\n\t\n\tvar name57 = JSON.stringify(msg.payload.events[57].channel.name);\n var title57 = JSON.stringify(msg.payload.events[57].program.title);\n var description57 = JSON.stringify(msg.payload.events[57].program.description);\n var date_start57 = msg.payload.events[57].date_start.split(\" \");\n var date_start_split57 = date_start57[1];\n var date_end57 = msg.payload.events[57].date_end.split(\" \");\n var date_end_split57 = date_end57[1];\n var duration57 = msg.payload.events[57].duration\n var icon57 = msg.payload.events[57].channel.icon\n\tvar chnumber57 = msg.payload.events[57].channel.channel_sat\n\tvar date_start57 = msg.payload.events[57].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start57 = date_start57[2] + '-' + date_start57[1] + '-' + date_start57[0] + ' ' + date_start57[3] + ':00.000000+02:00';\n var date_end57 = msg.payload.events[57].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end57 = date_end57[2] + '-' + date_end57[1] + '-' + date_end57[0] + ' ' + date_end57[3] + ':00.000000+02:00';\n\t\n\tvar name58 = JSON.stringify(msg.payload.events[58].channel.name);\n var title58 = JSON.stringify(msg.payload.events[58].program.title);\n var description58 = JSON.stringify(msg.payload.events[58].program.description);\n var date_start58 = msg.payload.events[58].date_start.split(\" \");\n var date_start_split58 = date_start58[1];\n var date_end58 = msg.payload.events[58].date_end.split(\" \");\n var date_end_split58 = date_end58[1];\n var duration58 = msg.payload.events[58].duration\n var icon58 = msg.payload.events[58].channel.icon\n\tvar chnumber58 = msg.payload.events[58].channel.channel_sat\n\tvar date_start58 = msg.payload.events[58].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start58 = date_start58[2] + '-' + date_start58[1] + '-' + date_start58[0] + ' ' + date_start58[3] + ':00.000000+02:00';\n var date_end58 = msg.payload.events[58].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end58 = date_end58[2] + '-' + date_end58[1] + '-' + date_end58[0] + ' ' + date_end58[3] + ':00.000000+02:00';\n\t\n\t\t\n\tvar name59 = JSON.stringify(msg.payload.events[59].channel.name);\n var title59 = JSON.stringify(msg.payload.events[59].program.title);\n var description59 = JSON.stringify(msg.payload.events[59].program.description);\n var date_start59 = msg.payload.events[59].date_start.split(\" \");\n var date_start_split59 = date_start59[1];\n var date_end59 = msg.payload.events[59].date_end.split(\" \");\n var date_end_split59 = date_end59[1];\n var duration59 = msg.payload.events[59].duration\n var icon59 = msg.payload.events[59].channel.icon\n\tvar chnumber59 = msg.payload.events[59].channel.channel_sat\n\tvar date_start59 = msg.payload.events[59].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start59 = date_start59[2] + '-' + date_start59[1] + '-' + date_start59[0] + ' ' + date_start59[3] + ':00.000000+02:00';\n var date_end59 = msg.payload.events[59].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end59 = date_end59[2] + '-' + date_end59[1] + '-' + date_end59[0] + ' ' + date_end59[3] + ':00.000000+02:00';\n\t\n\t\n var name60 = JSON.stringify(msg.payload.events[60].channel.name);\n var title60 = JSON.stringify(msg.payload.events[60].program.title);\n var description60 = JSON.stringify(msg.payload.events[60].program.description);\n var date_start60 = msg.payload.events[60].date_start.split(\" \");\n var date_start_split60 = date_start60[1];\n var date_end60 = msg.payload.events[60].date_end.split(\" \");\n var date_end_split60 = date_end60[1];\n var duration60 = msg.payload.events[60].duration\n var icon60 = msg.payload.events[60].channel.icon\n\tvar chnumber60 = msg.payload.events[60].channel.channel_sat\n\tvar date_start60 = msg.payload.events[60].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start60 = date_start60[2] + '-' + date_start60[1] + '-' + date_start60[0] + ' ' + date_start60[3] + ':00.000000+02:00';\n var date_end60 = msg.payload.events[60].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end60 = date_end60[2] + '-' + date_end60[1] + '-' + date_end60[0] + ' ' + date_end60[3] + ':00.000000+02:00';\n\t\n\t\nmsg.final = '{' + name0 + ':{' + '\"title\":' + title0 + ',' + '\"description\":' + description0 + ',' + '\"icon\":\"' + icon0 + '\",' + '\"duration\": ' + duration0 + ',' + '\"chnumber\": ' + chnumber0 + ', \"start\":' + '\"' + date_start_split0 + '\",\"stop\":\"' + date_end_split0 + '\",\"date_start\":\"' + date_start0 + '\",\"date_stop\":\"' + date_end0 + '\"},'\n\t\t\t + name1 + ':{' + '\"title\":' + title1 + ',' + '\"description\":' + description1 + ',' + '\"icon\":\"' + icon1 + '\",' + '\"duration\": ' + duration1 + ',' + '\"chnumber\": ' + chnumber1 + ', \"start\":' + '\"' + date_start_split1 + '\",\"stop\":\"' + date_end_split1 + '\",\"date_start\":\"' + date_start1 + '\",\"date_stop\":\"' + date_end1 + '\"},'\n\t\t\t\t+ name2 + ':{' + '\"title\":' + title2 + ',' + '\"description\":' + description2 + ',' + '\"icon\":\"' + icon2 + '\",' + '\"duration\": ' + duration2 + ',' + '\"chnumber\": ' + chnumber2 + ', \"start\":' + '\"' + date_start_split2 + '\",\"stop\":\"' + date_end_split2 + '\",\"date_start\":\"' + date_start2 + '\",\"date_stop\":\"' + date_end2 + '\"},'\n\t\t\t\t+ name3 + ':{' + '\"title\":' + title3 + ',' + '\"description\":' + description3 + ',' + '\"icon\":\"' + icon3 + '\",' + '\"duration\": ' + duration3 + ',' + '\"chnumber\": ' + chnumber3 + ', \"start\":' + '\"' + date_start_split3 + '\",\"stop\":\"' + date_end_split3 + '\",\"date_start\":\"' + date_start3 + '\",\"date_stop\":\"' + date_end3 + '\"},'\n\t\t\t\t+ name4 + ':{' + '\"title\":' + title4 + ',' + '\"description\":' + description4 + ',' + '\"icon\":\"' + icon4 + '\",' + '\"duration\": ' + duration4 + ',' + '\"chnumber\": ' + chnumber4 + ', \"start\":' + '\"' + date_start_split4 + '\",\"stop\":\"' + date_end_split4 + '\",\"date_start\":\"' + date_start4 + '\",\"date_stop\":\"' + date_end4 + '\"},'\n\t\t\t\t+ name5 + ':{' + '\"title\":' + title5 + ',' + '\"description\":' + description5 + ',' + '\"icon\":\"' + icon5 + '\",' + '\"duration\": ' + duration5 + ',' + '\"chnumber\": ' + chnumber5 + ', \"start\":' + '\"' + date_start_split5 + '\",\"stop\":\"' + date_end_split5 + '\",\"date_start\":\"' + date_start5 + '\",\"date_stop\":\"' + date_end5 + '\"},'\n\t\t\t\t+ name6 + ':{' + '\"title\":' + title6 + ',' + '\"description\":' + description6 + ',' + '\"icon\":\"' + icon6 + '\",' + '\"duration\": ' + duration6 + ',' + '\"chnumber\": ' + chnumber6 + ', \"start\":' + '\"' + date_start_split6 + '\",\"stop\":\"' + date_end_split6 + '\",\"date_start\":\"' + date_start6 + '\",\"date_stop\":\"' + date_end6 + '\"},'\n\t\t\t\t+ name7 + ':{' + '\"title\":' + title7 + ',' + '\"description\":' + description7 + ',' + '\"icon\":\"' + icon7 + '\",' + '\"duration\": ' + duration7 + ',' + '\"chnumber\": ' + chnumber7 + ', \"start\":' + '\"' + date_start_split7 + '\",\"stop\":\"' + date_end_split7 + '\",\"date_start\":\"' + date_start7 + '\",\"date_stop\":\"' + date_end7 + '\"},'\n\t\t\t\t+ name8 + ':{' + '\"title\":' + title8 + ',' + '\"description\":' + description8 + ',' + '\"icon\":\"' + icon8 + '\",' + '\"duration\": ' + duration8 + ',' + '\"chnumber\": ' + chnumber8 + ', \"start\":' + '\"' + date_start_split8 + '\",\"stop\":\"' + date_end_split8 + '\",\"date_start\":\"' + date_start8 + '\",\"date_stop\":\"' + date_end8 + '\"},'\n\t\t\t\t+ name9 + ':{' + '\"title\":' + title9 + ',' + '\"description\":' + description9 + ',' + '\"icon\":\"' + icon9 + '\",' + '\"duration\": ' + duration9 + ',' + '\"chnumber\": ' + chnumber9 + ', \"start\":' + '\"' + date_start_split9 + '\",\"stop\":\"' + date_end_split9 + '\",\"date_start\":\"' + date_start9 + '\",\"date_stop\":\"' + date_end9 + '\"},'\n\t\t\t\t+ name10 + ':{' + '\"title\":' + title10 + ',' + '\"description\":' + description10 + ',' + '\"icon\":\"' + icon10 + '\",' + '\"duration\": ' + duration10 + ',' + '\"chnumber\": ' + chnumber10 + ', \"start\":' + '\"' + date_start_split10 + '\",\"stop\":\"' + date_end_split10 + '\",\"date_start\":\"' + date_start10 + '\",\"date_stop\":\"' + date_end10 + '\"},'\n\t\t\t\t+ name11 + ':{' + '\"title\":' + title11 + ',' + '\"description\":' + description11 + ',' + '\"icon\":\"' + icon11 + '\",' + '\"duration\": ' + duration11 + ',' + '\"chnumber\": ' + chnumber11 + ', \"start\":' + '\"' + date_start_split11 + '\",\"stop\":\"' + date_end_split11 + '\",\"date_start\":\"' + date_start11 + '\",\"date_stop\":\"' + date_end11 + '\"},'\n\t\t\t\t+ name12 + ':{' + '\"title\":' + title12 + ',' + '\"description\":' + description12 + ',' + '\"icon\":\"' + icon12 + '\",' + '\"duration\": ' + duration12 + ',' + '\"chnumber\": ' + chnumber12 + ', \"start\":' + '\"' + date_start_split12 + '\",\"stop\":\"' + date_end_split12 + '\",\"date_start\":\"' + date_start12 + '\",\"date_stop\":\"' + date_end12 + '\"},'\n\t\t\t\t+ name13 + ':{' + '\"title\":' + title13 + ',' + '\"description\":' + description13 + ',' + '\"icon\":\"' + icon13 + '\",' + '\"duration\": ' + duration13 + ',' + '\"chnumber\": ' + chnumber13 + ', \"start\":' + '\"' + date_start_split13 + '\",\"stop\":\"' + date_end_split13 + '\",\"date_start\":\"' + date_start13 + '\",\"date_stop\":\"' + date_end13 + '\"},'\n\t\t\t\t+ name14 + ':{' + '\"title\":' + title14 + ',' + '\"description\":' + description14 + ',' + '\"icon\":\"' + icon14 + '\",' + '\"duration\": ' + duration14 + ',' + '\"chnumber\": ' + chnumber14 + ', \"start\":' + '\"' + date_start_split14 + '\",\"stop\":\"' + date_end_split14 + '\",\"date_start\":\"' + date_start14 + '\",\"date_stop\":\"' + date_end14 + '\"},'\n\t\t\t\t+ name15 + ':{' + '\"title\":' + title15 + ',' + '\"description\":' + description15 + ',' + '\"icon\":\"' + icon15 + '\",' + '\"duration\": ' + duration15 + ',' + '\"chnumber\": ' + chnumber15 + ', \"start\":' + '\"' + date_start_split15 + '\",\"stop\":\"' + date_end_split15 + '\",\"date_start\":\"' + date_start15 + '\",\"date_stop\":\"' + date_end15 + '\"},'\n\t\t\t\t+ name16 + ':{' + '\"title\":' + title16 + ',' + '\"description\":' + description16 + ',' + '\"icon\":\"' + icon16 + '\",' + '\"duration\": ' + duration16 + ',' + '\"chnumber\": ' + chnumber16 + ', \"start\":' + '\"' + date_start_split16 + '\",\"stop\":\"' + date_end_split16 + '\",\"date_start\":\"' + date_start16 + '\",\"date_stop\":\"' + date_end16 + '\"},'\n\t\t\t\t+ name17 + ':{' + '\"title\":' + title17 + ',' + '\"description\":' + description17 + ',' + '\"icon\":\"' + icon17 + '\",' + '\"duration\": ' + duration17 + ',' + '\"chnumber\": ' + chnumber17 + ', \"start\":' + '\"' + date_start_split17 + '\",\"stop\":\"' + date_end_split17 + '\",\"date_start\":\"' + date_start17 + '\",\"date_stop\":\"' + date_end17 + '\"},'\n\t\t\t\t+ name18 + ':{' + '\"title\":' + title18 + ',' + '\"description\":' + description18 + ',' + '\"icon\":\"' + icon18 + '\",' + '\"duration\": ' + duration18 + ',' + '\"chnumber\": ' + chnumber18 + ', \"start\":' + '\"' + date_start_split18 + '\",\"stop\":\"' + date_end_split18 + '\",\"date_start\":\"' + date_start18 + '\",\"date_stop\":\"' + date_end18 + '\"},'\n\t\t\t\t+ name19 + ':{' + '\"title\":' + title19 + ',' + '\"description\":' + description19 + ',' + '\"icon\":\"' + icon19 + '\",' + '\"duration\": ' + duration19 + ',' + '\"chnumber\": ' + chnumber19 + ', \"start\":' + '\"' + date_start_split19 + '\",\"stop\":\"' + date_end_split19 + '\",\"date_start\":\"' + date_start19 + '\",\"date_stop\":\"' + date_end19 + '\"},'\n\t\t\t\t+ name20 + ':{' + '\"title\":' + title20 + ',' + '\"description\":' + description20 + ',' + '\"icon\":\"' + icon20 + '\",' + '\"duration\": ' + duration20 + ',' + '\"chnumber\": ' + chnumber20 + ', \"start\":' + '\"' + date_start_split20 + '\",\"stop\":\"' + date_end_split20 + '\",\"date_start\":\"' + date_start20 + '\",\"date_stop\":\"' + date_end20 + '\"},'\n\t\t\t\t+ name21 + ':{' + '\"title\":' + title21 + ',' + '\"description\":' + description21 + ',' + '\"icon\":\"' + icon21 + '\",' + '\"duration\": ' + duration21 + ',' + '\"chnumber\": ' + chnumber21 + ', \"start\":' + '\"' + date_start_split21 + '\",\"stop\":\"' + date_end_split21 + '\",\"date_start\":\"' + date_start21 + '\",\"date_stop\":\"' + date_end21 + '\"},'\n\t\t\t\t+ name22 + ':{' + '\"title\":' + title22 + ',' + '\"description\":' + description22 + ',' + '\"icon\":\"' + icon22 + '\",' + '\"duration\": ' + duration22 + ',' + '\"chnumber\": ' + chnumber22 + ', \"start\":' + '\"' + date_start_split22 + '\",\"stop\":\"' + date_end_split22 + '\",\"date_start\":\"' + date_start22 + '\",\"date_stop\":\"' + date_end22 + '\"},'\n\t\t\t\t+ name23 + ':{' + '\"title\":' + title23 + ',' + '\"description\":' + description23 + ',' + '\"icon\":\"' + icon23 + '\",' + '\"duration\": ' + duration23 + ',' + '\"chnumber\": ' + chnumber23 + ', \"start\":' + '\"' + date_start_split23 + '\",\"stop\":\"' + date_end_split23 + '\",\"date_start\":\"' + date_start23 + '\",\"date_stop\":\"' + date_end23 + '\"},'\n\t\t\t\t+ name24 + ':{' + '\"title\":' + title24 + ',' + '\"description\":' + description24 + ',' + '\"icon\":\"' + icon24 + '\",' + '\"duration\": ' + duration24 + ',' + '\"chnumber\": ' + chnumber24 + ', \"start\":' + '\"' + date_start_split24 + '\",\"stop\":\"' + date_end_split24 + '\",\"date_start\":\"' + date_start24 + '\",\"date_stop\":\"' + date_end24 + '\"},'\n\t\t\t\t+ name25 + ':{' + '\"title\":' + title25 + ',' + '\"description\":' + description25 + ',' + '\"icon\":\"' + icon25 + '\",' + '\"duration\": ' + duration25 + ',' + '\"chnumber\": ' + chnumber25 + ', \"start\":' + '\"' + date_start_split25 + '\",\"stop\":\"' + date_end_split25 + '\",\"date_start\":\"' + date_start25 + '\",\"date_stop\":\"' + date_end25 + '\"},'\n\t\t\t\t+ name26 + ':{' + '\"title\":' + title26 + ',' + '\"description\":' + description26 + ',' + '\"icon\":\"' + icon26 + '\",' + '\"duration\": ' + duration26 + ',' + '\"chnumber\": ' + chnumber26 + ', \"start\":' + '\"' + date_start_split26 + '\",\"stop\":\"' + date_end_split26 + '\",\"date_start\":\"' + date_start26 + '\",\"date_stop\":\"' + date_end26 + '\"},'\n\t\t\t\t+ name27 + ':{' + '\"title\":' + title27 + ',' + '\"description\":' + description27 + ',' + '\"icon\":\"' + icon27 + '\",' + '\"duration\": ' + duration27 + ',' + '\"chnumber\": ' + chnumber27 + ', \"start\":' + '\"' + date_start_split27 + '\",\"stop\":\"' + date_end_split27 + '\",\"date_start\":\"' + date_start27 + '\",\"date_stop\":\"' + date_end27 + '\"},'\n\t\t\t\t+ name28 + ':{' + '\"title\":' + title28 + ',' + '\"description\":' + description28 + ',' + '\"icon\":\"' + icon28 + '\",' + '\"duration\": ' + duration28 + ',' + '\"chnumber\": ' + chnumber28 + ', \"start\":' + '\"' + date_start_split28 + '\",\"stop\":\"' + date_end_split28 + '\",\"date_start\":\"' + date_start28 + '\",\"date_stop\":\"' + date_end28 + '\"},'\n\t\t\t\t+ name29 + ':{' + '\"title\":' + title29 + ',' + '\"description\":' + description29 + ',' + '\"icon\":\"' + icon29 + '\",' + '\"duration\": ' + duration29 + ',' + '\"chnumber\": ' + chnumber29 + ', \"start\":' + '\"' + date_start_split29 + '\",\"stop\":\"' + date_end_split29 + '\",\"date_start\":\"' + date_start29 + '\",\"date_stop\":\"' + date_end29 + '\"},'\n\t\t\t\t+ name30 + ':{' + '\"title\":' + title30 + ',' + '\"description\":' + description30 + ',' + '\"icon\":\"' + icon30 + '\",' + '\"duration\": ' + duration30 + ',' + '\"chnumber\": ' + chnumber30 + ', \"start\":' + '\"' + date_start_split30 + '\",\"stop\":\"' + date_end_split30 + '\",\"date_start\":\"' + date_start30 + '\",\"date_stop\":\"' + date_end30 + '\"},'\n\t\t\t\t+ name31 + ':{' + '\"title\":' + title31 + ',' + '\"description\":' + description31 + ',' + '\"icon\":\"' + icon31 + '\",' + '\"duration\": ' + duration31 + ',' + '\"chnumber\": ' + chnumber31 + ', \"start\":' + '\"' + date_start_split31 + '\",\"stop\":\"' + date_end_split31 + '\",\"date_start\":\"' + date_start31 + '\",\"date_stop\":\"' + date_end31 + '\"},'\n\t\t\t\t+ name32 + ':{' + '\"title\":' + title32 + ',' + '\"description\":' + description32 + ',' + '\"icon\":\"' + icon32 + '\",' + '\"duration\": ' + duration32 + ',' + '\"chnumber\": ' + chnumber32 + ', \"start\":' + '\"' + date_start_split32 + '\",\"stop\":\"' + date_end_split32 + '\",\"date_start\":\"' + date_start32 + '\",\"date_stop\":\"' + date_end32 + '\"},'\n\t\t\t\t+ name33 + ':{' + '\"title\":' + title33 + ',' + '\"description\":' + description33 + ',' + '\"icon\":\"' + icon33 + '\",' + '\"duration\": ' + duration33 + ',' + '\"chnumber\": ' + chnumber33 + ', \"start\":' + '\"' + date_start_split33 + '\",\"stop\":\"' + date_end_split33 + '\",\"date_start\":\"' + date_start33 + '\",\"date_stop\":\"' + date_end33 + '\"},'\n\t\t\t\t+ name34 + ':{' + '\"title\":' + title34 + ',' + '\"description\":' + description34 + ',' + '\"icon\":\"' + icon34 + '\",' + '\"duration\": ' + duration34 + ',' + '\"chnumber\": ' + chnumber34 + ', \"start\":' + '\"' + date_start_split34 + '\",\"stop\":\"' + date_end_split34 + '\",\"date_start\":\"' + date_start34 + '\",\"date_stop\":\"' + date_end34 + '\"},'\n\t\t\t\t+ name35 + ':{' + '\"title\":' + title35 + ',' + '\"description\":' + description35 + ',' + '\"icon\":\"' + icon35 + '\",' + '\"duration\": ' + duration35 + ',' + '\"chnumber\": ' + chnumber35 + ', \"start\":' + '\"' + date_start_split35 + '\",\"stop\":\"' + date_end_split35 + '\",\"date_start\":\"' + date_start35 + '\",\"date_stop\":\"' + date_end35 + '\"},'\n\t\t\t\t+ name36 + ':{' + '\"title\":' + title36 + ',' + '\"description\":' + description36 + ',' + '\"icon\":\"' + icon36 + '\",' + '\"duration\": ' + duration36 + ',' + '\"chnumber\": ' + chnumber36 + ', \"start\":' + '\"' + date_start_split36 + '\",\"stop\":\"' + date_end_split36 + '\",\"date_start\":\"' + date_start36 + '\",\"date_stop\":\"' + date_end36 + '\"},'\n\t\t\t\t+ name37 + ':{' + '\"title\":' + title37 + ',' + '\"description\":' + description37 + ',' + '\"icon\":\"' + icon37 + '\",' + '\"duration\": ' + duration37 + ',' + '\"chnumber\": ' + chnumber37 + ', \"start\":' + '\"' + date_start_split37 + '\",\"stop\":\"' + date_end_split37 + '\",\"date_start\":\"' + date_start37 + '\",\"date_stop\":\"' + date_end37 + '\"},'\n\t\t\t\t+ name38 + ':{' + '\"title\":' + title38 + ',' + '\"description\":' + description38 + ',' + '\"icon\":\"' + icon38 + '\",' + '\"duration\": ' + duration38 + ',' + '\"chnumber\": ' + chnumber38 + ', \"start\":' + '\"' + date_start_split38 + '\",\"stop\":\"' + date_end_split38 + '\",\"date_start\":\"' + date_start38 + '\",\"date_stop\":\"' + date_end38 + '\"},'\n\t\t\t\t+ name39 + ':{' + '\"title\":' + title39 + ',' + '\"description\":' + description39 + ',' + '\"icon\":\"' + icon39 + '\",' + '\"duration\": ' + duration39 + ',' + '\"chnumber\": ' + chnumber39 + ', \"start\":' + '\"' + date_start_split39 + '\",\"stop\":\"' + date_end_split39 + '\",\"date_start\":\"' + date_start39 + '\",\"date_stop\":\"' + date_end39 + '\"},'\n\t\t\t\t+ name40 + ':{' + '\"title\":' + title40 + ',' + '\"description\":' + description40 + ',' + '\"icon\":\"' + icon40 + '\",' + '\"duration\": ' + duration40 + ',' + '\"chnumber\": ' + chnumber40 + ', \"start\":' + '\"' + date_start_split40 + '\",\"stop\":\"' + date_end_split40 + '\",\"date_start\":\"' + date_start40 + '\",\"date_stop\":\"' + date_end40 + '\"},'\n\t\t\t\t+ name41 + ':{' + '\"title\":' + title41 + ',' + '\"description\":' + description41 + ',' + '\"icon\":\"' + icon41 + '\",' + '\"duration\": ' + duration41 + ',' + '\"chnumber\": ' + chnumber41 + ', \"start\":' + '\"' + date_start_split41 + '\",\"stop\":\"' + date_end_split41 + '\",\"date_start\":\"' + date_start41 + '\",\"date_stop\":\"' + date_end41 + '\"},'\n\t\t\t\t+ name42 + ':{' + '\"title\":' + title42 + ',' + '\"description\":' + description42 + ',' + '\"icon\":\"' + icon42 + '\",' + '\"duration\": ' + duration42 + ',' + '\"chnumber\": ' + chnumber42 + ', \"start\":' + '\"' + date_start_split42 + '\",\"stop\":\"' + date_end_split42 + '\",\"date_start\":\"' + date_start42 + '\",\"date_stop\":\"' + date_end42 + '\"},'\n\t\t\t\t+ name43 + ':{' + '\"title\":' + title43 + ',' + '\"description\":' + description43 + ',' + '\"icon\":\"' + icon43 + '\",' + '\"duration\": ' + duration43 + ',' + '\"chnumber\": ' + chnumber43 + ', \"start\":' + '\"' + date_start_split43 + '\",\"stop\":\"' + date_end_split43 + '\",\"date_start\":\"' + date_start43 + '\",\"date_stop\":\"' + date_end43 + '\"},'\n\t\t\t\t+ name44 + ':{' + '\"title\":' + title44 + ',' + '\"description\":' + description44 + ',' + '\"icon\":\"' + icon44 + '\",' + '\"duration\": ' + duration44 + ',' + '\"chnumber\": ' + chnumber44 + ', \"start\":' + '\"' + date_start_split44 + '\",\"stop\":\"' + date_end_split44 + '\",\"date_start\":\"' + date_start44 + '\",\"date_stop\":\"' + date_end44 + '\"},'\n\t\t\t\t+ name45 + ':{' + '\"title\":' + title45 + ',' + '\"description\":' + description45 + ',' + '\"icon\":\"' + icon45 + '\",' + '\"duration\": ' + duration45 + ',' + '\"chnumber\": ' + chnumber45 + ', \"start\":' + '\"' + date_start_split45 + '\",\"stop\":\"' + date_end_split45 + '\",\"date_start\":\"' + date_start45 + '\",\"date_stop\":\"' + date_end45 + '\"},'\n\t\t\t\t+ name46 + ':{' + '\"title\":' + title46 + ',' + '\"description\":' + description46 + ',' + '\"icon\":\"' + icon46 + '\",' + '\"duration\": ' + duration46 + ',' + '\"chnumber\": ' + chnumber46 + ', \"start\":' + '\"' + date_start_split46 + '\",\"stop\":\"' + date_end_split46 + '\",\"date_start\":\"' + date_start46 + '\",\"date_stop\":\"' + date_end46 + '\"},'\n\t\t\t\t+ name47 + ':{' + '\"title\":' + title47 + ',' + '\"description\":' + description47 + ',' + '\"icon\":\"' + icon47 + '\",' + '\"duration\": ' + duration47 + ',' + '\"chnumber\": ' + chnumber47 + ', \"start\":' + '\"' + date_start_split47 + '\",\"stop\":\"' + date_end_split47 + '\",\"date_start\":\"' + date_start47 + '\",\"date_stop\":\"' + date_end47 + '\"},'\n\t\t\t\t+ name48 + ':{' + '\"title\":' + title48 + ',' + '\"description\":' + description48 + ',' + '\"icon\":\"' + icon48 + '\",' + '\"duration\": ' + duration48 + ',' + '\"chnumber\": ' + chnumber48 + ', \"start\":' + '\"' + date_start_split48 + '\",\"stop\":\"' + date_end_split48 + '\",\"date_start\":\"' + date_start48 + '\",\"date_stop\":\"' + date_end48 + '\"},'\n\t\t\t\t+ name49 + ':{' + '\"title\":' + title49 + ',' + '\"description\":' + description49 + ',' + '\"icon\":\"' + icon49 + '\",' + '\"duration\": ' + duration49 + ',' + '\"chnumber\": ' + chnumber49 + ', \"start\":' + '\"' + date_start_split49 + '\",\"stop\":\"' + date_end_split49 + '\",\"date_start\":\"' + date_start49 + '\",\"date_stop\":\"' + date_end49 + '\"},'\n\t\t\t\t+ name50 + ':{' + '\"title\":' + title50 + ',' + '\"description\":' + description50 + ',' + '\"icon\":\"' + icon50 + '\",' + '\"duration\": ' + duration50 + ',' + '\"chnumber\": ' + chnumber50 + ', \"start\":' + '\"' + date_start_split50 + '\",\"stop\":\"' + date_end_split50 + '\",\"date_start\":\"' + date_start50 + '\",\"date_stop\":\"' + date_end50 + '\"},'\n\t\t\t\t+ name51 + ':{' + '\"title\":' + title51 + ',' + '\"description\":' + description51 + ',' + '\"icon\":\"' + icon51 + '\",' + '\"duration\": ' + duration51 + ',' + '\"chnumber\": ' + chnumber51 + ', \"start\":' + '\"' + date_start_split51 + '\",\"stop\":\"' + date_end_split51 + '\",\"date_start\":\"' + date_start51 + '\",\"date_stop\":\"' + date_end51 + '\"},'\n\t\t\t\t+ name52 + ':{' + '\"title\":' + title52 + ',' + '\"description\":' + description52 + ',' + '\"icon\":\"' + icon52 + '\",' + '\"duration\": ' + duration52 + ',' + '\"chnumber\": ' + chnumber52 + ', \"start\":' + '\"' + date_start_split52 + '\",\"stop\":\"' + date_end_split52 + '\",\"date_start\":\"' + date_start52 + '\",\"date_stop\":\"' + date_end52 + '\"},'\n\t\t\t\t+ name53 + ':{' + '\"title\":' + title53 + ',' + '\"description\":' + description53 + ',' + '\"icon\":\"' + icon53 + '\",' + '\"duration\": ' + duration53 + ',' + '\"chnumber\": ' + chnumber53 + ', \"start\":' + '\"' + date_start_split53 + '\",\"stop\":\"' + date_end_split53 + '\",\"date_start\":\"' + date_start53 + '\",\"date_stop\":\"' + date_end53 + '\"},'\n\t\t\t\t+ name54 + ':{' + '\"title\":' + title54 + ',' + '\"description\":' + description54 + ',' + '\"icon\":\"' + icon54 + '\",' + '\"duration\": ' + duration54 + ',' + '\"chnumber\": ' + chnumber54 + ', \"start\":' + '\"' + date_start_split54 + '\",\"stop\":\"' + date_end_split54 + '\",\"date_start\":\"' + date_start54 + '\",\"date_stop\":\"' + date_end54 + '\"},'\n\t\t\t\t+ name55 + ':{' + '\"title\":' + title55 + ',' + '\"description\":' + description55 + ',' + '\"icon\":\"' + icon55 + '\",' + '\"duration\": ' + duration55 + ',' + '\"chnumber\": ' + chnumber55 + ', \"start\":' + '\"' + date_start_split55 + '\",\"stop\":\"' + date_end_split55 + '\",\"date_start\":\"' + date_start55 + '\",\"date_stop\":\"' + date_end55 + '\"},'\n\t\t\t\t+ name56 + ':{' + '\"title\":' + title56 + ',' + '\"description\":' + description56 + ',' + '\"icon\":\"' + icon56 + '\",' + '\"duration\": ' + duration56 + ',' + '\"chnumber\": ' + chnumber56 + ', \"start\":' + '\"' + date_start_split56 + '\",\"stop\":\"' + date_end_split56 + '\",\"date_start\":\"' + date_start56 + '\",\"date_stop\":\"' + date_end56 + '\"},'\n\t\t\t\t+ name57 + ':{' + '\"title\":' + title57 + ',' + '\"description\":' + description57 + ',' + '\"icon\":\"' + icon57 + '\",' + '\"duration\": ' + duration57 + ',' + '\"chnumber\": ' + chnumber57 + ', \"start\":' + '\"' + date_start_split57 + '\",\"stop\":\"' + date_end_split57 + '\",\"date_start\":\"' + date_start57 + '\",\"date_stop\":\"' + date_end57 + '\"},'\n\t\t\t\t+ name58 + ':{' + '\"title\":' + title58 + ',' + '\"description\":' + description58 + ',' + '\"icon\":\"' + icon58 + '\",' + '\"duration\": ' + duration58 + ',' + '\"chnumber\": ' + chnumber58 + ', \"start\":' + '\"' + date_start_split58 + '\",\"stop\":\"' + date_end_split58 + '\",\"date_start\":\"' + date_start58 + '\",\"date_stop\":\"' + date_end58 + '\"},'\n\t\t\t\t+ name59 + ':{' + '\"title\":' + title59 + ',' + '\"description\":' + description59 + ',' + '\"icon\":\"' + icon59 + '\",' + '\"duration\": ' + duration59 + ',' + '\"chnumber\": ' + chnumber59 + ', \"start\":' + '\"' + date_start_split59 + '\",\"stop\":\"' + date_end_split59 + '\",\"date_start\":\"' + date_start59 + '\",\"date_stop\":\"' + date_end59 + '\"},'\n\t\t\t\t+ name60 + ':{' + '\"title\":' + title60 + ',' + '\"description\":' + description60 + ',' + '\"icon\":\"' + icon60 + '\",' + '\"duration\": ' + duration60 + ',' + '\"chnumber\": ' + chnumber60 + ', \"start\":' + '\"' + date_start_split60 + '\",\"stop\":\"' + date_end_split60 + '\",\"date_start\":\"' + date_start60 + '\",\"date_stop\":\"' + date_end60 + '\"}}'\n\t\t\t\t\n node.send(msg);\n\nreturn;",
"outputs": 1,
"timeout": "",
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 860,
"y": 2580,
"wires": [["5529d89ba2aab0f5"]]
},
{
"id": "bbcedda109702657",
"type": "function",
"z": "973dcb133a1fdc46",
"name": "function now",
"func": "var ora = Date.now();\nvar date = new Date(ora).toLocaleDateString(\"it-IT\").replace(\"/\", \"-\").replace(\"/\", \"-\")\nvar time = new Date(ora).toLocaleTimeString(\"it-IT\")\nvar currentDate = new Date();\nvar tomorrow = currentDate.setDate(currentDate.getDate() + 1 );\nvar domani = new Date(tomorrow).toLocaleDateString(\"it-IT\").replace(\"/\", \"-\").replace(\"/\", \"-\")\n\nmsg.url = \"https://services.tivulaguida.it/api/epg/programming/events/now/\" + date\n\nvar lastchecked = msg.timestamp\nvar date2 = new Date(lastchecked).toLocaleDateString(\"it-IT\")\nvar time2 = new Date(lastchecked).toLocaleTimeString(\"it-IT\").slice(0, -3)\nvar finaldate = time2 + \" \" + date2\nmsg.timestamp = finaldate\n\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 610,
"y": 2660,
"wires": [["84bcab32b11ac7c7"]]
},
{
"id": "9043877799111f76",
"type": "function",
"z": "973dcb133a1fdc46",
"name": "catch array name channel",
"func": "\n var name0 = JSON.stringify(msg.payload.events[0].channel.name);\n var title0 = JSON.stringify(msg.payload.events[0].program.title);\n var description0 = JSON.stringify(msg.payload.events[0].program.description);\n var date_start0 = msg.payload.events[0].date_start.split(\" \");\n var date_start_split0 = date_start0[1];\n var date_end0 = msg.payload.events[0].date_end.split(\" \");\n var date_end_split0 = date_end0[1];\n var duration0 = msg.payload.events[0].duration\n var icon0 = msg.payload.events[0].channel.icon\n\tvar chnumber0 = msg.payload.events[0].channel.channel_sat\n\tvar date_start0 = msg.payload.events[0].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start0 = date_start0[2] + '-' + date_start0[1] + '-' + date_start0[0] + ' ' + date_start0[3] + ':00.000000+02:00';\n var date_end0 = msg.payload.events[0].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end0 = date_end0[2] + '-' + date_end0[1] + '-' + date_end0[0] + ' ' + date_end0[3] + ':00.000000+02:00';\n\t\n var name1 = JSON.stringify(msg.payload.events[1].channel.name);\n var title1 = JSON.stringify(msg.payload.events[1].program.title);\n var description1 = JSON.stringify(msg.payload.events[1].program.description);\n var date_start1 = msg.payload.events[1].date_start.split(\" \");\n var date_start_split1 = date_start1[1];\n var date_end1 = msg.payload.events[1].date_end.split(\" \");\n var date_end_split1 = date_end1[1];\n var duration1 = msg.payload.events[1].duration\n var icon1 = msg.payload.events[1].channel.icon\n var chnumber1 = msg.payload.events[1].channel.channel_sat\n\tvar date_start1 = msg.payload.events[1].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start1 = date_start1[2] + '-' + date_start1[1] + '-' + date_start1[0] + ' ' + date_start1[3] + ':00.000000+02:00';\n var date_end1 = msg.payload.events[1].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end1 = date_end1[2] + '-' + date_end1[1] + '-' + date_end1[0] + ' ' + date_end1[3] + ':00.000000+02:00';\n\t\n var name2 = JSON.stringify(msg.payload.events[2].channel.name);\n var title2 = JSON.stringify(msg.payload.events[2].program.title);\n var description2 = JSON.stringify(msg.payload.events[2].program.description);\n var date_start2 = msg.payload.events[2].date_start.split(\" \");\n var date_start_split2 = date_start2[1];\n var date_end2 = msg.payload.events[2].date_end.split(\" \");\n var date_end_split2 = date_end2[1];\n var duration2 = msg.payload.events[2].duration\n var icon2 = msg.payload.events[2].channel.icon\n\tvar chnumber2 = msg.payload.events[2].channel.channel_sat\n\tvar date_start2 = msg.payload.events[2].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start2 = date_start2[2] + '-' + date_start2[1] + '-' + date_start2[0] + ' ' + date_start2[3] + ':00.000000+02:00';\n var date_end2 = msg.payload.events[2].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end2 = date_end2[2] + '-' + date_end2[1] + '-' + date_end2[0] + ' ' + date_end2[3] + ':00.000000+02:00';\n\t\n\tvar name3 = JSON.stringify(msg.payload.events[3].channel.name);\n var title3 = JSON.stringify(msg.payload.events[3].program.title);\n var description3 = JSON.stringify(msg.payload.events[3].program.description);\n var date_start3 = msg.payload.events[3].date_start.split(\" \");\n var date_start_split3 = date_start3[1];\n var date_end3 = msg.payload.events[3].date_end.split(\" \");\n var date_end_split3 = date_end3[1];\n var duration3 = msg.payload.events[3].duration\n var icon3 = msg.payload.events[3].channel.icon\n\tvar chnumber3 = msg.payload.events[3].channel.channel_sat\n\tvar date_start3 = msg.payload.events[3].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start3 = date_start3[2] + '-' + date_start3[1] + '-' + date_start3[0] + ' ' + date_start3[3] + ':00.000000+02:00';\n var date_end3 = msg.payload.events[3].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end3 = date_end3[2] + '-' + date_end3[1] + '-' + date_end3[0] + ' ' + date_end3[3] + ':00.000000+02:00';\n\t\n\tvar name4 = JSON.stringify(msg.payload.events[4].channel.name);\n var title4 = JSON.stringify(msg.payload.events[4].program.title);\n var description4 = JSON.stringify(msg.payload.events[4].program.description);\n var date_start4 = msg.payload.events[4].date_start.split(\" \");\n var date_start_split4 = date_start4[1];\n var date_end4 = msg.payload.events[4].date_end.split(\" \");\n var date_end_split4 = date_end4[1];\n var duration4 = msg.payload.events[4].duration\n var icon4 = msg.payload.events[4].channel.icon\n\tvar chnumber4 = msg.payload.events[4].channel.channel_sat\n\tvar date_start4 = msg.payload.events[4].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start4 = date_start4[2] + '-' + date_start4[1] + '-' + date_start4[0] + ' ' + date_start4[3] + ':00.000000+02:00';\n var date_end4 = msg.payload.events[4].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end4 = date_end4[2] + '-' + date_end4[1] + '-' + date_end4[0] + ' ' + date_end4[3] + ':00.000000+02:00';\n\t\n\tvar name5 = JSON.stringify(msg.payload.events[5].channel.name);\n var title5 = JSON.stringify(msg.payload.events[5].program.title);\n var description5 = JSON.stringify(msg.payload.events[5].program.description);\n var date_start5 = msg.payload.events[5].date_start.split(\" \");\n var date_start_split5 = date_start5[1];\n var date_end5 = msg.payload.events[5].date_end.split(\" \");\n var date_end_split5 = date_end5[1];\n var duration5 = msg.payload.events[5].duration\n var icon5 = msg.payload.events[5].channel.icon\n\tvar chnumber5 = msg.payload.events[5].channel.channel_sat\n\tvar date_start5 = msg.payload.events[5].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start5 = date_start5[2] + '-' + date_start5[1] + '-' + date_start5[0] + ' ' + date_start5[3] + ':00.000000+02:00';\n var date_end5 = msg.payload.events[5].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end5 = date_end5[2] + '-' + date_end5[1] + '-' + date_end5[0] + ' ' + date_end5[3] + ':00.000000+02:00';\n\t\n\tvar name6 = JSON.stringify(msg.payload.events[6].channel.name);\n var title6 = JSON.stringify(msg.payload.events[6].program.title);\n var description6 = JSON.stringify(msg.payload.events[6].program.description);\n var date_start6 = msg.payload.events[6].date_start.split(\" \");\n var date_start_split6 = date_start6[1];\n var date_end6 = msg.payload.events[6].date_end.split(\" \");\n var date_end_split6 = date_end6[1];\n var duration6 = msg.payload.events[6].duration\n var icon6 = msg.payload.events[6].channel.icon\n\tvar chnumber6 = msg.payload.events[6].channel.channel_sat\n\tvar date_start6 = msg.payload.events[6].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start6 = date_start6[2] + '-' + date_start6[1] + '-' + date_start6[0] + ' ' + date_start6[3] + ':00.000000+02:00';\n var date_end6 = msg.payload.events[6].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end6 = date_end6[2] + '-' + date_end6[1] + '-' + date_end6[0] + ' ' + date_end6[3] + ':00.000000+02:00';\n\t\n\tvar name7 = JSON.stringify(msg.payload.events[7].channel.name);\n var title7 = JSON.stringify(msg.payload.events[7].program.title);\n var description7 = JSON.stringify(msg.payload.events[7].program.description);\n var date_start7 = msg.payload.events[7].date_start.split(\" \");\n var date_start_split7 = date_start7[1];\n var date_end7 = msg.payload.events[7].date_end.split(\" \");\n var date_end_split7 = date_end7[1];\n var duration7 = msg.payload.events[7].duration\n var icon7 = msg.payload.events[7].channel.icon\n\tvar chnumber7 = msg.payload.events[7].channel.channel_sat\n\tvar date_start7 = msg.payload.events[7].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start7 = date_start7[2] + '-' + date_start7[1] + '-' + date_start7[0] + ' ' + date_start7[3] + ':00.000000+02:00';\n var date_end7 = msg.payload.events[7].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end7 = date_end7[2] + '-' + date_end7[1] + '-' + date_end7[0] + ' ' + date_end7[3] + ':00.000000+02:00';\n\t\n\tvar name8 = JSON.stringify(msg.payload.events[8].channel.name);\n var title8 = JSON.stringify(msg.payload.events[8].program.title);\n var description8 = JSON.stringify(msg.payload.events[8].program.description);\n var date_start8 = msg.payload.events[8].date_start.split(\" \");\n var date_start_split8 = date_start8[1];\n var date_end8 = msg.payload.events[8].date_end.split(\" \");\n var date_end_split8 = date_end8[1];\n var duration8 = msg.payload.events[8].duration\n var icon8 = msg.payload.events[8].channel.icon\n\tvar chnumber8 = msg.payload.events[8].channel.channel_sat\n\tvar date_start8 = msg.payload.events[8].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start8 = date_start8[2] + '-' + date_start8[1] + '-' + date_start8[0] + ' ' + date_start8[3] + ':00.000000+02:00';\n var date_end8 = msg.payload.events[8].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end8 = date_end8[2] + '-' + date_end8[1] + '-' + date_end8[0] + ' ' + date_end8[3] + ':00.000000+02:00';\n\t\n\tvar name9 = JSON.stringify(msg.payload.events[9].channel.name);\n var title9 = JSON.stringify(msg.payload.events[9].program.title);\n var description9 = JSON.stringify(msg.payload.events[9].program.description);\n var date_start9 = msg.payload.events[9].date_start.split(\" \");\n var date_start_split9 = date_start9[1];\n var date_end9 = msg.payload.events[9].date_end.split(\" \");\n var date_end_split9 = date_end9[1];\n var duration9 = msg.payload.events[9].duration\n var icon9 = msg.payload.events[9].channel.icon\n\tvar chnumber9 = msg.payload.events[9].channel.channel_sat\n\tvar date_start9 = msg.payload.events[9].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start9 = date_start9[2] + '-' + date_start9[1] + '-' + date_start9[0] + ' ' + date_start9[3] + ':00.000000+02:00';\n var date_end9 = msg.payload.events[9].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end9 = date_end9[2] + '-' + date_end9[1] + '-' + date_end9[0] + ' ' + date_end9[3] + ':00.000000+02:00';\n\t\n\tvar name10 = JSON.stringify(msg.payload.events[10].channel.name);\n var title10 = JSON.stringify(msg.payload.events[10].program.title);\n var description10 = JSON.stringify(msg.payload.events[10].program.description);\n var date_start10 = msg.payload.events[10].date_start.split(\" \");\n var date_start_split10 = date_start10[1];\n var date_end10 = msg.payload.events[10].date_end.split(\" \");\n var date_end_split10 = date_end10[1];\n var duration10 = msg.payload.events[10].duration\n var icon10 = msg.payload.events[10].channel.icon\n\tvar chnumber10 = msg.payload.events[10].channel.channel_sat\n\tvar date_start10 = msg.payload.events[10].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start10 = date_start10[2] + '-' + date_start10[1] + '-' + date_start10[0] + ' ' + date_start10[3] + ':00.000000+02:00';\n var date_end10 = msg.payload.events[10].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end10 = date_end10[2] + '-' + date_end10[1] + '-' + date_end10[0] + ' ' + date_end10[3] + ':00.000000+02:00';\n\t\n\tvar name11 = JSON.stringify(msg.payload.events[11].channel.name);\n var title11 = JSON.stringify(msg.payload.events[11].program.title);\n var description11 = JSON.stringify(msg.payload.events[11].program.description);\n var date_start11 = msg.payload.events[11].date_start.split(\" \");\n var date_start_split11 = date_start11[1];\n var date_end11 = msg.payload.events[11].date_end.split(\" \");\n var date_end_split11 = date_end11[1];\n var duration11 = msg.payload.events[11].duration\n var icon11 = msg.payload.events[11].channel.icon\n\tvar chnumber11 = msg.payload.events[11].channel.channel_sat\n\tvar date_start11 = msg.payload.events[11].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start11 = date_start11[2] + '-' + date_start11[1] + '-' + date_start11[0] + ' ' + date_start11[3] + ':00.000000+02:00';\n var date_end11 = msg.payload.events[11].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end11 = date_end11[2] + '-' + date_end11[1] + '-' + date_end11[0] + ' ' + date_end11[3] + ':00.000000+02:00';\n\t\n\tvar name12 = JSON.stringify(msg.payload.events[12].channel.name);\n var title12 = JSON.stringify(msg.payload.events[12].program.title);\n var description12 = JSON.stringify(msg.payload.events[12].program.description);\n var date_start12 = msg.payload.events[12].date_start.split(\" \");\n var date_start_split12 = date_start12[1];\n var date_end12 = msg.payload.events[12].date_end.split(\" \");\n var date_end_split12 = date_end12[1];\n var duration12 = msg.payload.events[12].duration\n var icon12 = msg.payload.events[12].channel.icon\n\tvar chnumber12 = msg.payload.events[12].channel.channel_sat\n\tvar date_start12 = msg.payload.events[12].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start12 = date_start12[2] + '-' + date_start12[1] + '-' + date_start12[0] + ' ' + date_start12[3] + ':00.000000+02:00';\n var date_end12 = msg.payload.events[12].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end12 = date_end12[2] + '-' + date_end12[1] + '-' + date_end12[0] + ' ' + date_end12[3] + ':00.000000+02:00';\n\t\n\tvar name13 = JSON.stringify(msg.payload.events[13].channel.name);\n var title13 = JSON.stringify(msg.payload.events[13].program.title);\n var description13 = JSON.stringify(msg.payload.events[13].program.description);\n var date_start13 = msg.payload.events[13].date_start.split(\" \");\n var date_start_split13 = date_start13[1];\n var date_end13 = msg.payload.events[13].date_end.split(\" \");\n var date_end_split13 = date_end13[1];\n var duration13 = msg.payload.events[13].duration\n var icon13 = msg.payload.events[13].channel.icon\n\tvar chnumber13 = msg.payload.events[13].channel.channel_sat\n\tvar date_start13 = msg.payload.events[13].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start13 = date_start13[2] + '-' + date_start13[1] + '-' + date_start13[0] + ' ' + date_start13[3] + ':00.000000+02:00';\n var date_end13 = msg.payload.events[13].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end13 = date_end13[2] + '-' + date_end13[1] + '-' + date_end13[0] + ' ' + date_end13[3] + ':00.000000+02:00';\n\t\n\tvar name14 = JSON.stringify(msg.payload.events[14].channel.name);\n var title14 = JSON.stringify(msg.payload.events[14].program.title);\n var description14 = JSON.stringify(msg.payload.events[14].program.description);\n var date_start14 = msg.payload.events[14].date_start.split(\" \");\n var date_start_split14 = date_start14[1];\n var date_end14 = msg.payload.events[14].date_end.split(\" \");\n var date_end_split14 = date_end14[1];\n var duration14 = msg.payload.events[14].duration\n var icon14 = msg.payload.events[14].channel.icon\n\tvar chnumber14 = msg.payload.events[14].channel.channel_sat\n\tvar date_start14 = msg.payload.events[14].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start14 = date_start14[2] + '-' + date_start14[1] + '-' + date_start14[0] + ' ' + date_start14[3] + ':00.000000+02:00';\n var date_end14 = msg.payload.events[14].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end14 = date_end14[2] + '-' + date_end14[1] + '-' + date_end14[0] + ' ' + date_end14[3] + ':00.000000+02:00';\n\t\n\tvar name15 = JSON.stringify(msg.payload.events[15].channel.name);\n var title15 = JSON.stringify(msg.payload.events[15].program.title);\n var description15 = JSON.stringify(msg.payload.events[15].program.description);\n var date_start15 = msg.payload.events[15].date_start.split(\" \");\n var date_start_split15 = date_start15[1];\n var date_end15 = msg.payload.events[15].date_end.split(\" \");\n var date_end_split15 = date_end15[1];\n var duration15 = msg.payload.events[15].duration\n var icon15 = msg.payload.events[15].channel.icon\n\tvar chnumber15 = msg.payload.events[15].channel.channel_sat\n\tvar date_start15 = msg.payload.events[15].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start15 = date_start15[2] + '-' + date_start15[1] + '-' + date_start15[0] + ' ' + date_start15[3] + ':00.000000+02:00';\n var date_end15 = msg.payload.events[15].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end15 = date_end15[2] + '-' + date_end15[1] + '-' + date_end15[0] + ' ' + date_end15[3] + ':00.000000+02:00';\n\t\n\tvar name16 = JSON.stringify(msg.payload.events[16].channel.name);\n var title16 = JSON.stringify(msg.payload.events[16].program.title);\n var description16 = JSON.stringify(msg.payload.events[16].program.description);\n var date_start16 = msg.payload.events[16].date_start.split(\" \");\n var date_start_split16 = date_start16[1];\n var date_end16 = msg.payload.events[16].date_end.split(\" \");\n var date_end_split16 = date_end16[1];\n var duration16 = msg.payload.events[16].duration\n var icon16 = msg.payload.events[16].channel.icon\n\tvar chnumber16 = msg.payload.events[16].channel.channel_sat\n\tvar date_start16 = msg.payload.events[16].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start16 = date_start16[2] + '-' + date_start16[1] + '-' + date_start16[0] + ' ' + date_start16[3] + ':00.000000+02:00';\n var date_end16 = msg.payload.events[16].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end16 = date_end16[2] + '-' + date_end16[1] + '-' + date_end16[0] + ' ' + date_end16[3] + ':00.000000+02:00';\n\t\n\tvar name17 = JSON.stringify(msg.payload.events[17].channel.name);\n var title17 = JSON.stringify(msg.payload.events[17].program.title);\n var description17 = JSON.stringify(msg.payload.events[17].program.description);\n var date_start17 = msg.payload.events[17].date_start.split(\" \");\n var date_start_split17 = date_start17[1];\n var date_end17 = msg.payload.events[17].date_end.split(\" \");\n var date_end_split17 = date_end17[1];\n var duration17 = msg.payload.events[17].duration\n var icon17 = msg.payload.events[17].channel.icon\n\tvar chnumber17 = msg.payload.events[17].channel.channel_sat\n\tvar date_start17 = msg.payload.events[17].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start17 = date_start17[2] + '-' + date_start17[1] + '-' + date_start17[0] + ' ' + date_start17[3] + ':00.000000+02:00';\n var date_end17 = msg.payload.events[17].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end17 = date_end17[2] + '-' + date_end17[1] + '-' + date_end17[0] + ' ' + date_end17[3] + ':00.000000+02:00';\n\t\n\tvar name18 = JSON.stringify(msg.payload.events[18].channel.name);\n var title18 = JSON.stringify(msg.payload.events[18].program.title);\n var description18 = JSON.stringify(msg.payload.events[18].program.description);\n var date_start18 = msg.payload.events[18].date_start.split(\" \");\n var date_start_split18 = date_start18[1];\n var date_end18 = msg.payload.events[18].date_end.split(\" \");\n var date_end_split18 = date_end18[1];\n var duration18 = msg.payload.events[18].duration\n var icon18 = msg.payload.events[18].channel.icon\n\tvar chnumber18 = msg.payload.events[18].channel.channel_sat\n\tvar date_start18 = msg.payload.events[18].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start18 = date_start18[2] + '-' + date_start18[1] + '-' + date_start18[0] + ' ' + date_start18[3] + ':00.000000+02:00';\n var date_end18 = msg.payload.events[18].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end18 = date_end18[2] + '-' + date_end18[1] + '-' + date_end18[0] + ' ' + date_end18[3] + ':00.000000+02:00';\n\t\n\tvar name19 = JSON.stringify(msg.payload.events[19].channel.name);\n var title19 = JSON.stringify(msg.payload.events[19].program.title);\n var description19 = JSON.stringify(msg.payload.events[19].program.description);\n var date_start19 = msg.payload.events[19].date_start.split(\" \");\n var date_start_split19 = date_start19[1];\n var date_end19 = msg.payload.events[19].date_end.split(\" \");\n var date_end_split19 = date_end19[1];\n var duration19 = msg.payload.events[19].duration\n var icon19 = msg.payload.events[19].channel.icon\n\tvar chnumber19 = msg.payload.events[19].channel.channel_sat\n\tvar date_start19 = msg.payload.events[19].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start19 = date_start19[2] + '-' + date_start19[1] + '-' + date_start19[0] + ' ' + date_start19[3] + ':00.000000+02:00';\n var date_end19 = msg.payload.events[19].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end19 = date_end19[2] + '-' + date_end19[1] + '-' + date_end19[0] + ' ' + date_end19[3] + ':00.000000+02:00';\n\t\n var name20 = JSON.stringify(msg.payload.events[20].channel.name);\n var title20 = JSON.stringify(msg.payload.events[20].program.title);\n var description20 = JSON.stringify(msg.payload.events[20].program.description);\n var date_start20 = msg.payload.events[20].date_start.split(\" \");\n var date_start_split20 = date_start20[1];\n var date_end20 = msg.payload.events[20].date_end.split(\" \");\n var date_end_split20 = date_end20[1];\n var duration20 = msg.payload.events[20].duration\n var icon20 = msg.payload.events[20].channel.icon\n\tvar chnumber20 = msg.payload.events[20].channel.channel_sat\n\tvar date_start20 = msg.payload.events[20].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start20 = date_start20[2] + '-' + date_start20[1] + '-' + date_start20[0] + ' ' + date_start20[3] + ':00.000000+02:00';\n var date_end20 = msg.payload.events[20].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end20 = date_end20[2] + '-' + date_end20[1] + '-' + date_end20[0] + ' ' + date_end20[3] + ':00.000000+02:00';\n\t\n\tvar name21 = JSON.stringify(msg.payload.events[21].channel.name);\n var title21 = JSON.stringify(msg.payload.events[21].program.title);\n var description21 = JSON.stringify(msg.payload.events[21].program.description);\n var date_start21 = msg.payload.events[21].date_start.split(\" \");\n var date_start_split21 = date_start21[1];\n var date_end21 = msg.payload.events[21].date_end.split(\" \");\n var date_end_split21 = date_end21[1];\n var duration21 = msg.payload.events[21].duration\n var icon21 = msg.payload.events[21].channel.icon\n\tvar chnumber21 = msg.payload.events[21].channel.channel_sat\n\tvar date_start21 = msg.payload.events[21].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start21 = date_start21[2] + '-' + date_start21[1] + '-' + date_start21[0] + ' ' + date_start21[3] + ':00.000000+02:00';\n var date_end21 = msg.payload.events[21].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end21 = date_end21[2] + '-' + date_end21[1] + '-' + date_end21[0] + ' ' + date_end21[3] + ':00.000000+02:00';\n\t\n\tvar name22 = JSON.stringify(msg.payload.events[22].channel.name);\n var title22 = JSON.stringify(msg.payload.events[22].program.title);\n var description22 = JSON.stringify(msg.payload.events[22].program.description);\n var date_start22 = msg.payload.events[22].date_start.split(\" \");\n var date_start_split22 = date_start22[1];\n var date_end22 = msg.payload.events[22].date_end.split(\" \");\n var date_end_split22 = date_end22[1];\n var duration22 = msg.payload.events[22].duration\n var icon22 = msg.payload.events[22].channel.icon\n\tvar chnumber22 = msg.payload.events[22].channel.channel_sat\n\tvar date_start22 = msg.payload.events[22].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start22 = date_start22[2] + '-' + date_start22[1] + '-' + date_start22[0] + ' ' + date_start22[3] + ':00.000000+02:00';\n var date_end22 = msg.payload.events[22].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end22 = date_end22[2] + '-' + date_end22[1] + '-' + date_end22[0] + ' ' + date_end22[3] + ':00.000000+02:00';\n\t\n\tvar name23 = JSON.stringify(msg.payload.events[23].channel.name);\n var title23 = JSON.stringify(msg.payload.events[23].program.title);\n var description23 = JSON.stringify(msg.payload.events[23].program.description);\n var date_start23 = msg.payload.events[23].date_start.split(\" \");\n var date_start_split23 = date_start23[1];\n var date_end23 = msg.payload.events[23].date_end.split(\" \");\n var date_end_split23 = date_end23[1];\n var duration23 = msg.payload.events[23].duration\n var icon23 = msg.payload.events[23].channel.icon\n\tvar chnumber23 = msg.payload.events[23].channel.channel_sat\n\tvar date_start23 = msg.payload.events[23].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start23 = date_start23[2] + '-' + date_start23[1] + '-' + date_start23[0] + ' ' + date_start23[3] + ':00.000000+02:00';\n var date_end23 = msg.payload.events[23].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end23 = date_end23[2] + '-' + date_end23[1] + '-' + date_end23[0] + ' ' + date_end23[3] + ':00.000000+02:00';\n\t\n\tvar name24 = JSON.stringify(msg.payload.events[24].channel.name);\n var title24 = JSON.stringify(msg.payload.events[24].program.title);\n var description24 = JSON.stringify(msg.payload.events[24].program.description);\n var date_start24 = msg.payload.events[24].date_start.split(\" \");\n var date_start_split24 = date_start24[1];\n var date_end24 = msg.payload.events[24].date_end.split(\" \");\n var date_end_split24 = date_end24[1];\n var duration24 = msg.payload.events[24].duration\n var icon24 = msg.payload.events[24].channel.icon\n\tvar chnumber24 = msg.payload.events[24].channel.channel_sat\n\tvar date_start24 = msg.payload.events[24].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start24 = date_start24[2] + '-' + date_start24[1] + '-' + date_start24[0] + ' ' + date_start24[3] + ':00.000000+02:00';\n var date_end24 = msg.payload.events[24].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end24 = date_end24[2] + '-' + date_end24[1] + '-' + date_end24[0] + ' ' + date_end24[3] + ':00.000000+02:00';\n\t\n\tvar name25 = JSON.stringify(msg.payload.events[25].channel.name);\n var title25 = JSON.stringify(msg.payload.events[25].program.title);\n var description25 = JSON.stringify(msg.payload.events[25].program.description);\n var date_start25 = msg.payload.events[25].date_start.split(\" \");\n var date_start_split25 = date_start25[1];\n var date_end25 = msg.payload.events[25].date_end.split(\" \");\n var date_end_split25 = date_end25[1];\n var duration25 = msg.payload.events[25].duration\n var icon25 = msg.payload.events[25].channel.icon\n\tvar chnumber25 = msg.payload.events[25].channel.channel_sat\n\tvar date_start25 = msg.payload.events[25].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start25 = date_start25[2] + '-' + date_start25[1] + '-' + date_start25[0] + ' ' + date_start25[3] + ':00.000000+02:00';\n var date_end25 = msg.payload.events[25].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end25 = date_end25[2] + '-' + date_end25[1] + '-' + date_end25[0] + ' ' + date_end25[3] + ':00.000000+02:00';\n\t\n\tvar name26 = JSON.stringify(msg.payload.events[26].channel.name);\n var title26 = JSON.stringify(msg.payload.events[26].program.title);\n var description26 = JSON.stringify(msg.payload.events[26].program.description);\n var date_start26 = msg.payload.events[26].date_start.split(\" \");\n var date_start_split26 = date_start26[1];\n var date_end26 = msg.payload.events[26].date_end.split(\" \");\n var date_end_split26 = date_end26[1];\n var duration26 = msg.payload.events[26].duration\n var icon26 = msg.payload.events[26].channel.icon\n\tvar chnumber26 = msg.payload.events[26].channel.channel_sat\n\tvar date_start26 = msg.payload.events[26].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start26 = date_start26[2] + '-' + date_start26[1] + '-' + date_start26[0] + ' ' + date_start26[3] + ':00.000000+02:00';\n var date_end26 = msg.payload.events[26].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end26 = date_end26[2] + '-' + date_end26[1] + '-' + date_end26[0] + ' ' + date_end26[3] + ':00.000000+02:00';\n\t\n\tvar name27 = JSON.stringify(msg.payload.events[27].channel.name);\n var title27 = JSON.stringify(msg.payload.events[27].program.title);\n var description27 = JSON.stringify(msg.payload.events[27].program.description);\n var date_start27 = msg.payload.events[27].date_start.split(\" \");\n var date_start_split27 = date_start27[1];\n var date_end27 = msg.payload.events[27].date_end.split(\" \");\n var date_end_split27 = date_end27[1];\n var duration27 = msg.payload.events[27].duration\n var icon27 = msg.payload.events[27].channel.icon\n\tvar chnumber27 = msg.payload.events[27].channel.channel_sat\n\tvar date_start27 = msg.payload.events[27].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start27 = date_start27[2] + '-' + date_start27[1] + '-' + date_start27[0] + ' ' + date_start27[3] + ':00.000000+02:00';\n var date_end27 = msg.payload.events[27].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end27 = date_end27[2] + '-' + date_end27[1] + '-' + date_end27[0] + ' ' + date_end27[3] + ':00.000000+02:00';\n\t\n\tvar name28 = JSON.stringify(msg.payload.events[28].channel.name);\n var title28 = JSON.stringify(msg.payload.events[28].program.title);\n var description28 = JSON.stringify(msg.payload.events[28].program.description);\n var date_start28 = msg.payload.events[28].date_start.split(\" \");\n var date_start_split28 = date_start28[1];\n var date_end28 = msg.payload.events[28].date_end.split(\" \");\n var date_end_split28 = date_end28[1];\n var duration28 = msg.payload.events[28].duration\n var icon28 = msg.payload.events[28].channel.icon\n\tvar chnumber28 = msg.payload.events[28].channel.channel_sat\n\tvar date_start28 = msg.payload.events[28].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start28 = date_start28[2] + '-' + date_start28[1] + '-' + date_start28[0] + ' ' + date_start28[3] + ':00.000000+02:00';\n var date_end28 = msg.payload.events[28].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end28 = date_end28[2] + '-' + date_end28[1] + '-' + date_end28[0] + ' ' + date_end28[3] + ':00.000000+02:00';\n\t\n\tvar name29 = JSON.stringify(msg.payload.events[29].channel.name);\n var title29 = JSON.stringify(msg.payload.events[29].program.title);\n var description29 = JSON.stringify(msg.payload.events[29].program.description);\n var date_start29 = msg.payload.events[29].date_start.split(\" \");\n var date_start_split29 = date_start29[1];\n var date_end29 = msg.payload.events[29].date_end.split(\" \");\n var date_end_split29 = date_end29[1];\n var duration29 = msg.payload.events[29].duration\n var icon29 = msg.payload.events[29].channel.icon\n\tvar chnumber29 = msg.payload.events[29].channel.channel_sat\n\tvar date_start29 = msg.payload.events[29].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start29 = date_start29[2] + '-' + date_start29[1] + '-' + date_start29[0] + ' ' + date_start29[3] + ':00.000000+02:00';\n var date_end29 = msg.payload.events[29].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end29 = date_end29[2] + '-' + date_end29[1] + '-' + date_end29[0] + ' ' + date_end29[3] + ':00.000000+02:00';\n\t\n var name30 = JSON.stringify(msg.payload.events[30].channel.name);\n var title30 = JSON.stringify(msg.payload.events[30].program.title);\n var description30 = JSON.stringify(msg.payload.events[30].program.description);\n var date_start30 = msg.payload.events[30].date_start.split(\" \");\n var date_start_split30 = date_start30[1];\n var date_end30 = msg.payload.events[30].date_end.split(\" \");\n var date_end_split30 = date_end30[1];\n var duration30 = msg.payload.events[30].duration\n var icon30 = msg.payload.events[30].channel.icon\n\tvar chnumber30 = msg.payload.events[30].channel.channel_sat\n\tvar date_start30 = msg.payload.events[30].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start30 = date_start30[2] + '-' + date_start30[1] + '-' + date_start30[0] + ' ' + date_start30[3] + ':00.000000+02:00';\n var date_end30 = msg.payload.events[30].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end30 = date_end30[2] + '-' + date_end30[1] + '-' + date_end30[0] + ' ' + date_end30[3] + ':00.000000+02:00';\n\t\n\tvar name31 = JSON.stringify(msg.payload.events[31].channel.name);\n var title31 = JSON.stringify(msg.payload.events[31].program.title);\n var description31 = JSON.stringify(msg.payload.events[31].program.description);\n var date_start31 = msg.payload.events[31].date_start.split(\" \");\n var date_start_split31 = date_start31[1];\n var date_end31 = msg.payload.events[31].date_end.split(\" \");\n var date_end_split31 = date_end31[1];\n var duration31 = msg.payload.events[31].duration\n var icon31 = msg.payload.events[31].channel.icon\n\tvar chnumber31 = msg.payload.events[31].channel.channel_sat\n\tvar date_start31 = msg.payload.events[31].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start31 = date_start31[2] + '-' + date_start31[1] + '-' + date_start31[0] + ' ' + date_start31[3] + ':00.000000+02:00';\n var date_end31 = msg.payload.events[31].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end31 = date_end31[2] + '-' + date_end31[1] + '-' + date_end31[0] + ' ' + date_end31[3] + ':00.000000+02:00';\n\t\n\tvar name32 = JSON.stringify(msg.payload.events[32].channel.name);\n var title32 = JSON.stringify(msg.payload.events[32].program.title);\n var description32 = JSON.stringify(msg.payload.events[32].program.description);\n var date_start32 = msg.payload.events[32].date_start.split(\" \");\n var date_start_split32 = date_start32[1];\n var date_end32 = msg.payload.events[32].date_end.split(\" \");\n var date_end_split32 = date_end32[1];\n var duration32 = msg.payload.events[32].duration\n var icon32 = msg.payload.events[32].channel.icon\n\tvar chnumber32 = msg.payload.events[32].channel.channel_sat\n\tvar date_start32 = msg.payload.events[32].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start32 = date_start32[2] + '-' + date_start32[1] + '-' + date_start32[0] + ' ' + date_start32[3] + ':00.000000+02:00';\n var date_end32 = msg.payload.events[32].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end32 = date_end32[2] + '-' + date_end32[1] + '-' + date_end32[0] + ' ' + date_end32[3] + ':00.000000+02:00';\n\t\n\tvar name33 = JSON.stringify(msg.payload.events[33].channel.name);\n var title33 = JSON.stringify(msg.payload.events[33].program.title);\n var description33 = JSON.stringify(msg.payload.events[33].program.description);\n var date_start33 = msg.payload.events[33].date_start.split(\" \");\n var date_start_split33 = date_start33[1];\n var date_end33 = msg.payload.events[33].date_end.split(\" \");\n var date_end_split33 = date_end33[1];\n var duration33 = msg.payload.events[33].duration\n var icon33 = msg.payload.events[33].channel.icon\n\tvar chnumber33 = msg.payload.events[33].channel.channel_sat\n\tvar date_start33 = msg.payload.events[33].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start33 = date_start33[2] + '-' + date_start33[1] + '-' + date_start33[0] + ' ' + date_start33[3] + ':00.000000+02:00';\n var date_end33 = msg.payload.events[33].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end33 = date_end33[2] + '-' + date_end33[1] + '-' + date_end33[0] + ' ' + date_end33[3] + ':00.000000+02:00';\n\t\n\tvar name34 = JSON.stringify(msg.payload.events[34].channel.name);\n var title34 = JSON.stringify(msg.payload.events[34].program.title);\n var description34 = JSON.stringify(msg.payload.events[34].program.description);\n var date_start34 = msg.payload.events[34].date_start.split(\" \");\n var date_start_split34 = date_start34[1];\n var date_end34 = msg.payload.events[34].date_end.split(\" \");\n var date_end_split34 = date_end34[1];\n var duration34 = msg.payload.events[34].duration\n var icon34 = msg.payload.events[34].channel.icon\n\tvar chnumber34 = msg.payload.events[34].channel.channel_sat\n\tvar date_start34 = msg.payload.events[34].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start34 = date_start34[2] + '-' + date_start34[1] + '-' + date_start34[0] + ' ' + date_start34[3] + ':00.000000+02:00';\n var date_end34 = msg.payload.events[34].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end34 = date_end34[2] + '-' + date_end34[1] + '-' + date_end34[0] + ' ' + date_end34[3] + ':00.000000+02:00';\n\t\n\tvar name35 = JSON.stringify(msg.payload.events[35].channel.name);\n var title35 = JSON.stringify(msg.payload.events[35].program.title);\n var description35 = JSON.stringify(msg.payload.events[35].program.description);\n var date_start35 = msg.payload.events[35].date_start.split(\" \");\n var date_start_split35 = date_start35[1];\n var date_end35 = msg.payload.events[35].date_end.split(\" \");\n var date_end_split35 = date_end35[1];\n var duration35 = msg.payload.events[35].duration\n var icon35 = msg.payload.events[35].channel.icon\n\tvar chnumber35 = msg.payload.events[35].channel.channel_sat\n\tvar date_start35 = msg.payload.events[35].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start35 = date_start35[2] + '-' + date_start35[1] + '-' + date_start35[0] + ' ' + date_start35[3] + ':00.000000+02:00';\n var date_end35 = msg.payload.events[35].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end35 = date_end35[2] + '-' + date_end35[1] + '-' + date_end35[0] + ' ' + date_end35[3] + ':00.000000+02:00';\n\t\n\tvar name36 = JSON.stringify(msg.payload.events[36].channel.name);\n var title36 = JSON.stringify(msg.payload.events[36].program.title);\n var description36 = JSON.stringify(msg.payload.events[36].program.description);\n var date_start36 = msg.payload.events[36].date_start.split(\" \");\n var date_start_split36 = date_start36[1];\n var date_end36 = msg.payload.events[36].date_end.split(\" \");\n var date_end_split36 = date_end36[1];\n var duration36 = msg.payload.events[36].duration\n var icon36 = msg.payload.events[36].channel.icon\n\tvar chnumber36 = msg.payload.events[36].channel.channel_sat\n\tvar date_start36 = msg.payload.events[36].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start36 = date_start36[2] + '-' + date_start36[1] + '-' + date_start36[0] + ' ' + date_start36[3] + ':00.000000+02:00';\n var date_end36 = msg.payload.events[36].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end36 = date_end36[2] + '-' + date_end36[1] + '-' + date_end36[0] + ' ' + date_end36[3] + ':00.000000+02:00';\n\t\n\t\n\tvar name37 = JSON.stringify(msg.payload.events[37].channel.name);\n var title37 = JSON.stringify(msg.payload.events[37].program.title);\n var description37 = JSON.stringify(msg.payload.events[37].program.description);\n var date_start37 = msg.payload.events[37].date_start.split(\" \");\n var date_start_split37 = date_start37[1];\n var date_end37 = msg.payload.events[37].date_end.split(\" \");\n var date_end_split37 = date_end37[1];\n var duration37 = msg.payload.events[37].duration\n var icon37 = msg.payload.events[37].channel.icon\n\tvar chnumber37 = msg.payload.events[37].channel.channel_sat\n\tvar date_start37 = msg.payload.events[37].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start37 = date_start37[2] + '-' + date_start37[1] + '-' + date_start37[0] + ' ' + date_start37[3] + ':00.000000+02:00';\n var date_end37 = msg.payload.events[37].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end37 = date_end37[2] + '-' + date_end37[1] + '-' + date_end37[0] + ' ' + date_end37[3] + ':00.000000+02:00';\n\t\n\t\n\tvar name38 = JSON.stringify(msg.payload.events[38].channel.name);\n var title38 = JSON.stringify(msg.payload.events[38].program.title);\n var description38 = JSON.stringify(msg.payload.events[38].program.description);\n var date_start38 = msg.payload.events[38].date_start.split(\" \");\n var date_start_split38 = date_start38[1];\n var date_end38 = msg.payload.events[38].date_end.split(\" \");\n var date_end_split38 = date_end38[1];\n var duration38 = msg.payload.events[38].duration\n var icon38 = msg.payload.events[38].channel.icon\n\tvar chnumber38 = msg.payload.events[38].channel.channel_sat\n\tvar date_start38 = msg.payload.events[38].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start38 = date_start38[2] + '-' + date_start38[1] + '-' + date_start38[0] + ' ' + date_start38[3] + ':00.000000+02:00';\n var date_end38 = msg.payload.events[38].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end38 = date_end38[2] + '-' + date_end38[1] + '-' + date_end38[0] + ' ' + date_end38[3] + ':00.000000+02:00';\n\t\n\t\t\n\tvar name39 = JSON.stringify(msg.payload.events[39].channel.name);\n var title39 = JSON.stringify(msg.payload.events[39].program.title);\n var description39 = JSON.stringify(msg.payload.events[39].program.description);\n var date_start39 = msg.payload.events[39].date_start.split(\" \");\n var date_start_split39 = date_start39[1];\n var date_end39 = msg.payload.events[39].date_end.split(\" \");\n var date_end_split39 = date_end39[1];\n var duration39 = msg.payload.events[39].duration\n var icon39 = msg.payload.events[39].channel.icon\n\tvar chnumber39 = msg.payload.events[39].channel.channel_sat\n\tvar date_start39 = msg.payload.events[39].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start39 = date_start39[2] + '-' + date_start39[1] + '-' + date_start39[0] + ' ' + date_start39[3] + ':00.000000+02:00';\n var date_end39 = msg.payload.events[39].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end39 = date_end39[2] + '-' + date_end39[1] + '-' + date_end39[0] + ' ' + date_end39[3] + ':00.000000+02:00';\n\t\n\t\t\n var name40 = JSON.stringify(msg.payload.events[40].channel.name);\n var title40 = JSON.stringify(msg.payload.events[40].program.title);\n var description40 = JSON.stringify(msg.payload.events[40].program.description);\n var date_start40 = msg.payload.events[40].date_start.split(\" \");\n var date_start_split40 = date_start40[1];\n var date_end40 = msg.payload.events[40].date_end.split(\" \");\n var date_end_split40 = date_end40[1];\n var duration40 = msg.payload.events[40].duration\n var icon40 = msg.payload.events[40].channel.icon\n\tvar chnumber40 = msg.payload.events[40].channel.channel_sat\n\tvar date_start40 = msg.payload.events[40].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start40 = date_start40[2] + '-' + date_start40[1] + '-' + date_start40[0] + ' ' + date_start40[3] + ':00.000000+02:00';\n var date_end40 = msg.payload.events[40].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end40 = date_end40[2] + '-' + date_end40[1] + '-' + date_end40[0] + ' ' + date_end40[3] + ':00.000000+02:00';\n\t\t\n\tvar name41 = JSON.stringify(msg.payload.events[41].channel.name);\n var title41 = JSON.stringify(msg.payload.events[41].program.title);\n var description41 = JSON.stringify(msg.payload.events[41].program.description);\n var date_start41 = msg.payload.events[41].date_start.split(\" \");\n var date_start_split41 = date_start41[1];\n var date_end41 = msg.payload.events[41].date_end.split(\" \");\n var date_end_split41 = date_end41[1];\n var duration41 = msg.payload.events[41].duration\n var icon41 = msg.payload.events[41].channel.icon\n\tvar chnumber41 = msg.payload.events[41].channel.channel_sat\n\tvar date_start41 = msg.payload.events[41].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start41 = date_start41[2] + '-' + date_start41[1] + '-' + date_start41[0] + ' ' + date_start41[3] + ':00.000000+02:00';\n var date_end41 = msg.payload.events[41].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end41 = date_end41[2] + '-' + date_end41[1] + '-' + date_end41[0] + ' ' + date_end41[3] + ':00.000000+02:00';\n\t\n\tvar name42 = JSON.stringify(msg.payload.events[42].channel.name);\n var title42 = JSON.stringify(msg.payload.events[42].program.title);\n var description42 = JSON.stringify(msg.payload.events[42].program.description);\n var date_start42 = msg.payload.events[42].date_start.split(\" \");\n var date_start_split42 = date_start42[1];\n var date_end42 = msg.payload.events[42].date_end.split(\" \");\n var date_end_split42 = date_end42[1];\n var duration42 = msg.payload.events[42].duration\n var icon42 = msg.payload.events[42].channel.icon\n\tvar chnumber42 = msg.payload.events[42].channel.channel_sat\n\tvar date_start42 = msg.payload.events[42].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start42 = date_start42[2] + '-' + date_start42[1] + '-' + date_start42[0] + ' ' + date_start42[3] + ':00.000000+02:00';\n var date_end42 = msg.payload.events[42].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end42 = date_end42[2] + '-' + date_end42[1] + '-' + date_end42[0] + ' ' + date_end42[3] + ':00.000000+02:00';\n\t\n\tvar name43 = JSON.stringify(msg.payload.events[43].channel.name);\n var title43 = JSON.stringify(msg.payload.events[43].program.title);\n var description43 = JSON.stringify(msg.payload.events[43].program.description);\n var date_start43 = msg.payload.events[43].date_start.split(\" \");\n var date_start_split43 = date_start43[1];\n var date_end43 = msg.payload.events[43].date_end.split(\" \");\n var date_end_split43 = date_end43[1];\n var duration43 = msg.payload.events[43].duration\n var icon43 = msg.payload.events[43].channel.icon\n\tvar chnumber43 = msg.payload.events[43].channel.channel_sat\n\tvar date_start43 = msg.payload.events[43].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start43 = date_start43[2] + '-' + date_start43[1] + '-' + date_start43[0] + ' ' + date_start43[3] + ':00.000000+02:00';\n var date_end43 = msg.payload.events[43].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end43 = date_end43[2] + '-' + date_end43[1] + '-' + date_end43[0] + ' ' + date_end43[3] + ':00.000000+02:00';\n\t\n\tvar name44 = JSON.stringify(msg.payload.events[44].channel.name);\n var title44 = JSON.stringify(msg.payload.events[44].program.title);\n var description44 = JSON.stringify(msg.payload.events[44].program.description);\n var date_start44 = msg.payload.events[44].date_start.split(\" \");\n var date_start_split44 = date_start44[1];\n var date_end44 = msg.payload.events[44].date_end.split(\" \");\n var date_end_split44 = date_end44[1];\n var duration44 = msg.payload.events[44].duration\n var icon44 = msg.payload.events[44].channel.icon\n\tvar chnumber44 = msg.payload.events[44].channel.channel_sat\n\tvar date_start44 = msg.payload.events[44].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start44 = date_start44[2] + '-' + date_start44[1] + '-' + date_start44[0] + ' ' + date_start44[3] + ':00.000000+02:00';\n var date_end44 = msg.payload.events[44].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end44 = date_end44[2] + '-' + date_end44[1] + '-' + date_end44[0] + ' ' + date_end44[3] + ':00.000000+02:00';\n\t\n\tvar name45 = JSON.stringify(msg.payload.events[45].channel.name);\n var title45 = JSON.stringify(msg.payload.events[45].program.title);\n var description45 = JSON.stringify(msg.payload.events[45].program.description);\n var date_start45 = msg.payload.events[45].date_start.split(\" \");\n var date_start_split45 = date_start45[1];\n var date_end45 = msg.payload.events[45].date_end.split(\" \");\n var date_end_split45 = date_end45[1];\n var duration45 = msg.payload.events[45].duration\n var icon45 = msg.payload.events[45].channel.icon\n\tvar chnumber45 = msg.payload.events[45].channel.channel_sat\n\tvar date_start45 = msg.payload.events[45].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start45 = date_start45[2] + '-' + date_start45[1] + '-' + date_start45[0] + ' ' + date_start45[3] + ':00.000000+02:00';\n var date_end45 = msg.payload.events[45].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end45 = date_end45[2] + '-' + date_end45[1] + '-' + date_end45[0] + ' ' + date_end45[3] + ':00.000000+02:00';\n\t\n\tvar name46 = JSON.stringify(msg.payload.events[46].channel.name);\n var title46 = JSON.stringify(msg.payload.events[46].program.title);\n var description46 = JSON.stringify(msg.payload.events[46].program.description);\n var date_start46 = msg.payload.events[46].date_start.split(\" \");\n var date_start_split46 = date_start46[1];\n var date_end46 = msg.payload.events[46].date_end.split(\" \");\n var date_end_split46 = date_end46[1];\n var duration46 = msg.payload.events[46].duration\n var icon46 = msg.payload.events[46].channel.icon\n\tvar chnumber46 = msg.payload.events[46].channel.channel_sat\n\tvar date_start46 = msg.payload.events[46].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start46 = date_start46[2] + '-' + date_start46[1] + '-' + date_start46[0] + ' ' + date_start46[3] + ':00.000000+02:00';\n var date_end46 = msg.payload.events[46].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end46 = date_end46[2] + '-' + date_end46[1] + '-' + date_end46[0] + ' ' + date_end46[3] + ':00.000000+02:00';\n\t\n\tvar name47 = JSON.stringify(msg.payload.events[47].channel.name);\n var title47 = JSON.stringify(msg.payload.events[47].program.title);\n var description47 = JSON.stringify(msg.payload.events[47].program.description);\n var date_start47 = msg.payload.events[47].date_start.split(\" \");\n var date_start_split47 = date_start47[1];\n var date_end47 = msg.payload.events[47].date_end.split(\" \");\n var date_end_split47 = date_end47[1];\n var duration47 = msg.payload.events[47].duration\n var icon47 = msg.payload.events[47].channel.icon\n\tvar chnumber47 = msg.payload.events[47].channel.channel_sat\n\tvar date_start47 = msg.payload.events[47].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start47 = date_start47[2] + '-' + date_start47[1] + '-' + date_start47[0] + ' ' + date_start47[3] + ':00.000000+02:00';\n var date_end47 = msg.payload.events[47].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end47 = date_end47[2] + '-' + date_end47[1] + '-' + date_end47[0] + ' ' + date_end47[3] + ':00.000000+02:00';\n\t\n\tvar name48 = JSON.stringify(msg.payload.events[48].channel.name);\n var title48 = JSON.stringify(msg.payload.events[48].program.title);\n var description48 = JSON.stringify(msg.payload.events[48].program.description);\n var date_start48 = msg.payload.events[48].date_start.split(\" \");\n var date_start_split48 = date_start48[1];\n var date_end48 = msg.payload.events[48].date_end.split(\" \");\n var date_end_split48 = date_end48[1];\n var duration48 = msg.payload.events[48].duration\n var icon48 = msg.payload.events[48].channel.icon\n\tvar chnumber48 = msg.payload.events[48].channel.channel_sat\n\tvar date_start48 = msg.payload.events[48].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start48 = date_start48[2] + '-' + date_start48[1] + '-' + date_start48[0] + ' ' + date_start48[3] + ':00.000000+02:00';\n var date_end48 = msg.payload.events[48].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end48 = date_end48[2] + '-' + date_end48[1] + '-' + date_end48[0] + ' ' + date_end48[3] + ':00.000000+02:00';\n\t\t\n\tvar name49 = JSON.stringify(msg.payload.events[49].channel.name);\n var title49 = JSON.stringify(msg.payload.events[49].program.title);\n var description49 = JSON.stringify(msg.payload.events[49].program.description);\n var date_start49 = msg.payload.events[49].date_start.split(\" \");\n var date_start_split49 = date_start49[1];\n var date_end49 = msg.payload.events[49].date_end.split(\" \");\n var date_end_split49 = date_end49[1];\n var duration49 = msg.payload.events[49].duration\n var icon49 = msg.payload.events[49].channel.icon\n\tvar chnumber49 = msg.payload.events[49].channel.channel_sat\n\tvar date_start49 = msg.payload.events[49].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start49 = date_start49[2] + '-' + date_start49[1] + '-' + date_start49[0] + ' ' + date_start49[3] + ':00.000000+02:00';\n var date_end49 = msg.payload.events[49].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end49 = date_end49[2] + '-' + date_end49[1] + '-' + date_end49[0] + ' ' + date_end49[3] + ':00.000000+02:00';\n\t\n var name50 = JSON.stringify(msg.payload.events[50].channel.name);\n var title50 = JSON.stringify(msg.payload.events[50].program.title);\n var description50 = JSON.stringify(msg.payload.events[50].program.description);\n var date_start50 = msg.payload.events[50].date_start.split(\" \");\n var date_start_split50 = date_start50[1];\n var date_end50 = msg.payload.events[50].date_end.split(\" \");\n var date_end_split50 = date_end50[1];\n var duration50 = msg.payload.events[50].duration\n var icon50 = msg.payload.events[50].channel.icon\n\tvar chnumber50 = msg.payload.events[50].channel.channel_sat\n\tvar date_start50 = msg.payload.events[50].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start50 = date_start50[2] + '-' + date_start50[1] + '-' + date_start50[0] + ' ' + date_start50[3] + ':00.000000+02:00';\n var date_end50 = msg.payload.events[50].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end50 = date_end50[2] + '-' + date_end50[1] + '-' + date_end50[0] + ' ' + date_end50[3] + ':00.000000+02:00';\n\t\n\tvar name51 = JSON.stringify(msg.payload.events[51].channel.name);\n var title51 = JSON.stringify(msg.payload.events[51].program.title);\n var description51 = JSON.stringify(msg.payload.events[51].program.description);\n var date_start51 = msg.payload.events[51].date_start.split(\" \");\n var date_start_split51 = date_start51[1];\n var date_end51 = msg.payload.events[51].date_end.split(\" \");\n var date_end_split51 = date_end51[1];\n var duration51 = msg.payload.events[51].duration\n var icon51 = msg.payload.events[51].channel.icon\n\tvar chnumber51 = msg.payload.events[51].channel.channel_sat\n\tvar date_start51 = msg.payload.events[51].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start51 = date_start51[2] + '-' + date_start51[1] + '-' + date_start51[0] + ' ' + date_start51[3] + ':00.000000+02:00';\n var date_end51 = msg.payload.events[51].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end51 = date_end51[2] + '-' + date_end51[1] + '-' + date_end51[0] + ' ' + date_end51[3] + ':00.000000+02:00';\n\t\n\tvar name52 = JSON.stringify(msg.payload.events[52].channel.name);\n var title52 = JSON.stringify(msg.payload.events[52].program.title);\n var description52 = JSON.stringify(msg.payload.events[52].program.description);\n var date_start52 = msg.payload.events[52].date_start.split(\" \");\n var date_start_split52 = date_start52[1];\n var date_end52 = msg.payload.events[52].date_end.split(\" \");\n var date_end_split52 = date_end52[1];\n var duration52 = msg.payload.events[52].duration\n var icon52 = msg.payload.events[52].channel.icon\n\tvar chnumber52 = msg.payload.events[52].channel.channel_sat\n\tvar date_start52 = msg.payload.events[52].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start52 = date_start52[2] + '-' + date_start52[1] + '-' + date_start52[0] + ' ' + date_start52[3] + ':00.000000+02:00';\n var date_end52 = msg.payload.events[52].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end52 = date_end52[2] + '-' + date_end52[1] + '-' + date_end52[0] + ' ' + date_end52[3] + ':00.000000+02:00';\n\t\n\tvar name53 = JSON.stringify(msg.payload.events[53].channel.name);\n var title53 = JSON.stringify(msg.payload.events[53].program.title);\n var description53 = JSON.stringify(msg.payload.events[53].program.description);\n var date_start53 = msg.payload.events[53].date_start.split(\" \");\n var date_start_split53 = date_start53[1];\n var date_end53 = msg.payload.events[53].date_end.split(\" \");\n var date_end_split53 = date_end53[1];\n var duration53 = msg.payload.events[53].duration\n var icon53 = msg.payload.events[53].channel.icon\n\tvar chnumber53 = msg.payload.events[53].channel.channel_sat\n\tvar date_start53 = msg.payload.events[53].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start53 = date_start53[2] + '-' + date_start53[1] + '-' + date_start53[0] + ' ' + date_start53[3] + ':00.000000+02:00';\n var date_end53 = msg.payload.events[53].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end53 = date_end53[2] + '-' + date_end53[1] + '-' + date_end53[0] + ' ' + date_end53[3] + ':00.000000+02:00';\n\t\n\t\n\tvar name54 = JSON.stringify(msg.payload.events[54].channel.name);\n var title54 = JSON.stringify(msg.payload.events[54].program.title);\n var description54 = JSON.stringify(msg.payload.events[54].program.description);\n var date_start54 = msg.payload.events[54].date_start.split(\" \");\n var date_start_split54 = date_start54[1];\n var date_end54 = msg.payload.events[54].date_end.split(\" \");\n var date_end_split54 = date_end54[1];\n var duration54 = msg.payload.events[54].duration\n var icon54 = msg.payload.events[54].channel.icon\n\tvar chnumber54 = msg.payload.events[54].channel.channel_sat\n\tvar date_start54 = msg.payload.events[54].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start54 = date_start54[2] + '-' + date_start54[1] + '-' + date_start54[0] + ' ' + date_start54[3] + ':00.000000+02:00';\n var date_end54 = msg.payload.events[54].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end54 = date_end54[2] + '-' + date_end54[1] + '-' + date_end54[0] + ' ' + date_end54[3] + ':00.000000+02:00';\n\t\n\t\n\tvar name55 = JSON.stringify(msg.payload.events[55].channel.name);\n var title55 = JSON.stringify(msg.payload.events[55].program.title);\n var description55 = JSON.stringify(msg.payload.events[55].program.description);\n var date_start55 = msg.payload.events[55].date_start.split(\" \");\n var date_start_split55 = date_start55[1];\n var date_end55 = msg.payload.events[55].date_end.split(\" \");\n var date_end_split55 = date_end55[1];\n var duration55 = msg.payload.events[55].duration\n var icon55 = msg.payload.events[55].channel.icon\n\tvar chnumber55 = msg.payload.events[55].channel.channel_sat\n\tvar date_start55 = msg.payload.events[55].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start55 = date_start55[2] + '-' + date_start55[1] + '-' + date_start55[0] + ' ' + date_start55[3] + ':00.000000+02:00';\n var date_end55 = msg.payload.events[55].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end55 = date_end55[2] + '-' + date_end55[1] + '-' + date_end55[0] + ' ' + date_end55[3] + ':00.000000+02:00';\n\t\n\tvar name56 = JSON.stringify(msg.payload.events[56].channel.name);\n var title56 = JSON.stringify(msg.payload.events[56].program.title);\n var description56 = JSON.stringify(msg.payload.events[56].program.description);\n var date_start56 = msg.payload.events[56].date_start.split(\" \");\n var date_start_split56 = date_start56[1];\n var date_end56 = msg.payload.events[56].date_end.split(\" \");\n var date_end_split56 = date_end56[1];\n var duration56 = msg.payload.events[56].duration\n var icon56 = msg.payload.events[56].channel.icon\n\tvar chnumber56 = msg.payload.events[56].channel.channel_sat\n\tvar date_start56 = msg.payload.events[56].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start56 = date_start56[2] + '-' + date_start56[1] + '-' + date_start56[0] + ' ' + date_start56[3] + ':00.000000+02:00';\n var date_end56 = msg.payload.events[56].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end56 = date_end56[2] + '-' + date_end56[1] + '-' + date_end56[0] + ' ' + date_end56[3] + ':00.000000+02:00';\n\t\n\tvar name57 = JSON.stringify(msg.payload.events[57].channel.name);\n var title57 = JSON.stringify(msg.payload.events[57].program.title);\n var description57 = JSON.stringify(msg.payload.events[57].program.description);\n var date_start57 = msg.payload.events[57].date_start.split(\" \");\n var date_start_split57 = date_start57[1];\n var date_end57 = msg.payload.events[57].date_end.split(\" \");\n var date_end_split57 = date_end57[1];\n var duration57 = msg.payload.events[57].duration\n var icon57 = msg.payload.events[57].channel.icon\n\tvar chnumber57 = msg.payload.events[57].channel.channel_sat\n\tvar date_start57 = msg.payload.events[57].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start57 = date_start57[2] + '-' + date_start57[1] + '-' + date_start57[0] + ' ' + date_start57[3] + ':00.000000+02:00';\n var date_end57 = msg.payload.events[57].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end57 = date_end57[2] + '-' + date_end57[1] + '-' + date_end57[0] + ' ' + date_end57[3] + ':00.000000+02:00';\n\t\n\tvar name58 = JSON.stringify(msg.payload.events[58].channel.name);\n var title58 = JSON.stringify(msg.payload.events[58].program.title);\n var description58 = JSON.stringify(msg.payload.events[58].program.description);\n var date_start58 = msg.payload.events[58].date_start.split(\" \");\n var date_start_split58 = date_start58[1];\n var date_end58 = msg.payload.events[58].date_end.split(\" \");\n var date_end_split58 = date_end58[1];\n var duration58 = msg.payload.events[58].duration\n var icon58 = msg.payload.events[58].channel.icon\n\tvar chnumber58 = msg.payload.events[58].channel.channel_sat\n\tvar date_start58 = msg.payload.events[58].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start58 = date_start58[2] + '-' + date_start58[1] + '-' + date_start58[0] + ' ' + date_start58[3] + ':00.000000+02:00';\n var date_end58 = msg.payload.events[58].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end58 = date_end58[2] + '-' + date_end58[1] + '-' + date_end58[0] + ' ' + date_end58[3] + ':00.000000+02:00';\n\t\n\t\t\n\tvar name59 = JSON.stringify(msg.payload.events[59].channel.name);\n var title59 = JSON.stringify(msg.payload.events[59].program.title);\n var description59 = JSON.stringify(msg.payload.events[59].program.description);\n var date_start59 = msg.payload.events[59].date_start.split(\" \");\n var date_start_split59 = date_start59[1];\n var date_end59 = msg.payload.events[59].date_end.split(\" \");\n var date_end_split59 = date_end59[1];\n var duration59 = msg.payload.events[59].duration\n var icon59 = msg.payload.events[59].channel.icon\n\tvar chnumber59 = msg.payload.events[59].channel.channel_sat\n\tvar date_start59 = msg.payload.events[59].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start59 = date_start59[2] + '-' + date_start59[1] + '-' + date_start59[0] + ' ' + date_start59[3] + ':00.000000+02:00';\n var date_end59 = msg.payload.events[59].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end59 = date_end59[2] + '-' + date_end59[1] + '-' + date_end59[0] + ' ' + date_end59[3] + ':00.000000+02:00';\n\t\n\t\n var name60 = JSON.stringify(msg.payload.events[60].channel.name);\n var title60 = JSON.stringify(msg.payload.events[60].program.title);\n var description60 = JSON.stringify(msg.payload.events[60].program.description);\n var date_start60 = msg.payload.events[60].date_start.split(\" \");\n var date_start_split60 = date_start60[1];\n var date_end60 = msg.payload.events[60].date_end.split(\" \");\n var date_end_split60 = date_end60[1];\n var duration60 = msg.payload.events[60].duration\n var icon60 = msg.payload.events[60].channel.icon\n\tvar chnumber60 = msg.payload.events[60].channel.channel_sat\n\tvar date_start60 = msg.payload.events[60].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start60 = date_start60[2] + '-' + date_start60[1] + '-' + date_start60[0] + ' ' + date_start60[3] + ':00.000000+02:00';\n var date_end60 = msg.payload.events[60].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end60 = date_end60[2] + '-' + date_end60[1] + '-' + date_end60[0] + ' ' + date_end60[3] + ':00.000000+02:00';\n\t\n\t\nmsg.final = '{' + name0 + ':{' + '\"title\":' + title0 + ',' + '\"description\":' + description0 + ',' + '\"icon\":\"' + icon0 + '\",' + '\"duration\": ' + duration0 + ',' + '\"chnumber\": ' + chnumber0 + ', \"start\":' + '\"' + date_start_split0 + '\",\"stop\":\"' + date_end_split0 + '\",\"date_start\":\"' + date_start0 + '\",\"date_stop\":\"' + date_end0 + '\"},'\n\t\t\t + name1 + ':{' + '\"title\":' + title1 + ',' + '\"description\":' + description1 + ',' + '\"icon\":\"' + icon1 + '\",' + '\"duration\": ' + duration1 + ',' + '\"chnumber\": ' + chnumber1 + ', \"start\":' + '\"' + date_start_split1 + '\",\"stop\":\"' + date_end_split1 + '\",\"date_start\":\"' + date_start1 + '\",\"date_stop\":\"' + date_end1 + '\"},'\n\t\t\t\t+ name2 + ':{' + '\"title\":' + title2 + ',' + '\"description\":' + description2 + ',' + '\"icon\":\"' + icon2 + '\",' + '\"duration\": ' + duration2 + ',' + '\"chnumber\": ' + chnumber2 + ', \"start\":' + '\"' + date_start_split2 + '\",\"stop\":\"' + date_end_split2 + '\",\"date_start\":\"' + date_start2 + '\",\"date_stop\":\"' + date_end2 + '\"},'\n\t\t\t\t+ name3 + ':{' + '\"title\":' + title3 + ',' + '\"description\":' + description3 + ',' + '\"icon\":\"' + icon3 + '\",' + '\"duration\": ' + duration3 + ',' + '\"chnumber\": ' + chnumber3 + ', \"start\":' + '\"' + date_start_split3 + '\",\"stop\":\"' + date_end_split3 + '\",\"date_start\":\"' + date_start3 + '\",\"date_stop\":\"' + date_end3 + '\"},'\n\t\t\t\t+ name4 + ':{' + '\"title\":' + title4 + ',' + '\"description\":' + description4 + ',' + '\"icon\":\"' + icon4 + '\",' + '\"duration\": ' + duration4 + ',' + '\"chnumber\": ' + chnumber4 + ', \"start\":' + '\"' + date_start_split4 + '\",\"stop\":\"' + date_end_split4 + '\",\"date_start\":\"' + date_start4 + '\",\"date_stop\":\"' + date_end4 + '\"},'\n\t\t\t\t+ name5 + ':{' + '\"title\":' + title5 + ',' + '\"description\":' + description5 + ',' + '\"icon\":\"' + icon5 + '\",' + '\"duration\": ' + duration5 + ',' + '\"chnumber\": ' + chnumber5 + ', \"start\":' + '\"' + date_start_split5 + '\",\"stop\":\"' + date_end_split5 + '\",\"date_start\":\"' + date_start5 + '\",\"date_stop\":\"' + date_end5 + '\"},'\n\t\t\t\t+ name6 + ':{' + '\"title\":' + title6 + ',' + '\"description\":' + description6 + ',' + '\"icon\":\"' + icon6 + '\",' + '\"duration\": ' + duration6 + ',' + '\"chnumber\": ' + chnumber6 + ', \"start\":' + '\"' + date_start_split6 + '\",\"stop\":\"' + date_end_split6 + '\",\"date_start\":\"' + date_start6 + '\",\"date_stop\":\"' + date_end6 + '\"},'\n\t\t\t\t+ name7 + ':{' + '\"title\":' + title7 + ',' + '\"description\":' + description7 + ',' + '\"icon\":\"' + icon7 + '\",' + '\"duration\": ' + duration7 + ',' + '\"chnumber\": ' + chnumber7 + ', \"start\":' + '\"' + date_start_split7 + '\",\"stop\":\"' + date_end_split7 + '\",\"date_start\":\"' + date_start7 + '\",\"date_stop\":\"' + date_end7 + '\"},'\n\t\t\t\t+ name8 + ':{' + '\"title\":' + title8 + ',' + '\"description\":' + description8 + ',' + '\"icon\":\"' + icon8 + '\",' + '\"duration\": ' + duration8 + ',' + '\"chnumber\": ' + chnumber8 + ', \"start\":' + '\"' + date_start_split8 + '\",\"stop\":\"' + date_end_split8 + '\",\"date_start\":\"' + date_start8 + '\",\"date_stop\":\"' + date_end8 + '\"},'\n\t\t\t\t+ name9 + ':{' + '\"title\":' + title9 + ',' + '\"description\":' + description9 + ',' + '\"icon\":\"' + icon9 + '\",' + '\"duration\": ' + duration9 + ',' + '\"chnumber\": ' + chnumber9 + ', \"start\":' + '\"' + date_start_split9 + '\",\"stop\":\"' + date_end_split9 + '\",\"date_start\":\"' + date_start9 + '\",\"date_stop\":\"' + date_end9 + '\"},'\n\t\t\t\t+ name10 + ':{' + '\"title\":' + title10 + ',' + '\"description\":' + description10 + ',' + '\"icon\":\"' + icon10 + '\",' + '\"duration\": ' + duration10 + ',' + '\"chnumber\": ' + chnumber10 + ', \"start\":' + '\"' + date_start_split10 + '\",\"stop\":\"' + date_end_split10 + '\",\"date_start\":\"' + date_start10 + '\",\"date_stop\":\"' + date_end10 + '\"},'\n\t\t\t\t+ name11 + ':{' + '\"title\":' + title11 + ',' + '\"description\":' + description11 + ',' + '\"icon\":\"' + icon11 + '\",' + '\"duration\": ' + duration11 + ',' + '\"chnumber\": ' + chnumber11 + ', \"start\":' + '\"' + date_start_split11 + '\",\"stop\":\"' + date_end_split11 + '\",\"date_start\":\"' + date_start11 + '\",\"date_stop\":\"' + date_end11 + '\"},'\n\t\t\t\t+ name12 + ':{' + '\"title\":' + title12 + ',' + '\"description\":' + description12 + ',' + '\"icon\":\"' + icon12 + '\",' + '\"duration\": ' + duration12 + ',' + '\"chnumber\": ' + chnumber12 + ', \"start\":' + '\"' + date_start_split12 + '\",\"stop\":\"' + date_end_split12 + '\",\"date_start\":\"' + date_start12 + '\",\"date_stop\":\"' + date_end12 + '\"},'\n\t\t\t\t+ name13 + ':{' + '\"title\":' + title13 + ',' + '\"description\":' + description13 + ',' + '\"icon\":\"' + icon13 + '\",' + '\"duration\": ' + duration13 + ',' + '\"chnumber\": ' + chnumber13 + ', \"start\":' + '\"' + date_start_split13 + '\",\"stop\":\"' + date_end_split13 + '\",\"date_start\":\"' + date_start13 + '\",\"date_stop\":\"' + date_end13 + '\"},'\n\t\t\t\t+ name14 + ':{' + '\"title\":' + title14 + ',' + '\"description\":' + description14 + ',' + '\"icon\":\"' + icon14 + '\",' + '\"duration\": ' + duration14 + ',' + '\"chnumber\": ' + chnumber14 + ', \"start\":' + '\"' + date_start_split14 + '\",\"stop\":\"' + date_end_split14 + '\",\"date_start\":\"' + date_start14 + '\",\"date_stop\":\"' + date_end14 + '\"},'\n\t\t\t\t+ name15 + ':{' + '\"title\":' + title15 + ',' + '\"description\":' + description15 + ',' + '\"icon\":\"' + icon15 + '\",' + '\"duration\": ' + duration15 + ',' + '\"chnumber\": ' + chnumber15 + ', \"start\":' + '\"' + date_start_split15 + '\",\"stop\":\"' + date_end_split15 + '\",\"date_start\":\"' + date_start15 + '\",\"date_stop\":\"' + date_end15 + '\"},'\n\t\t\t\t+ name16 + ':{' + '\"title\":' + title16 + ',' + '\"description\":' + description16 + ',' + '\"icon\":\"' + icon16 + '\",' + '\"duration\": ' + duration16 + ',' + '\"chnumber\": ' + chnumber16 + ', \"start\":' + '\"' + date_start_split16 + '\",\"stop\":\"' + date_end_split16 + '\",\"date_start\":\"' + date_start16 + '\",\"date_stop\":\"' + date_end16 + '\"},'\n\t\t\t\t+ name17 + ':{' + '\"title\":' + title17 + ',' + '\"description\":' + description17 + ',' + '\"icon\":\"' + icon17 + '\",' + '\"duration\": ' + duration17 + ',' + '\"chnumber\": ' + chnumber17 + ', \"start\":' + '\"' + date_start_split17 + '\",\"stop\":\"' + date_end_split17 + '\",\"date_start\":\"' + date_start17 + '\",\"date_stop\":\"' + date_end17 + '\"},'\n\t\t\t\t+ name18 + ':{' + '\"title\":' + title18 + ',' + '\"description\":' + description18 + ',' + '\"icon\":\"' + icon18 + '\",' + '\"duration\": ' + duration18 + ',' + '\"chnumber\": ' + chnumber18 + ', \"start\":' + '\"' + date_start_split18 + '\",\"stop\":\"' + date_end_split18 + '\",\"date_start\":\"' + date_start18 + '\",\"date_stop\":\"' + date_end18 + '\"},'\n\t\t\t\t+ name19 + ':{' + '\"title\":' + title19 + ',' + '\"description\":' + description19 + ',' + '\"icon\":\"' + icon19 + '\",' + '\"duration\": ' + duration19 + ',' + '\"chnumber\": ' + chnumber19 + ', \"start\":' + '\"' + date_start_split19 + '\",\"stop\":\"' + date_end_split19 + '\",\"date_start\":\"' + date_start19 + '\",\"date_stop\":\"' + date_end19 + '\"},'\n\t\t\t\t+ name20 + ':{' + '\"title\":' + title20 + ',' + '\"description\":' + description20 + ',' + '\"icon\":\"' + icon20 + '\",' + '\"duration\": ' + duration20 + ',' + '\"chnumber\": ' + chnumber20 + ', \"start\":' + '\"' + date_start_split20 + '\",\"stop\":\"' + date_end_split20 + '\",\"date_start\":\"' + date_start20 + '\",\"date_stop\":\"' + date_end20 + '\"},'\n\t\t\t\t+ name21 + ':{' + '\"title\":' + title21 + ',' + '\"description\":' + description21 + ',' + '\"icon\":\"' + icon21 + '\",' + '\"duration\": ' + duration21 + ',' + '\"chnumber\": ' + chnumber21 + ', \"start\":' + '\"' + date_start_split21 + '\",\"stop\":\"' + date_end_split21 + '\",\"date_start\":\"' + date_start21 + '\",\"date_stop\":\"' + date_end21 + '\"},'\n\t\t\t\t+ name22 + ':{' + '\"title\":' + title22 + ',' + '\"description\":' + description22 + ',' + '\"icon\":\"' + icon22 + '\",' + '\"duration\": ' + duration22 + ',' + '\"chnumber\": ' + chnumber22 + ', \"start\":' + '\"' + date_start_split22 + '\",\"stop\":\"' + date_end_split22 + '\",\"date_start\":\"' + date_start22 + '\",\"date_stop\":\"' + date_end22 + '\"},'\n\t\t\t\t+ name23 + ':{' + '\"title\":' + title23 + ',' + '\"description\":' + description23 + ',' + '\"icon\":\"' + icon23 + '\",' + '\"duration\": ' + duration23 + ',' + '\"chnumber\": ' + chnumber23 + ', \"start\":' + '\"' + date_start_split23 + '\",\"stop\":\"' + date_end_split23 + '\",\"date_start\":\"' + date_start23 + '\",\"date_stop\":\"' + date_end23 + '\"},'\n\t\t\t\t+ name24 + ':{' + '\"title\":' + title24 + ',' + '\"description\":' + description24 + ',' + '\"icon\":\"' + icon24 + '\",' + '\"duration\": ' + duration24 + ',' + '\"chnumber\": ' + chnumber24 + ', \"start\":' + '\"' + date_start_split24 + '\",\"stop\":\"' + date_end_split24 + '\",\"date_start\":\"' + date_start24 + '\",\"date_stop\":\"' + date_end24 + '\"},'\n\t\t\t\t+ name25 + ':{' + '\"title\":' + title25 + ',' + '\"description\":' + description25 + ',' + '\"icon\":\"' + icon25 + '\",' + '\"duration\": ' + duration25 + ',' + '\"chnumber\": ' + chnumber25 + ', \"start\":' + '\"' + date_start_split25 + '\",\"stop\":\"' + date_end_split25 + '\",\"date_start\":\"' + date_start25 + '\",\"date_stop\":\"' + date_end25 + '\"},'\n\t\t\t\t+ name26 + ':{' + '\"title\":' + title26 + ',' + '\"description\":' + description26 + ',' + '\"icon\":\"' + icon26 + '\",' + '\"duration\": ' + duration26 + ',' + '\"chnumber\": ' + chnumber26 + ', \"start\":' + '\"' + date_start_split26 + '\",\"stop\":\"' + date_end_split26 + '\",\"date_start\":\"' + date_start26 + '\",\"date_stop\":\"' + date_end26 + '\"},'\n\t\t\t\t+ name27 + ':{' + '\"title\":' + title27 + ',' + '\"description\":' + description27 + ',' + '\"icon\":\"' + icon27 + '\",' + '\"duration\": ' + duration27 + ',' + '\"chnumber\": ' + chnumber27 + ', \"start\":' + '\"' + date_start_split27 + '\",\"stop\":\"' + date_end_split27 + '\",\"date_start\":\"' + date_start27 + '\",\"date_stop\":\"' + date_end27 + '\"},'\n\t\t\t\t+ name28 + ':{' + '\"title\":' + title28 + ',' + '\"description\":' + description28 + ',' + '\"icon\":\"' + icon28 + '\",' + '\"duration\": ' + duration28 + ',' + '\"chnumber\": ' + chnumber28 + ', \"start\":' + '\"' + date_start_split28 + '\",\"stop\":\"' + date_end_split28 + '\",\"date_start\":\"' + date_start28 + '\",\"date_stop\":\"' + date_end28 + '\"},'\n\t\t\t\t+ name29 + ':{' + '\"title\":' + title29 + ',' + '\"description\":' + description29 + ',' + '\"icon\":\"' + icon29 + '\",' + '\"duration\": ' + duration29 + ',' + '\"chnumber\": ' + chnumber29 + ', \"start\":' + '\"' + date_start_split29 + '\",\"stop\":\"' + date_end_split29 + '\",\"date_start\":\"' + date_start29 + '\",\"date_stop\":\"' + date_end29 + '\"},'\n\t\t\t\t+ name30 + ':{' + '\"title\":' + title30 + ',' + '\"description\":' + description30 + ',' + '\"icon\":\"' + icon30 + '\",' + '\"duration\": ' + duration30 + ',' + '\"chnumber\": ' + chnumber30 + ', \"start\":' + '\"' + date_start_split30 + '\",\"stop\":\"' + date_end_split30 + '\",\"date_start\":\"' + date_start30 + '\",\"date_stop\":\"' + date_end30 + '\"},'\n\t\t\t\t+ name31 + ':{' + '\"title\":' + title31 + ',' + '\"description\":' + description31 + ',' + '\"icon\":\"' + icon31 + '\",' + '\"duration\": ' + duration31 + ',' + '\"chnumber\": ' + chnumber31 + ', \"start\":' + '\"' + date_start_split31 + '\",\"stop\":\"' + date_end_split31 + '\",\"date_start\":\"' + date_start31 + '\",\"date_stop\":\"' + date_end31 + '\"},'\n\t\t\t\t+ name32 + ':{' + '\"title\":' + title32 + ',' + '\"description\":' + description32 + ',' + '\"icon\":\"' + icon32 + '\",' + '\"duration\": ' + duration32 + ',' + '\"chnumber\": ' + chnumber32 + ', \"start\":' + '\"' + date_start_split32 + '\",\"stop\":\"' + date_end_split32 + '\",\"date_start\":\"' + date_start32 + '\",\"date_stop\":\"' + date_end32 + '\"},'\n\t\t\t\t+ name33 + ':{' + '\"title\":' + title33 + ',' + '\"description\":' + description33 + ',' + '\"icon\":\"' + icon33 + '\",' + '\"duration\": ' + duration33 + ',' + '\"chnumber\": ' + chnumber33 + ', \"start\":' + '\"' + date_start_split33 + '\",\"stop\":\"' + date_end_split33 + '\",\"date_start\":\"' + date_start33 + '\",\"date_stop\":\"' + date_end33 + '\"},'\n\t\t\t\t+ name34 + ':{' + '\"title\":' + title34 + ',' + '\"description\":' + description34 + ',' + '\"icon\":\"' + icon34 + '\",' + '\"duration\": ' + duration34 + ',' + '\"chnumber\": ' + chnumber34 + ', \"start\":' + '\"' + date_start_split34 + '\",\"stop\":\"' + date_end_split34 + '\",\"date_start\":\"' + date_start34 + '\",\"date_stop\":\"' + date_end34 + '\"},'\n\t\t\t\t+ name35 + ':{' + '\"title\":' + title35 + ',' + '\"description\":' + description35 + ',' + '\"icon\":\"' + icon35 + '\",' + '\"duration\": ' + duration35 + ',' + '\"chnumber\": ' + chnumber35 + ', \"start\":' + '\"' + date_start_split35 + '\",\"stop\":\"' + date_end_split35 + '\",\"date_start\":\"' + date_start35 + '\",\"date_stop\":\"' + date_end35 + '\"},'\n\t\t\t\t+ name36 + ':{' + '\"title\":' + title36 + ',' + '\"description\":' + description36 + ',' + '\"icon\":\"' + icon36 + '\",' + '\"duration\": ' + duration36 + ',' + '\"chnumber\": ' + chnumber36 + ', \"start\":' + '\"' + date_start_split36 + '\",\"stop\":\"' + date_end_split36 + '\",\"date_start\":\"' + date_start36 + '\",\"date_stop\":\"' + date_end36 + '\"},'\n\t\t\t\t+ name37 + ':{' + '\"title\":' + title37 + ',' + '\"description\":' + description37 + ',' + '\"icon\":\"' + icon37 + '\",' + '\"duration\": ' + duration37 + ',' + '\"chnumber\": ' + chnumber37 + ', \"start\":' + '\"' + date_start_split37 + '\",\"stop\":\"' + date_end_split37 + '\",\"date_start\":\"' + date_start37 + '\",\"date_stop\":\"' + date_end37 + '\"},'\n\t\t\t\t+ name38 + ':{' + '\"title\":' + title38 + ',' + '\"description\":' + description38 + ',' + '\"icon\":\"' + icon38 + '\",' + '\"duration\": ' + duration38 + ',' + '\"chnumber\": ' + chnumber38 + ', \"start\":' + '\"' + date_start_split38 + '\",\"stop\":\"' + date_end_split38 + '\",\"date_start\":\"' + date_start38 + '\",\"date_stop\":\"' + date_end38 + '\"},'\n\t\t\t\t+ name39 + ':{' + '\"title\":' + title39 + ',' + '\"description\":' + description39 + ',' + '\"icon\":\"' + icon39 + '\",' + '\"duration\": ' + duration39 + ',' + '\"chnumber\": ' + chnumber39 + ', \"start\":' + '\"' + date_start_split39 + '\",\"stop\":\"' + date_end_split39 + '\",\"date_start\":\"' + date_start39 + '\",\"date_stop\":\"' + date_end39 + '\"},'\n\t\t\t\t+ name40 + ':{' + '\"title\":' + title40 + ',' + '\"description\":' + description40 + ',' + '\"icon\":\"' + icon40 + '\",' + '\"duration\": ' + duration40 + ',' + '\"chnumber\": ' + chnumber40 + ', \"start\":' + '\"' + date_start_split40 + '\",\"stop\":\"' + date_end_split40 + '\",\"date_start\":\"' + date_start40 + '\",\"date_stop\":\"' + date_end40 + '\"},'\n\t\t\t\t+ name41 + ':{' + '\"title\":' + title41 + ',' + '\"description\":' + description41 + ',' + '\"icon\":\"' + icon41 + '\",' + '\"duration\": ' + duration41 + ',' + '\"chnumber\": ' + chnumber41 + ', \"start\":' + '\"' + date_start_split41 + '\",\"stop\":\"' + date_end_split41 + '\",\"date_start\":\"' + date_start41 + '\",\"date_stop\":\"' + date_end41 + '\"},'\n\t\t\t\t+ name42 + ':{' + '\"title\":' + title42 + ',' + '\"description\":' + description42 + ',' + '\"icon\":\"' + icon42 + '\",' + '\"duration\": ' + duration42 + ',' + '\"chnumber\": ' + chnumber42 + ', \"start\":' + '\"' + date_start_split42 + '\",\"stop\":\"' + date_end_split42 + '\",\"date_start\":\"' + date_start42 + '\",\"date_stop\":\"' + date_end42 + '\"},'\n\t\t\t\t+ name43 + ':{' + '\"title\":' + title43 + ',' + '\"description\":' + description43 + ',' + '\"icon\":\"' + icon43 + '\",' + '\"duration\": ' + duration43 + ',' + '\"chnumber\": ' + chnumber43 + ', \"start\":' + '\"' + date_start_split43 + '\",\"stop\":\"' + date_end_split43 + '\",\"date_start\":\"' + date_start43 + '\",\"date_stop\":\"' + date_end43 + '\"},'\n\t\t\t\t+ name44 + ':{' + '\"title\":' + title44 + ',' + '\"description\":' + description44 + ',' + '\"icon\":\"' + icon44 + '\",' + '\"duration\": ' + duration44 + ',' + '\"chnumber\": ' + chnumber44 + ', \"start\":' + '\"' + date_start_split44 + '\",\"stop\":\"' + date_end_split44 + '\",\"date_start\":\"' + date_start44 + '\",\"date_stop\":\"' + date_end44 + '\"},'\n\t\t\t\t+ name45 + ':{' + '\"title\":' + title45 + ',' + '\"description\":' + description45 + ',' + '\"icon\":\"' + icon45 + '\",' + '\"duration\": ' + duration45 + ',' + '\"chnumber\": ' + chnumber45 + ', \"start\":' + '\"' + date_start_split45 + '\",\"stop\":\"' + date_end_split45 + '\",\"date_start\":\"' + date_start45 + '\",\"date_stop\":\"' + date_end45 + '\"},'\n\t\t\t\t+ name46 + ':{' + '\"title\":' + title46 + ',' + '\"description\":' + description46 + ',' + '\"icon\":\"' + icon46 + '\",' + '\"duration\": ' + duration46 + ',' + '\"chnumber\": ' + chnumber46 + ', \"start\":' + '\"' + date_start_split46 + '\",\"stop\":\"' + date_end_split46 + '\",\"date_start\":\"' + date_start46 + '\",\"date_stop\":\"' + date_end46 + '\"},'\n\t\t\t\t+ name47 + ':{' + '\"title\":' + title47 + ',' + '\"description\":' + description47 + ',' + '\"icon\":\"' + icon47 + '\",' + '\"duration\": ' + duration47 + ',' + '\"chnumber\": ' + chnumber47 + ', \"start\":' + '\"' + date_start_split47 + '\",\"stop\":\"' + date_end_split47 + '\",\"date_start\":\"' + date_start47 + '\",\"date_stop\":\"' + date_end47 + '\"},'\n\t\t\t\t+ name48 + ':{' + '\"title\":' + title48 + ',' + '\"description\":' + description48 + ',' + '\"icon\":\"' + icon48 + '\",' + '\"duration\": ' + duration48 + ',' + '\"chnumber\": ' + chnumber48 + ', \"start\":' + '\"' + date_start_split48 + '\",\"stop\":\"' + date_end_split48 + '\",\"date_start\":\"' + date_start48 + '\",\"date_stop\":\"' + date_end48 + '\"},'\n\t\t\t\t+ name49 + ':{' + '\"title\":' + title49 + ',' + '\"description\":' + description49 + ',' + '\"icon\":\"' + icon49 + '\",' + '\"duration\": ' + duration49 + ',' + '\"chnumber\": ' + chnumber49 + ', \"start\":' + '\"' + date_start_split49 + '\",\"stop\":\"' + date_end_split49 + '\",\"date_start\":\"' + date_start49 + '\",\"date_stop\":\"' + date_end49 + '\"},'\n\t\t\t\t+ name50 + ':{' + '\"title\":' + title50 + ',' + '\"description\":' + description50 + ',' + '\"icon\":\"' + icon50 + '\",' + '\"duration\": ' + duration50 + ',' + '\"chnumber\": ' + chnumber50 + ', \"start\":' + '\"' + date_start_split50 + '\",\"stop\":\"' + date_end_split50 + '\",\"date_start\":\"' + date_start50 + '\",\"date_stop\":\"' + date_end50 + '\"},'\n\t\t\t\t+ name51 + ':{' + '\"title\":' + title51 + ',' + '\"description\":' + description51 + ',' + '\"icon\":\"' + icon51 + '\",' + '\"duration\": ' + duration51 + ',' + '\"chnumber\": ' + chnumber51 + ', \"start\":' + '\"' + date_start_split51 + '\",\"stop\":\"' + date_end_split51 + '\",\"date_start\":\"' + date_start51 + '\",\"date_stop\":\"' + date_end51 + '\"},'\n\t\t\t\t+ name52 + ':{' + '\"title\":' + title52 + ',' + '\"description\":' + description52 + ',' + '\"icon\":\"' + icon52 + '\",' + '\"duration\": ' + duration52 + ',' + '\"chnumber\": ' + chnumber52 + ', \"start\":' + '\"' + date_start_split52 + '\",\"stop\":\"' + date_end_split52 + '\",\"date_start\":\"' + date_start52 + '\",\"date_stop\":\"' + date_end52 + '\"},'\n\t\t\t\t+ name53 + ':{' + '\"title\":' + title53 + ',' + '\"description\":' + description53 + ',' + '\"icon\":\"' + icon53 + '\",' + '\"duration\": ' + duration53 + ',' + '\"chnumber\": ' + chnumber53 + ', \"start\":' + '\"' + date_start_split53 + '\",\"stop\":\"' + date_end_split53 + '\",\"date_start\":\"' + date_start53 + '\",\"date_stop\":\"' + date_end53 + '\"},'\n\t\t\t\t+ name54 + ':{' + '\"title\":' + title54 + ',' + '\"description\":' + description54 + ',' + '\"icon\":\"' + icon54 + '\",' + '\"duration\": ' + duration54 + ',' + '\"chnumber\": ' + chnumber54 + ', \"start\":' + '\"' + date_start_split54 + '\",\"stop\":\"' + date_end_split54 + '\",\"date_start\":\"' + date_start54 + '\",\"date_stop\":\"' + date_end54 + '\"},'\n\t\t\t\t+ name55 + ':{' + '\"title\":' + title55 + ',' + '\"description\":' + description55 + ',' + '\"icon\":\"' + icon55 + '\",' + '\"duration\": ' + duration55 + ',' + '\"chnumber\": ' + chnumber55 + ', \"start\":' + '\"' + date_start_split55 + '\",\"stop\":\"' + date_end_split55 + '\",\"date_start\":\"' + date_start55 + '\",\"date_stop\":\"' + date_end55 + '\"},'\n\t\t\t\t+ name56 + ':{' + '\"title\":' + title56 + ',' + '\"description\":' + description56 + ',' + '\"icon\":\"' + icon56 + '\",' + '\"duration\": ' + duration56 + ',' + '\"chnumber\": ' + chnumber56 + ', \"start\":' + '\"' + date_start_split56 + '\",\"stop\":\"' + date_end_split56 + '\",\"date_start\":\"' + date_start56 + '\",\"date_stop\":\"' + date_end56 + '\"},'\n\t\t\t\t+ name57 + ':{' + '\"title\":' + title57 + ',' + '\"description\":' + description57 + ',' + '\"icon\":\"' + icon57 + '\",' + '\"duration\": ' + duration57 + ',' + '\"chnumber\": ' + chnumber57 + ', \"start\":' + '\"' + date_start_split57 + '\",\"stop\":\"' + date_end_split57 + '\",\"date_start\":\"' + date_start57 + '\",\"date_stop\":\"' + date_end57 + '\"},'\n\t\t\t\t+ name58 + ':{' + '\"title\":' + title58 + ',' + '\"description\":' + description58 + ',' + '\"icon\":\"' + icon58 + '\",' + '\"duration\": ' + duration58 + ',' + '\"chnumber\": ' + chnumber58 + ', \"start\":' + '\"' + date_start_split58 + '\",\"stop\":\"' + date_end_split58 + '\",\"date_start\":\"' + date_start58 + '\",\"date_stop\":\"' + date_end58 + '\"},'\n\t\t\t\t+ name59 + ':{' + '\"title\":' + title59 + ',' + '\"description\":' + description59 + ',' + '\"icon\":\"' + icon59 + '\",' + '\"duration\": ' + duration59 + ',' + '\"chnumber\": ' + chnumber59 + ', \"start\":' + '\"' + date_start_split59 + '\",\"stop\":\"' + date_end_split59 + '\",\"date_start\":\"' + date_start59 + '\",\"date_stop\":\"' + date_end59 + '\"},'\n\t\t\t\t+ name60 + ':{' + '\"title\":' + title60 + ',' + '\"description\":' + description60 + ',' + '\"icon\":\"' + icon60 + '\",' + '\"duration\": ' + duration60 + ',' + '\"chnumber\": ' + chnumber60 + ', \"start\":' + '\"' + date_start_split60 + '\",\"stop\":\"' + date_end_split60 + '\",\"date_start\":\"' + date_start60 + '\",\"date_stop\":\"' + date_end60 + '\"}}'\n\t\t\t\t\n node.send(msg);\n\nreturn;",
"outputs": 1,
"timeout": "",
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 2660,
"y": 620,
"wires": [["4f16610774db2f80"]]
},
{
"id": "24f85f51b9756ef7",
"type": "http request",
"z": "973dcb133a1fdc46",
"name": "",
"method": "GET",
"ret": "obj",
"paytoqs": "ignore",
"url": "",
"tls": "",
"persist": false,
"proxy": "",
"insecureHTTPParser": false,
"authType": "",
"senderr": false,
"headers": [],
"x": 2350,
"y": 620,
"wires": [["9043877799111f76"]]
},
{
"id": "71bd99d658050768",
"type": "inject",
"z": "973dcb133a1fdc46",
"name": "",
"props": [{ "p": "timestamp", "v": "", "vt": "date" }],
"repeat": "",
"crontab": "",
"once": true,
"onceDelay": "15",
"topic": "",
"x": 2090,
"y": 660,
"wires": [["4d08e2d41ea3a1df"]]
},
{
"id": "4d08e2d41ea3a1df",
"type": "function",
"z": "973dcb133a1fdc46",
"name": "function primetime",
"func": "var ora = Date.now();\nvar date = new Date(ora).toLocaleDateString(\"it-IT\").replace(\"/\", \"-\").replace(\"/\", \"-\")\nvar time = new Date(ora).toLocaleTimeString(\"it-IT\")\nvar currentDate = new Date();\nvar tomorrow = currentDate.setDate(currentDate.getDate() + 1 );\nvar domani = new Date(tomorrow).toLocaleDateString(\"it-IT\").replace(\"/\", \"-\").replace(\"/\", \"-\")\n\nmsg.url = \"https://services.tivulaguida.it/api/epg/programming/events/primetime/\" + date\n\nvar lastchecked = msg.timestamp\nvar date2 = new Date(lastchecked).toLocaleDateString(\"it-IT\")\nvar time2 = new Date(lastchecked).toLocaleTimeString(\"it-IT\").slice(0, -3)\nvar finaldate = time2 + \" \" + date2\nmsg.timestamp = finaldate\n\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 2350,
"y": 700,
"wires": [["24f85f51b9756ef7"]]
},
{
"id": "4f16610774db2f80",
"type": "json",
"z": "973dcb133a1fdc46",
"name": "",
"property": "final",
"action": "",
"pretty": false,
"x": 2970,
"y": 780,
"wires": [
[
"e9d0b5e0d4cd1cb1",
"29dc799a78fe5f79",
"2d8e4e8d53c0a82f",
"2adf4c355447739d",
"d400fe384973b6e3",
"8d5bfbcf34883573",
"d8d6a0e9f5785728",
"e0ecd16c1894f2b3",
"0dc674dbf6416548",
"521602f11e979ca8",
"968ffa69dd5f2208",
"7ecf2eab81274f1e",
"35f751f269c62353",
"a11ee2b91a01b4aa",
"c1c2c156d17a6b3c",
"75d6fb13bb0d14f8",
"f693c0033a8ec9fc",
"6580fc84b9c8c48b",
"dfdf91288a59f779",
"06fa49590b90577a",
"81570404a65ebbae",
"797cc35b5981b893",
"624bf80527904ee2"
]
]
},
{
"id": "4df470c7a3b5e9ef",
"type": "ha-button",
"z": "973dcb133a1fdc46",
"name": "Update Stasera in TV",
"version": 0,
"debugenabled": false,
"outputs": 1,
"entityConfig": "3b19b6e7d814c218",
"outputProperties": [{ "property": "timestamp", "propertyType": "msg", "value": "", "valueType": "date" }],
"x": 2120,
"y": 720,
"wires": [["4d08e2d41ea3a1df"]]
},
{
"id": "8cb237e74d41f20b",
"type": "function",
"z": "973dcb133a1fdc46",
"name": "catch array name channel",
"func": "\n var name0 = JSON.stringify(msg.payload.events[0].channel.name);\n var title0 = JSON.stringify(msg.payload.events[0].program.title);\n var description0 = JSON.stringify(msg.payload.events[0].program.description);\n var date_start0 = msg.payload.events[0].date_start.split(\" \");\n var date_start_split0 = date_start0[1];\n var date_end0 = msg.payload.events[0].date_end.split(\" \");\n var date_end_split0 = date_end0[1];\n var duration0 = msg.payload.events[0].duration\n var icon0 = msg.payload.events[0].channel.icon\n\tvar chnumber0 = msg.payload.events[0].channel.channel_sat\n\tvar date_start0 = msg.payload.events[0].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start0 = date_start0[2] + '-' + date_start0[1] + '-' + date_start0[0] + ' ' + date_start0[3] + ':00.000000+02:00';\n var date_end0 = msg.payload.events[0].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end0 = date_end0[2] + '-' + date_end0[1] + '-' + date_end0[0] + ' ' + date_end0[3] + ':00.000000+02:00';\n\t\n var name1 = JSON.stringify(msg.payload.events[1].channel.name);\n var title1 = JSON.stringify(msg.payload.events[1].program.title);\n var description1 = JSON.stringify(msg.payload.events[1].program.description);\n var date_start1 = msg.payload.events[1].date_start.split(\" \");\n var date_start_split1 = date_start1[1];\n var date_end1 = msg.payload.events[1].date_end.split(\" \");\n var date_end_split1 = date_end1[1];\n var duration1 = msg.payload.events[1].duration\n var icon1 = msg.payload.events[1].channel.icon\n var chnumber1 = msg.payload.events[1].channel.channel_sat\n\tvar date_start1 = msg.payload.events[1].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start1 = date_start1[2] + '-' + date_start1[1] + '-' + date_start1[0] + ' ' + date_start1[3] + ':00.000000+02:00';\n var date_end1 = msg.payload.events[1].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end1 = date_end1[2] + '-' + date_end1[1] + '-' + date_end1[0] + ' ' + date_end1[3] + ':00.000000+02:00';\n\t\n var name2 = JSON.stringify(msg.payload.events[2].channel.name);\n var title2 = JSON.stringify(msg.payload.events[2].program.title);\n var description2 = JSON.stringify(msg.payload.events[2].program.description);\n var date_start2 = msg.payload.events[2].date_start.split(\" \");\n var date_start_split2 = date_start2[1];\n var date_end2 = msg.payload.events[2].date_end.split(\" \");\n var date_end_split2 = date_end2[1];\n var duration2 = msg.payload.events[2].duration\n var icon2 = msg.payload.events[2].channel.icon\n\tvar chnumber2 = msg.payload.events[2].channel.channel_sat\n\tvar date_start2 = msg.payload.events[2].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start2 = date_start2[2] + '-' + date_start2[1] + '-' + date_start2[0] + ' ' + date_start2[3] + ':00.000000+02:00';\n var date_end2 = msg.payload.events[2].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end2 = date_end2[2] + '-' + date_end2[1] + '-' + date_end2[0] + ' ' + date_end2[3] + ':00.000000+02:00';\n\t\n\tvar name3 = JSON.stringify(msg.payload.events[3].channel.name);\n var title3 = JSON.stringify(msg.payload.events[3].program.title);\n var description3 = JSON.stringify(msg.payload.events[3].program.description);\n var date_start3 = msg.payload.events[3].date_start.split(\" \");\n var date_start_split3 = date_start3[1];\n var date_end3 = msg.payload.events[3].date_end.split(\" \");\n var date_end_split3 = date_end3[1];\n var duration3 = msg.payload.events[3].duration\n var icon3 = msg.payload.events[3].channel.icon\n\tvar chnumber3 = msg.payload.events[3].channel.channel_sat\n\tvar date_start3 = msg.payload.events[3].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start3 = date_start3[2] + '-' + date_start3[1] + '-' + date_start3[0] + ' ' + date_start3[3] + ':00.000000+02:00';\n var date_end3 = msg.payload.events[3].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end3 = date_end3[2] + '-' + date_end3[1] + '-' + date_end3[0] + ' ' + date_end3[3] + ':00.000000+02:00';\n\t\n\tvar name4 = JSON.stringify(msg.payload.events[4].channel.name);\n var title4 = JSON.stringify(msg.payload.events[4].program.title);\n var description4 = JSON.stringify(msg.payload.events[4].program.description);\n var date_start4 = msg.payload.events[4].date_start.split(\" \");\n var date_start_split4 = date_start4[1];\n var date_end4 = msg.payload.events[4].date_end.split(\" \");\n var date_end_split4 = date_end4[1];\n var duration4 = msg.payload.events[4].duration\n var icon4 = msg.payload.events[4].channel.icon\n\tvar chnumber4 = msg.payload.events[4].channel.channel_sat\n\tvar date_start4 = msg.payload.events[4].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start4 = date_start4[2] + '-' + date_start4[1] + '-' + date_start4[0] + ' ' + date_start4[3] + ':00.000000+02:00';\n var date_end4 = msg.payload.events[4].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end4 = date_end4[2] + '-' + date_end4[1] + '-' + date_end4[0] + ' ' + date_end4[3] + ':00.000000+02:00';\n\t\n\tvar name5 = JSON.stringify(msg.payload.events[5].channel.name);\n var title5 = JSON.stringify(msg.payload.events[5].program.title);\n var description5 = JSON.stringify(msg.payload.events[5].program.description);\n var date_start5 = msg.payload.events[5].date_start.split(\" \");\n var date_start_split5 = date_start5[1];\n var date_end5 = msg.payload.events[5].date_end.split(\" \");\n var date_end_split5 = date_end5[1];\n var duration5 = msg.payload.events[5].duration\n var icon5 = msg.payload.events[5].channel.icon\n\tvar chnumber5 = msg.payload.events[5].channel.channel_sat\n\tvar date_start5 = msg.payload.events[5].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start5 = date_start5[2] + '-' + date_start5[1] + '-' + date_start5[0] + ' ' + date_start5[3] + ':00.000000+02:00';\n var date_end5 = msg.payload.events[5].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end5 = date_end5[2] + '-' + date_end5[1] + '-' + date_end5[0] + ' ' + date_end5[3] + ':00.000000+02:00';\n\t\n\tvar name6 = JSON.stringify(msg.payload.events[6].channel.name);\n var title6 = JSON.stringify(msg.payload.events[6].program.title);\n var description6 = JSON.stringify(msg.payload.events[6].program.description);\n var date_start6 = msg.payload.events[6].date_start.split(\" \");\n var date_start_split6 = date_start6[1];\n var date_end6 = msg.payload.events[6].date_end.split(\" \");\n var date_end_split6 = date_end6[1];\n var duration6 = msg.payload.events[6].duration\n var icon6 = msg.payload.events[6].channel.icon\n\tvar chnumber6 = msg.payload.events[6].channel.channel_sat\n\tvar date_start6 = msg.payload.events[6].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start6 = date_start6[2] + '-' + date_start6[1] + '-' + date_start6[0] + ' ' + date_start6[3] + ':00.000000+02:00';\n var date_end6 = msg.payload.events[6].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end6 = date_end6[2] + '-' + date_end6[1] + '-' + date_end6[0] + ' ' + date_end6[3] + ':00.000000+02:00';\n\t\n\tvar name7 = JSON.stringify(msg.payload.events[7].channel.name);\n var title7 = JSON.stringify(msg.payload.events[7].program.title);\n var description7 = JSON.stringify(msg.payload.events[7].program.description);\n var date_start7 = msg.payload.events[7].date_start.split(\" \");\n var date_start_split7 = date_start7[1];\n var date_end7 = msg.payload.events[7].date_end.split(\" \");\n var date_end_split7 = date_end7[1];\n var duration7 = msg.payload.events[7].duration\n var icon7 = msg.payload.events[7].channel.icon\n\tvar chnumber7 = msg.payload.events[7].channel.channel_sat\n\tvar date_start7 = msg.payload.events[7].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start7 = date_start7[2] + '-' + date_start7[1] + '-' + date_start7[0] + ' ' + date_start7[3] + ':00.000000+02:00';\n var date_end7 = msg.payload.events[7].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end7 = date_end7[2] + '-' + date_end7[1] + '-' + date_end7[0] + ' ' + date_end7[3] + ':00.000000+02:00';\n\t\n\tvar name8 = JSON.stringify(msg.payload.events[8].channel.name);\n var title8 = JSON.stringify(msg.payload.events[8].program.title);\n var description8 = JSON.stringify(msg.payload.events[8].program.description);\n var date_start8 = msg.payload.events[8].date_start.split(\" \");\n var date_start_split8 = date_start8[1];\n var date_end8 = msg.payload.events[8].date_end.split(\" \");\n var date_end_split8 = date_end8[1];\n var duration8 = msg.payload.events[8].duration\n var icon8 = msg.payload.events[8].channel.icon\n\tvar chnumber8 = msg.payload.events[8].channel.channel_sat\n\tvar date_start8 = msg.payload.events[8].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start8 = date_start8[2] + '-' + date_start8[1] + '-' + date_start8[0] + ' ' + date_start8[3] + ':00.000000+02:00';\n var date_end8 = msg.payload.events[8].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end8 = date_end8[2] + '-' + date_end8[1] + '-' + date_end8[0] + ' ' + date_end8[3] + ':00.000000+02:00';\n\t\n\tvar name9 = JSON.stringify(msg.payload.events[9].channel.name);\n var title9 = JSON.stringify(msg.payload.events[9].program.title);\n var description9 = JSON.stringify(msg.payload.events[9].program.description);\n var date_start9 = msg.payload.events[9].date_start.split(\" \");\n var date_start_split9 = date_start9[1];\n var date_end9 = msg.payload.events[9].date_end.split(\" \");\n var date_end_split9 = date_end9[1];\n var duration9 = msg.payload.events[9].duration\n var icon9 = msg.payload.events[9].channel.icon\n\tvar chnumber9 = msg.payload.events[9].channel.channel_sat\n\tvar date_start9 = msg.payload.events[9].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start9 = date_start9[2] + '-' + date_start9[1] + '-' + date_start9[0] + ' ' + date_start9[3] + ':00.000000+02:00';\n var date_end9 = msg.payload.events[9].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end9 = date_end9[2] + '-' + date_end9[1] + '-' + date_end9[0] + ' ' + date_end9[3] + ':00.000000+02:00';\n\t\n\tvar name10 = JSON.stringify(msg.payload.events[10].channel.name);\n var title10 = JSON.stringify(msg.payload.events[10].program.title);\n var description10 = JSON.stringify(msg.payload.events[10].program.description);\n var date_start10 = msg.payload.events[10].date_start.split(\" \");\n var date_start_split10 = date_start10[1];\n var date_end10 = msg.payload.events[10].date_end.split(\" \");\n var date_end_split10 = date_end10[1];\n var duration10 = msg.payload.events[10].duration\n var icon10 = msg.payload.events[10].channel.icon\n\tvar chnumber10 = msg.payload.events[10].channel.channel_sat\n\tvar date_start10 = msg.payload.events[10].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start10 = date_start10[2] + '-' + date_start10[1] + '-' + date_start10[0] + ' ' + date_start10[3] + ':00.000000+02:00';\n var date_end10 = msg.payload.events[10].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end10 = date_end10[2] + '-' + date_end10[1] + '-' + date_end10[0] + ' ' + date_end10[3] + ':00.000000+02:00';\n\t\n\tvar name11 = JSON.stringify(msg.payload.events[11].channel.name);\n var title11 = JSON.stringify(msg.payload.events[11].program.title);\n var description11 = JSON.stringify(msg.payload.events[11].program.description);\n var date_start11 = msg.payload.events[11].date_start.split(\" \");\n var date_start_split11 = date_start11[1];\n var date_end11 = msg.payload.events[11].date_end.split(\" \");\n var date_end_split11 = date_end11[1];\n var duration11 = msg.payload.events[11].duration\n var icon11 = msg.payload.events[11].channel.icon\n\tvar chnumber11 = msg.payload.events[11].channel.channel_sat\n\tvar date_start11 = msg.payload.events[11].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start11 = date_start11[2] + '-' + date_start11[1] + '-' + date_start11[0] + ' ' + date_start11[3] + ':00.000000+02:00';\n var date_end11 = msg.payload.events[11].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end11 = date_end11[2] + '-' + date_end11[1] + '-' + date_end11[0] + ' ' + date_end11[3] + ':00.000000+02:00';\n\t\n\tvar name12 = JSON.stringify(msg.payload.events[12].channel.name);\n var title12 = JSON.stringify(msg.payload.events[12].program.title);\n var description12 = JSON.stringify(msg.payload.events[12].program.description);\n var date_start12 = msg.payload.events[12].date_start.split(\" \");\n var date_start_split12 = date_start12[1];\n var date_end12 = msg.payload.events[12].date_end.split(\" \");\n var date_end_split12 = date_end12[1];\n var duration12 = msg.payload.events[12].duration\n var icon12 = msg.payload.events[12].channel.icon\n\tvar chnumber12 = msg.payload.events[12].channel.channel_sat\n\tvar date_start12 = msg.payload.events[12].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start12 = date_start12[2] + '-' + date_start12[1] + '-' + date_start12[0] + ' ' + date_start12[3] + ':00.000000+02:00';\n var date_end12 = msg.payload.events[12].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end12 = date_end12[2] + '-' + date_end12[1] + '-' + date_end12[0] + ' ' + date_end12[3] + ':00.000000+02:00';\n\t\n\tvar name13 = JSON.stringify(msg.payload.events[13].channel.name);\n var title13 = JSON.stringify(msg.payload.events[13].program.title);\n var description13 = JSON.stringify(msg.payload.events[13].program.description);\n var date_start13 = msg.payload.events[13].date_start.split(\" \");\n var date_start_split13 = date_start13[1];\n var date_end13 = msg.payload.events[13].date_end.split(\" \");\n var date_end_split13 = date_end13[1];\n var duration13 = msg.payload.events[13].duration\n var icon13 = msg.payload.events[13].channel.icon\n\tvar chnumber13 = msg.payload.events[13].channel.channel_sat\n\tvar date_start13 = msg.payload.events[13].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start13 = date_start13[2] + '-' + date_start13[1] + '-' + date_start13[0] + ' ' + date_start13[3] + ':00.000000+02:00';\n var date_end13 = msg.payload.events[13].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end13 = date_end13[2] + '-' + date_end13[1] + '-' + date_end13[0] + ' ' + date_end13[3] + ':00.000000+02:00';\n\t\n\tvar name14 = JSON.stringify(msg.payload.events[14].channel.name);\n var title14 = JSON.stringify(msg.payload.events[14].program.title);\n var description14 = JSON.stringify(msg.payload.events[14].program.description);\n var date_start14 = msg.payload.events[14].date_start.split(\" \");\n var date_start_split14 = date_start14[1];\n var date_end14 = msg.payload.events[14].date_end.split(\" \");\n var date_end_split14 = date_end14[1];\n var duration14 = msg.payload.events[14].duration\n var icon14 = msg.payload.events[14].channel.icon\n\tvar chnumber14 = msg.payload.events[14].channel.channel_sat\n\tvar date_start14 = msg.payload.events[14].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start14 = date_start14[2] + '-' + date_start14[1] + '-' + date_start14[0] + ' ' + date_start14[3] + ':00.000000+02:00';\n var date_end14 = msg.payload.events[14].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end14 = date_end14[2] + '-' + date_end14[1] + '-' + date_end14[0] + ' ' + date_end14[3] + ':00.000000+02:00';\n\t\n\tvar name15 = JSON.stringify(msg.payload.events[15].channel.name);\n var title15 = JSON.stringify(msg.payload.events[15].program.title);\n var description15 = JSON.stringify(msg.payload.events[15].program.description);\n var date_start15 = msg.payload.events[15].date_start.split(\" \");\n var date_start_split15 = date_start15[1];\n var date_end15 = msg.payload.events[15].date_end.split(\" \");\n var date_end_split15 = date_end15[1];\n var duration15 = msg.payload.events[15].duration\n var icon15 = msg.payload.events[15].channel.icon\n\tvar chnumber15 = msg.payload.events[15].channel.channel_sat\n\tvar date_start15 = msg.payload.events[15].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start15 = date_start15[2] + '-' + date_start15[1] + '-' + date_start15[0] + ' ' + date_start15[3] + ':00.000000+02:00';\n var date_end15 = msg.payload.events[15].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end15 = date_end15[2] + '-' + date_end15[1] + '-' + date_end15[0] + ' ' + date_end15[3] + ':00.000000+02:00';\n\t\n\tvar name16 = JSON.stringify(msg.payload.events[16].channel.name);\n var title16 = JSON.stringify(msg.payload.events[16].program.title);\n var description16 = JSON.stringify(msg.payload.events[16].program.description);\n var date_start16 = msg.payload.events[16].date_start.split(\" \");\n var date_start_split16 = date_start16[1];\n var date_end16 = msg.payload.events[16].date_end.split(\" \");\n var date_end_split16 = date_end16[1];\n var duration16 = msg.payload.events[16].duration\n var icon16 = msg.payload.events[16].channel.icon\n\tvar chnumber16 = msg.payload.events[16].channel.channel_sat\n\tvar date_start16 = msg.payload.events[16].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start16 = date_start16[2] + '-' + date_start16[1] + '-' + date_start16[0] + ' ' + date_start16[3] + ':00.000000+02:00';\n var date_end16 = msg.payload.events[16].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end16 = date_end16[2] + '-' + date_end16[1] + '-' + date_end16[0] + ' ' + date_end16[3] + ':00.000000+02:00';\n\t\n\tvar name17 = JSON.stringify(msg.payload.events[17].channel.name);\n var title17 = JSON.stringify(msg.payload.events[17].program.title);\n var description17 = JSON.stringify(msg.payload.events[17].program.description);\n var date_start17 = msg.payload.events[17].date_start.split(\" \");\n var date_start_split17 = date_start17[1];\n var date_end17 = msg.payload.events[17].date_end.split(\" \");\n var date_end_split17 = date_end17[1];\n var duration17 = msg.payload.events[17].duration\n var icon17 = msg.payload.events[17].channel.icon\n\tvar chnumber17 = msg.payload.events[17].channel.channel_sat\n\tvar date_start17 = msg.payload.events[17].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start17 = date_start17[2] + '-' + date_start17[1] + '-' + date_start17[0] + ' ' + date_start17[3] + ':00.000000+02:00';\n var date_end17 = msg.payload.events[17].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end17 = date_end17[2] + '-' + date_end17[1] + '-' + date_end17[0] + ' ' + date_end17[3] + ':00.000000+02:00';\n\t\n\tvar name18 = JSON.stringify(msg.payload.events[18].channel.name);\n var title18 = JSON.stringify(msg.payload.events[18].program.title);\n var description18 = JSON.stringify(msg.payload.events[18].program.description);\n var date_start18 = msg.payload.events[18].date_start.split(\" \");\n var date_start_split18 = date_start18[1];\n var date_end18 = msg.payload.events[18].date_end.split(\" \");\n var date_end_split18 = date_end18[1];\n var duration18 = msg.payload.events[18].duration\n var icon18 = msg.payload.events[18].channel.icon\n\tvar chnumber18 = msg.payload.events[18].channel.channel_sat\n\tvar date_start18 = msg.payload.events[18].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start18 = date_start18[2] + '-' + date_start18[1] + '-' + date_start18[0] + ' ' + date_start18[3] + ':00.000000+02:00';\n var date_end18 = msg.payload.events[18].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end18 = date_end18[2] + '-' + date_end18[1] + '-' + date_end18[0] + ' ' + date_end18[3] + ':00.000000+02:00';\n\t\n\tvar name19 = JSON.stringify(msg.payload.events[19].channel.name);\n var title19 = JSON.stringify(msg.payload.events[19].program.title);\n var description19 = JSON.stringify(msg.payload.events[19].program.description);\n var date_start19 = msg.payload.events[19].date_start.split(\" \");\n var date_start_split19 = date_start19[1];\n var date_end19 = msg.payload.events[19].date_end.split(\" \");\n var date_end_split19 = date_end19[1];\n var duration19 = msg.payload.events[19].duration\n var icon19 = msg.payload.events[19].channel.icon\n\tvar chnumber19 = msg.payload.events[19].channel.channel_sat\n\tvar date_start19 = msg.payload.events[19].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start19 = date_start19[2] + '-' + date_start19[1] + '-' + date_start19[0] + ' ' + date_start19[3] + ':00.000000+02:00';\n var date_end19 = msg.payload.events[19].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end19 = date_end19[2] + '-' + date_end19[1] + '-' + date_end19[0] + ' ' + date_end19[3] + ':00.000000+02:00';\n\t\n var name20 = JSON.stringify(msg.payload.events[20].channel.name);\n var title20 = JSON.stringify(msg.payload.events[20].program.title);\n var description20 = JSON.stringify(msg.payload.events[20].program.description);\n var date_start20 = msg.payload.events[20].date_start.split(\" \");\n var date_start_split20 = date_start20[1];\n var date_end20 = msg.payload.events[20].date_end.split(\" \");\n var date_end_split20 = date_end20[1];\n var duration20 = msg.payload.events[20].duration\n var icon20 = msg.payload.events[20].channel.icon\n\tvar chnumber20 = msg.payload.events[20].channel.channel_sat\n\tvar date_start20 = msg.payload.events[20].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start20 = date_start20[2] + '-' + date_start20[1] + '-' + date_start20[0] + ' ' + date_start20[3] + ':00.000000+02:00';\n var date_end20 = msg.payload.events[20].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end20 = date_end20[2] + '-' + date_end20[1] + '-' + date_end20[0] + ' ' + date_end20[3] + ':00.000000+02:00';\n\t\n\tvar name21 = JSON.stringify(msg.payload.events[21].channel.name);\n var title21 = JSON.stringify(msg.payload.events[21].program.title);\n var description21 = JSON.stringify(msg.payload.events[21].program.description);\n var date_start21 = msg.payload.events[21].date_start.split(\" \");\n var date_start_split21 = date_start21[1];\n var date_end21 = msg.payload.events[21].date_end.split(\" \");\n var date_end_split21 = date_end21[1];\n var duration21 = msg.payload.events[21].duration\n var icon21 = msg.payload.events[21].channel.icon\n\tvar chnumber21 = msg.payload.events[21].channel.channel_sat\n\tvar date_start21 = msg.payload.events[21].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start21 = date_start21[2] + '-' + date_start21[1] + '-' + date_start21[0] + ' ' + date_start21[3] + ':00.000000+02:00';\n var date_end21 = msg.payload.events[21].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end21 = date_end21[2] + '-' + date_end21[1] + '-' + date_end21[0] + ' ' + date_end21[3] + ':00.000000+02:00';\n\t\n\tvar name22 = JSON.stringify(msg.payload.events[22].channel.name);\n var title22 = JSON.stringify(msg.payload.events[22].program.title);\n var description22 = JSON.stringify(msg.payload.events[22].program.description);\n var date_start22 = msg.payload.events[22].date_start.split(\" \");\n var date_start_split22 = date_start22[1];\n var date_end22 = msg.payload.events[22].date_end.split(\" \");\n var date_end_split22 = date_end22[1];\n var duration22 = msg.payload.events[22].duration\n var icon22 = msg.payload.events[22].channel.icon\n\tvar chnumber22 = msg.payload.events[22].channel.channel_sat\n\tvar date_start22 = msg.payload.events[22].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start22 = date_start22[2] + '-' + date_start22[1] + '-' + date_start22[0] + ' ' + date_start22[3] + ':00.000000+02:00';\n var date_end22 = msg.payload.events[22].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end22 = date_end22[2] + '-' + date_end22[1] + '-' + date_end22[0] + ' ' + date_end22[3] + ':00.000000+02:00';\n\t\n\tvar name23 = JSON.stringify(msg.payload.events[23].channel.name);\n var title23 = JSON.stringify(msg.payload.events[23].program.title);\n var description23 = JSON.stringify(msg.payload.events[23].program.description);\n var date_start23 = msg.payload.events[23].date_start.split(\" \");\n var date_start_split23 = date_start23[1];\n var date_end23 = msg.payload.events[23].date_end.split(\" \");\n var date_end_split23 = date_end23[1];\n var duration23 = msg.payload.events[23].duration\n var icon23 = msg.payload.events[23].channel.icon\n\tvar chnumber23 = msg.payload.events[23].channel.channel_sat\n\tvar date_start23 = msg.payload.events[23].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start23 = date_start23[2] + '-' + date_start23[1] + '-' + date_start23[0] + ' ' + date_start23[3] + ':00.000000+02:00';\n var date_end23 = msg.payload.events[23].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end23 = date_end23[2] + '-' + date_end23[1] + '-' + date_end23[0] + ' ' + date_end23[3] + ':00.000000+02:00';\n\t\n\tvar name24 = JSON.stringify(msg.payload.events[24].channel.name);\n var title24 = JSON.stringify(msg.payload.events[24].program.title);\n var description24 = JSON.stringify(msg.payload.events[24].program.description);\n var date_start24 = msg.payload.events[24].date_start.split(\" \");\n var date_start_split24 = date_start24[1];\n var date_end24 = msg.payload.events[24].date_end.split(\" \");\n var date_end_split24 = date_end24[1];\n var duration24 = msg.payload.events[24].duration\n var icon24 = msg.payload.events[24].channel.icon\n\tvar chnumber24 = msg.payload.events[24].channel.channel_sat\n\tvar date_start24 = msg.payload.events[24].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start24 = date_start24[2] + '-' + date_start24[1] + '-' + date_start24[0] + ' ' + date_start24[3] + ':00.000000+02:00';\n var date_end24 = msg.payload.events[24].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end24 = date_end24[2] + '-' + date_end24[1] + '-' + date_end24[0] + ' ' + date_end24[3] + ':00.000000+02:00';\n\t\n\tvar name25 = JSON.stringify(msg.payload.events[25].channel.name);\n var title25 = JSON.stringify(msg.payload.events[25].program.title);\n var description25 = JSON.stringify(msg.payload.events[25].program.description);\n var date_start25 = msg.payload.events[25].date_start.split(\" \");\n var date_start_split25 = date_start25[1];\n var date_end25 = msg.payload.events[25].date_end.split(\" \");\n var date_end_split25 = date_end25[1];\n var duration25 = msg.payload.events[25].duration\n var icon25 = msg.payload.events[25].channel.icon\n\tvar chnumber25 = msg.payload.events[25].channel.channel_sat\n\tvar date_start25 = msg.payload.events[25].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start25 = date_start25[2] + '-' + date_start25[1] + '-' + date_start25[0] + ' ' + date_start25[3] + ':00.000000+02:00';\n var date_end25 = msg.payload.events[25].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end25 = date_end25[2] + '-' + date_end25[1] + '-' + date_end25[0] + ' ' + date_end25[3] + ':00.000000+02:00';\n\t\n\tvar name26 = JSON.stringify(msg.payload.events[26].channel.name);\n var title26 = JSON.stringify(msg.payload.events[26].program.title);\n var description26 = JSON.stringify(msg.payload.events[26].program.description);\n var date_start26 = msg.payload.events[26].date_start.split(\" \");\n var date_start_split26 = date_start26[1];\n var date_end26 = msg.payload.events[26].date_end.split(\" \");\n var date_end_split26 = date_end26[1];\n var duration26 = msg.payload.events[26].duration\n var icon26 = msg.payload.events[26].channel.icon\n\tvar chnumber26 = msg.payload.events[26].channel.channel_sat\n\tvar date_start26 = msg.payload.events[26].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start26 = date_start26[2] + '-' + date_start26[1] + '-' + date_start26[0] + ' ' + date_start26[3] + ':00.000000+02:00';\n var date_end26 = msg.payload.events[26].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end26 = date_end26[2] + '-' + date_end26[1] + '-' + date_end26[0] + ' ' + date_end26[3] + ':00.000000+02:00';\n\t\n\tvar name27 = JSON.stringify(msg.payload.events[27].channel.name);\n var title27 = JSON.stringify(msg.payload.events[27].program.title);\n var description27 = JSON.stringify(msg.payload.events[27].program.description);\n var date_start27 = msg.payload.events[27].date_start.split(\" \");\n var date_start_split27 = date_start27[1];\n var date_end27 = msg.payload.events[27].date_end.split(\" \");\n var date_end_split27 = date_end27[1];\n var duration27 = msg.payload.events[27].duration\n var icon27 = msg.payload.events[27].channel.icon\n\tvar chnumber27 = msg.payload.events[27].channel.channel_sat\n\tvar date_start27 = msg.payload.events[27].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start27 = date_start27[2] + '-' + date_start27[1] + '-' + date_start27[0] + ' ' + date_start27[3] + ':00.000000+02:00';\n var date_end27 = msg.payload.events[27].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end27 = date_end27[2] + '-' + date_end27[1] + '-' + date_end27[0] + ' ' + date_end27[3] + ':00.000000+02:00';\n\t\n\tvar name28 = JSON.stringify(msg.payload.events[28].channel.name);\n var title28 = JSON.stringify(msg.payload.events[28].program.title);\n var description28 = JSON.stringify(msg.payload.events[28].program.description);\n var date_start28 = msg.payload.events[28].date_start.split(\" \");\n var date_start_split28 = date_start28[1];\n var date_end28 = msg.payload.events[28].date_end.split(\" \");\n var date_end_split28 = date_end28[1];\n var duration28 = msg.payload.events[28].duration\n var icon28 = msg.payload.events[28].channel.icon\n\tvar chnumber28 = msg.payload.events[28].channel.channel_sat\n\tvar date_start28 = msg.payload.events[28].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start28 = date_start28[2] + '-' + date_start28[1] + '-' + date_start28[0] + ' ' + date_start28[3] + ':00.000000+02:00';\n var date_end28 = msg.payload.events[28].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end28 = date_end28[2] + '-' + date_end28[1] + '-' + date_end28[0] + ' ' + date_end28[3] + ':00.000000+02:00';\n\t\n\tvar name29 = JSON.stringify(msg.payload.events[29].channel.name);\n var title29 = JSON.stringify(msg.payload.events[29].program.title);\n var description29 = JSON.stringify(msg.payload.events[29].program.description);\n var date_start29 = msg.payload.events[29].date_start.split(\" \");\n var date_start_split29 = date_start29[1];\n var date_end29 = msg.payload.events[29].date_end.split(\" \");\n var date_end_split29 = date_end29[1];\n var duration29 = msg.payload.events[29].duration\n var icon29 = msg.payload.events[29].channel.icon\n\tvar chnumber29 = msg.payload.events[29].channel.channel_sat\n\tvar date_start29 = msg.payload.events[29].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start29 = date_start29[2] + '-' + date_start29[1] + '-' + date_start29[0] + ' ' + date_start29[3] + ':00.000000+02:00';\n var date_end29 = msg.payload.events[29].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end29 = date_end29[2] + '-' + date_end29[1] + '-' + date_end29[0] + ' ' + date_end29[3] + ':00.000000+02:00';\n\t\n var name30 = JSON.stringify(msg.payload.events[30].channel.name);\n var title30 = JSON.stringify(msg.payload.events[30].program.title);\n var description30 = JSON.stringify(msg.payload.events[30].program.description);\n var date_start30 = msg.payload.events[30].date_start.split(\" \");\n var date_start_split30 = date_start30[1];\n var date_end30 = msg.payload.events[30].date_end.split(\" \");\n var date_end_split30 = date_end30[1];\n var duration30 = msg.payload.events[30].duration\n var icon30 = msg.payload.events[30].channel.icon\n\tvar chnumber30 = msg.payload.events[30].channel.channel_sat\n\tvar date_start30 = msg.payload.events[30].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start30 = date_start30[2] + '-' + date_start30[1] + '-' + date_start30[0] + ' ' + date_start30[3] + ':00.000000+02:00';\n var date_end30 = msg.payload.events[30].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end30 = date_end30[2] + '-' + date_end30[1] + '-' + date_end30[0] + ' ' + date_end30[3] + ':00.000000+02:00';\n\t\n\tvar name31 = JSON.stringify(msg.payload.events[31].channel.name);\n var title31 = JSON.stringify(msg.payload.events[31].program.title);\n var description31 = JSON.stringify(msg.payload.events[31].program.description);\n var date_start31 = msg.payload.events[31].date_start.split(\" \");\n var date_start_split31 = date_start31[1];\n var date_end31 = msg.payload.events[31].date_end.split(\" \");\n var date_end_split31 = date_end31[1];\n var duration31 = msg.payload.events[31].duration\n var icon31 = msg.payload.events[31].channel.icon\n\tvar chnumber31 = msg.payload.events[31].channel.channel_sat\n\tvar date_start31 = msg.payload.events[31].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start31 = date_start31[2] + '-' + date_start31[1] + '-' + date_start31[0] + ' ' + date_start31[3] + ':00.000000+02:00';\n var date_end31 = msg.payload.events[31].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end31 = date_end31[2] + '-' + date_end31[1] + '-' + date_end31[0] + ' ' + date_end31[3] + ':00.000000+02:00';\n\t\n\tvar name32 = JSON.stringify(msg.payload.events[32].channel.name);\n var title32 = JSON.stringify(msg.payload.events[32].program.title);\n var description32 = JSON.stringify(msg.payload.events[32].program.description);\n var date_start32 = msg.payload.events[32].date_start.split(\" \");\n var date_start_split32 = date_start32[1];\n var date_end32 = msg.payload.events[32].date_end.split(\" \");\n var date_end_split32 = date_end32[1];\n var duration32 = msg.payload.events[32].duration\n var icon32 = msg.payload.events[32].channel.icon\n\tvar chnumber32 = msg.payload.events[32].channel.channel_sat\n\tvar date_start32 = msg.payload.events[32].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start32 = date_start32[2] + '-' + date_start32[1] + '-' + date_start32[0] + ' ' + date_start32[3] + ':00.000000+02:00';\n var date_end32 = msg.payload.events[32].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end32 = date_end32[2] + '-' + date_end32[1] + '-' + date_end32[0] + ' ' + date_end32[3] + ':00.000000+02:00';\n\t\n\tvar name33 = JSON.stringify(msg.payload.events[33].channel.name);\n var title33 = JSON.stringify(msg.payload.events[33].program.title);\n var description33 = JSON.stringify(msg.payload.events[33].program.description);\n var date_start33 = msg.payload.events[33].date_start.split(\" \");\n var date_start_split33 = date_start33[1];\n var date_end33 = msg.payload.events[33].date_end.split(\" \");\n var date_end_split33 = date_end33[1];\n var duration33 = msg.payload.events[33].duration\n var icon33 = msg.payload.events[33].channel.icon\n\tvar chnumber33 = msg.payload.events[33].channel.channel_sat\n\tvar date_start33 = msg.payload.events[33].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start33 = date_start33[2] + '-' + date_start33[1] + '-' + date_start33[0] + ' ' + date_start33[3] + ':00.000000+02:00';\n var date_end33 = msg.payload.events[33].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end33 = date_end33[2] + '-' + date_end33[1] + '-' + date_end33[0] + ' ' + date_end33[3] + ':00.000000+02:00';\n\t\n\tvar name34 = JSON.stringify(msg.payload.events[34].channel.name);\n var title34 = JSON.stringify(msg.payload.events[34].program.title);\n var description34 = JSON.stringify(msg.payload.events[34].program.description);\n var date_start34 = msg.payload.events[34].date_start.split(\" \");\n var date_start_split34 = date_start34[1];\n var date_end34 = msg.payload.events[34].date_end.split(\" \");\n var date_end_split34 = date_end34[1];\n var duration34 = msg.payload.events[34].duration\n var icon34 = msg.payload.events[34].channel.icon\n\tvar chnumber34 = msg.payload.events[34].channel.channel_sat\n\tvar date_start34 = msg.payload.events[34].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start34 = date_start34[2] + '-' + date_start34[1] + '-' + date_start34[0] + ' ' + date_start34[3] + ':00.000000+02:00';\n var date_end34 = msg.payload.events[34].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end34 = date_end34[2] + '-' + date_end34[1] + '-' + date_end34[0] + ' ' + date_end34[3] + ':00.000000+02:00';\n\t\n\tvar name35 = JSON.stringify(msg.payload.events[35].channel.name);\n var title35 = JSON.stringify(msg.payload.events[35].program.title);\n var description35 = JSON.stringify(msg.payload.events[35].program.description);\n var date_start35 = msg.payload.events[35].date_start.split(\" \");\n var date_start_split35 = date_start35[1];\n var date_end35 = msg.payload.events[35].date_end.split(\" \");\n var date_end_split35 = date_end35[1];\n var duration35 = msg.payload.events[35].duration\n var icon35 = msg.payload.events[35].channel.icon\n\tvar chnumber35 = msg.payload.events[35].channel.channel_sat\n\tvar date_start35 = msg.payload.events[35].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start35 = date_start35[2] + '-' + date_start35[1] + '-' + date_start35[0] + ' ' + date_start35[3] + ':00.000000+02:00';\n var date_end35 = msg.payload.events[35].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end35 = date_end35[2] + '-' + date_end35[1] + '-' + date_end35[0] + ' ' + date_end35[3] + ':00.000000+02:00';\n\t\n\tvar name36 = JSON.stringify(msg.payload.events[36].channel.name);\n var title36 = JSON.stringify(msg.payload.events[36].program.title);\n var description36 = JSON.stringify(msg.payload.events[36].program.description);\n var date_start36 = msg.payload.events[36].date_start.split(\" \");\n var date_start_split36 = date_start36[1];\n var date_end36 = msg.payload.events[36].date_end.split(\" \");\n var date_end_split36 = date_end36[1];\n var duration36 = msg.payload.events[36].duration\n var icon36 = msg.payload.events[36].channel.icon\n\tvar chnumber36 = msg.payload.events[36].channel.channel_sat\n\tvar date_start36 = msg.payload.events[36].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start36 = date_start36[2] + '-' + date_start36[1] + '-' + date_start36[0] + ' ' + date_start36[3] + ':00.000000+02:00';\n var date_end36 = msg.payload.events[36].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end36 = date_end36[2] + '-' + date_end36[1] + '-' + date_end36[0] + ' ' + date_end36[3] + ':00.000000+02:00';\n\t\n\t\n\tvar name37 = JSON.stringify(msg.payload.events[37].channel.name);\n var title37 = JSON.stringify(msg.payload.events[37].program.title);\n var description37 = JSON.stringify(msg.payload.events[37].program.description);\n var date_start37 = msg.payload.events[37].date_start.split(\" \");\n var date_start_split37 = date_start37[1];\n var date_end37 = msg.payload.events[37].date_end.split(\" \");\n var date_end_split37 = date_end37[1];\n var duration37 = msg.payload.events[37].duration\n var icon37 = msg.payload.events[37].channel.icon\n\tvar chnumber37 = msg.payload.events[37].channel.channel_sat\n\tvar date_start37 = msg.payload.events[37].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start37 = date_start37[2] + '-' + date_start37[1] + '-' + date_start37[0] + ' ' + date_start37[3] + ':00.000000+02:00';\n var date_end37 = msg.payload.events[37].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end37 = date_end37[2] + '-' + date_end37[1] + '-' + date_end37[0] + ' ' + date_end37[3] + ':00.000000+02:00';\n\t\n\t\n\tvar name38 = JSON.stringify(msg.payload.events[38].channel.name);\n var title38 = JSON.stringify(msg.payload.events[38].program.title);\n var description38 = JSON.stringify(msg.payload.events[38].program.description);\n var date_start38 = msg.payload.events[38].date_start.split(\" \");\n var date_start_split38 = date_start38[1];\n var date_end38 = msg.payload.events[38].date_end.split(\" \");\n var date_end_split38 = date_end38[1];\n var duration38 = msg.payload.events[38].duration\n var icon38 = msg.payload.events[38].channel.icon\n\tvar chnumber38 = msg.payload.events[38].channel.channel_sat\n\tvar date_start38 = msg.payload.events[38].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start38 = date_start38[2] + '-' + date_start38[1] + '-' + date_start38[0] + ' ' + date_start38[3] + ':00.000000+02:00';\n var date_end38 = msg.payload.events[38].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end38 = date_end38[2] + '-' + date_end38[1] + '-' + date_end38[0] + ' ' + date_end38[3] + ':00.000000+02:00';\n\t\n\t\t\n\tvar name39 = JSON.stringify(msg.payload.events[39].channel.name);\n var title39 = JSON.stringify(msg.payload.events[39].program.title);\n var description39 = JSON.stringify(msg.payload.events[39].program.description);\n var date_start39 = msg.payload.events[39].date_start.split(\" \");\n var date_start_split39 = date_start39[1];\n var date_end39 = msg.payload.events[39].date_end.split(\" \");\n var date_end_split39 = date_end39[1];\n var duration39 = msg.payload.events[39].duration\n var icon39 = msg.payload.events[39].channel.icon\n\tvar chnumber39 = msg.payload.events[39].channel.channel_sat\n\tvar date_start39 = msg.payload.events[39].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start39 = date_start39[2] + '-' + date_start39[1] + '-' + date_start39[0] + ' ' + date_start39[3] + ':00.000000+02:00';\n var date_end39 = msg.payload.events[39].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end39 = date_end39[2] + '-' + date_end39[1] + '-' + date_end39[0] + ' ' + date_end39[3] + ':00.000000+02:00';\n\t\n\t\t\n var name40 = JSON.stringify(msg.payload.events[40].channel.name);\n var title40 = JSON.stringify(msg.payload.events[40].program.title);\n var description40 = JSON.stringify(msg.payload.events[40].program.description);\n var date_start40 = msg.payload.events[40].date_start.split(\" \");\n var date_start_split40 = date_start40[1];\n var date_end40 = msg.payload.events[40].date_end.split(\" \");\n var date_end_split40 = date_end40[1];\n var duration40 = msg.payload.events[40].duration\n var icon40 = msg.payload.events[40].channel.icon\n\tvar chnumber40 = msg.payload.events[40].channel.channel_sat\n\tvar date_start40 = msg.payload.events[40].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start40 = date_start40[2] + '-' + date_start40[1] + '-' + date_start40[0] + ' ' + date_start40[3] + ':00.000000+02:00';\n var date_end40 = msg.payload.events[40].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end40 = date_end40[2] + '-' + date_end40[1] + '-' + date_end40[0] + ' ' + date_end40[3] + ':00.000000+02:00';\n\t\t\n\tvar name41 = JSON.stringify(msg.payload.events[41].channel.name);\n var title41 = JSON.stringify(msg.payload.events[41].program.title);\n var description41 = JSON.stringify(msg.payload.events[41].program.description);\n var date_start41 = msg.payload.events[41].date_start.split(\" \");\n var date_start_split41 = date_start41[1];\n var date_end41 = msg.payload.events[41].date_end.split(\" \");\n var date_end_split41 = date_end41[1];\n var duration41 = msg.payload.events[41].duration\n var icon41 = msg.payload.events[41].channel.icon\n\tvar chnumber41 = msg.payload.events[41].channel.channel_sat\n\tvar date_start41 = msg.payload.events[41].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start41 = date_start41[2] + '-' + date_start41[1] + '-' + date_start41[0] + ' ' + date_start41[3] + ':00.000000+02:00';\n var date_end41 = msg.payload.events[41].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end41 = date_end41[2] + '-' + date_end41[1] + '-' + date_end41[0] + ' ' + date_end41[3] + ':00.000000+02:00';\n\t\n\tvar name42 = JSON.stringify(msg.payload.events[42].channel.name);\n var title42 = JSON.stringify(msg.payload.events[42].program.title);\n var description42 = JSON.stringify(msg.payload.events[42].program.description);\n var date_start42 = msg.payload.events[42].date_start.split(\" \");\n var date_start_split42 = date_start42[1];\n var date_end42 = msg.payload.events[42].date_end.split(\" \");\n var date_end_split42 = date_end42[1];\n var duration42 = msg.payload.events[42].duration\n var icon42 = msg.payload.events[42].channel.icon\n\tvar chnumber42 = msg.payload.events[42].channel.channel_sat\n\tvar date_start42 = msg.payload.events[42].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start42 = date_start42[2] + '-' + date_start42[1] + '-' + date_start42[0] + ' ' + date_start42[3] + ':00.000000+02:00';\n var date_end42 = msg.payload.events[42].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end42 = date_end42[2] + '-' + date_end42[1] + '-' + date_end42[0] + ' ' + date_end42[3] + ':00.000000+02:00';\n\t\n\tvar name43 = JSON.stringify(msg.payload.events[43].channel.name);\n var title43 = JSON.stringify(msg.payload.events[43].program.title);\n var description43 = JSON.stringify(msg.payload.events[43].program.description);\n var date_start43 = msg.payload.events[43].date_start.split(\" \");\n var date_start_split43 = date_start43[1];\n var date_end43 = msg.payload.events[43].date_end.split(\" \");\n var date_end_split43 = date_end43[1];\n var duration43 = msg.payload.events[43].duration\n var icon43 = msg.payload.events[43].channel.icon\n\tvar chnumber43 = msg.payload.events[43].channel.channel_sat\n\tvar date_start43 = msg.payload.events[43].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start43 = date_start43[2] + '-' + date_start43[1] + '-' + date_start43[0] + ' ' + date_start43[3] + ':00.000000+02:00';\n var date_end43 = msg.payload.events[43].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end43 = date_end43[2] + '-' + date_end43[1] + '-' + date_end43[0] + ' ' + date_end43[3] + ':00.000000+02:00';\n\t\n\tvar name44 = JSON.stringify(msg.payload.events[44].channel.name);\n var title44 = JSON.stringify(msg.payload.events[44].program.title);\n var description44 = JSON.stringify(msg.payload.events[44].program.description);\n var date_start44 = msg.payload.events[44].date_start.split(\" \");\n var date_start_split44 = date_start44[1];\n var date_end44 = msg.payload.events[44].date_end.split(\" \");\n var date_end_split44 = date_end44[1];\n var duration44 = msg.payload.events[44].duration\n var icon44 = msg.payload.events[44].channel.icon\n\tvar chnumber44 = msg.payload.events[44].channel.channel_sat\n\tvar date_start44 = msg.payload.events[44].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start44 = date_start44[2] + '-' + date_start44[1] + '-' + date_start44[0] + ' ' + date_start44[3] + ':00.000000+02:00';\n var date_end44 = msg.payload.events[44].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end44 = date_end44[2] + '-' + date_end44[1] + '-' + date_end44[0] + ' ' + date_end44[3] + ':00.000000+02:00';\n\t\n\tvar name45 = JSON.stringify(msg.payload.events[45].channel.name);\n var title45 = JSON.stringify(msg.payload.events[45].program.title);\n var description45 = JSON.stringify(msg.payload.events[45].program.description);\n var date_start45 = msg.payload.events[45].date_start.split(\" \");\n var date_start_split45 = date_start45[1];\n var date_end45 = msg.payload.events[45].date_end.split(\" \");\n var date_end_split45 = date_end45[1];\n var duration45 = msg.payload.events[45].duration\n var icon45 = msg.payload.events[45].channel.icon\n\tvar chnumber45 = msg.payload.events[45].channel.channel_sat\n\tvar date_start45 = msg.payload.events[45].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start45 = date_start45[2] + '-' + date_start45[1] + '-' + date_start45[0] + ' ' + date_start45[3] + ':00.000000+02:00';\n var date_end45 = msg.payload.events[45].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end45 = date_end45[2] + '-' + date_end45[1] + '-' + date_end45[0] + ' ' + date_end45[3] + ':00.000000+02:00';\n\t\n\tvar name46 = JSON.stringify(msg.payload.events[46].channel.name);\n var title46 = JSON.stringify(msg.payload.events[46].program.title);\n var description46 = JSON.stringify(msg.payload.events[46].program.description);\n var date_start46 = msg.payload.events[46].date_start.split(\" \");\n var date_start_split46 = date_start46[1];\n var date_end46 = msg.payload.events[46].date_end.split(\" \");\n var date_end_split46 = date_end46[1];\n var duration46 = msg.payload.events[46].duration\n var icon46 = msg.payload.events[46].channel.icon\n\tvar chnumber46 = msg.payload.events[46].channel.channel_sat\n\tvar date_start46 = msg.payload.events[46].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start46 = date_start46[2] + '-' + date_start46[1] + '-' + date_start46[0] + ' ' + date_start46[3] + ':00.000000+02:00';\n var date_end46 = msg.payload.events[46].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end46 = date_end46[2] + '-' + date_end46[1] + '-' + date_end46[0] + ' ' + date_end46[3] + ':00.000000+02:00';\n\t\n\tvar name47 = JSON.stringify(msg.payload.events[47].channel.name);\n var title47 = JSON.stringify(msg.payload.events[47].program.title);\n var description47 = JSON.stringify(msg.payload.events[47].program.description);\n var date_start47 = msg.payload.events[47].date_start.split(\" \");\n var date_start_split47 = date_start47[1];\n var date_end47 = msg.payload.events[47].date_end.split(\" \");\n var date_end_split47 = date_end47[1];\n var duration47 = msg.payload.events[47].duration\n var icon47 = msg.payload.events[47].channel.icon\n\tvar chnumber47 = msg.payload.events[47].channel.channel_sat\n\tvar date_start47 = msg.payload.events[47].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start47 = date_start47[2] + '-' + date_start47[1] + '-' + date_start47[0] + ' ' + date_start47[3] + ':00.000000+02:00';\n var date_end47 = msg.payload.events[47].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end47 = date_end47[2] + '-' + date_end47[1] + '-' + date_end47[0] + ' ' + date_end47[3] + ':00.000000+02:00';\n\t\n\tvar name48 = JSON.stringify(msg.payload.events[48].channel.name);\n var title48 = JSON.stringify(msg.payload.events[48].program.title);\n var description48 = JSON.stringify(msg.payload.events[48].program.description);\n var date_start48 = msg.payload.events[48].date_start.split(\" \");\n var date_start_split48 = date_start48[1];\n var date_end48 = msg.payload.events[48].date_end.split(\" \");\n var date_end_split48 = date_end48[1];\n var duration48 = msg.payload.events[48].duration\n var icon48 = msg.payload.events[48].channel.icon\n\tvar chnumber48 = msg.payload.events[48].channel.channel_sat\n\tvar date_start48 = msg.payload.events[48].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start48 = date_start48[2] + '-' + date_start48[1] + '-' + date_start48[0] + ' ' + date_start48[3] + ':00.000000+02:00';\n var date_end48 = msg.payload.events[48].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end48 = date_end48[2] + '-' + date_end48[1] + '-' + date_end48[0] + ' ' + date_end48[3] + ':00.000000+02:00';\n\t\t\n\tvar name49 = JSON.stringify(msg.payload.events[49].channel.name);\n var title49 = JSON.stringify(msg.payload.events[49].program.title);\n var description49 = JSON.stringify(msg.payload.events[49].program.description);\n var date_start49 = msg.payload.events[49].date_start.split(\" \");\n var date_start_split49 = date_start49[1];\n var date_end49 = msg.payload.events[49].date_end.split(\" \");\n var date_end_split49 = date_end49[1];\n var duration49 = msg.payload.events[49].duration\n var icon49 = msg.payload.events[49].channel.icon\n\tvar chnumber49 = msg.payload.events[49].channel.channel_sat\n\tvar date_start49 = msg.payload.events[49].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start49 = date_start49[2] + '-' + date_start49[1] + '-' + date_start49[0] + ' ' + date_start49[3] + ':00.000000+02:00';\n var date_end49 = msg.payload.events[49].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end49 = date_end49[2] + '-' + date_end49[1] + '-' + date_end49[0] + ' ' + date_end49[3] + ':00.000000+02:00';\n\t\n var name50 = JSON.stringify(msg.payload.events[50].channel.name);\n var title50 = JSON.stringify(msg.payload.events[50].program.title);\n var description50 = JSON.stringify(msg.payload.events[50].program.description);\n var date_start50 = msg.payload.events[50].date_start.split(\" \");\n var date_start_split50 = date_start50[1];\n var date_end50 = msg.payload.events[50].date_end.split(\" \");\n var date_end_split50 = date_end50[1];\n var duration50 = msg.payload.events[50].duration\n var icon50 = msg.payload.events[50].channel.icon\n\tvar chnumber50 = msg.payload.events[50].channel.channel_sat\n\tvar date_start50 = msg.payload.events[50].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start50 = date_start50[2] + '-' + date_start50[1] + '-' + date_start50[0] + ' ' + date_start50[3] + ':00.000000+02:00';\n var date_end50 = msg.payload.events[50].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end50 = date_end50[2] + '-' + date_end50[1] + '-' + date_end50[0] + ' ' + date_end50[3] + ':00.000000+02:00';\n\t\n\tvar name51 = JSON.stringify(msg.payload.events[51].channel.name);\n var title51 = JSON.stringify(msg.payload.events[51].program.title);\n var description51 = JSON.stringify(msg.payload.events[51].program.description);\n var date_start51 = msg.payload.events[51].date_start.split(\" \");\n var date_start_split51 = date_start51[1];\n var date_end51 = msg.payload.events[51].date_end.split(\" \");\n var date_end_split51 = date_end51[1];\n var duration51 = msg.payload.events[51].duration\n var icon51 = msg.payload.events[51].channel.icon\n\tvar chnumber51 = msg.payload.events[51].channel.channel_sat\n\tvar date_start51 = msg.payload.events[51].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start51 = date_start51[2] + '-' + date_start51[1] + '-' + date_start51[0] + ' ' + date_start51[3] + ':00.000000+02:00';\n var date_end51 = msg.payload.events[51].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end51 = date_end51[2] + '-' + date_end51[1] + '-' + date_end51[0] + ' ' + date_end51[3] + ':00.000000+02:00';\n\t\n\tvar name52 = JSON.stringify(msg.payload.events[52].channel.name);\n var title52 = JSON.stringify(msg.payload.events[52].program.title);\n var description52 = JSON.stringify(msg.payload.events[52].program.description);\n var date_start52 = msg.payload.events[52].date_start.split(\" \");\n var date_start_split52 = date_start52[1];\n var date_end52 = msg.payload.events[52].date_end.split(\" \");\n var date_end_split52 = date_end52[1];\n var duration52 = msg.payload.events[52].duration\n var icon52 = msg.payload.events[52].channel.icon\n\tvar chnumber52 = msg.payload.events[52].channel.channel_sat\n\tvar date_start52 = msg.payload.events[52].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start52 = date_start52[2] + '-' + date_start52[1] + '-' + date_start52[0] + ' ' + date_start52[3] + ':00.000000+02:00';\n var date_end52 = msg.payload.events[52].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end52 = date_end52[2] + '-' + date_end52[1] + '-' + date_end52[0] + ' ' + date_end52[3] + ':00.000000+02:00';\n\t\n\tvar name53 = JSON.stringify(msg.payload.events[53].channel.name);\n var title53 = JSON.stringify(msg.payload.events[53].program.title);\n var description53 = JSON.stringify(msg.payload.events[53].program.description);\n var date_start53 = msg.payload.events[53].date_start.split(\" \");\n var date_start_split53 = date_start53[1];\n var date_end53 = msg.payload.events[53].date_end.split(\" \");\n var date_end_split53 = date_end53[1];\n var duration53 = msg.payload.events[53].duration\n var icon53 = msg.payload.events[53].channel.icon\n\tvar chnumber53 = msg.payload.events[53].channel.channel_sat\n\tvar date_start53 = msg.payload.events[53].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start53 = date_start53[2] + '-' + date_start53[1] + '-' + date_start53[0] + ' ' + date_start53[3] + ':00.000000+02:00';\n var date_end53 = msg.payload.events[53].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end53 = date_end53[2] + '-' + date_end53[1] + '-' + date_end53[0] + ' ' + date_end53[3] + ':00.000000+02:00';\n\t\n\t\n\tvar name54 = JSON.stringify(msg.payload.events[54].channel.name);\n var title54 = JSON.stringify(msg.payload.events[54].program.title);\n var description54 = JSON.stringify(msg.payload.events[54].program.description);\n var date_start54 = msg.payload.events[54].date_start.split(\" \");\n var date_start_split54 = date_start54[1];\n var date_end54 = msg.payload.events[54].date_end.split(\" \");\n var date_end_split54 = date_end54[1];\n var duration54 = msg.payload.events[54].duration\n var icon54 = msg.payload.events[54].channel.icon\n\tvar chnumber54 = msg.payload.events[54].channel.channel_sat\n\tvar date_start54 = msg.payload.events[54].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start54 = date_start54[2] + '-' + date_start54[1] + '-' + date_start54[0] + ' ' + date_start54[3] + ':00.000000+02:00';\n var date_end54 = msg.payload.events[54].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end54 = date_end54[2] + '-' + date_end54[1] + '-' + date_end54[0] + ' ' + date_end54[3] + ':00.000000+02:00';\n\t\n\t\n\tvar name55 = JSON.stringify(msg.payload.events[55].channel.name);\n var title55 = JSON.stringify(msg.payload.events[55].program.title);\n var description55 = JSON.stringify(msg.payload.events[55].program.description);\n var date_start55 = msg.payload.events[55].date_start.split(\" \");\n var date_start_split55 = date_start55[1];\n var date_end55 = msg.payload.events[55].date_end.split(\" \");\n var date_end_split55 = date_end55[1];\n var duration55 = msg.payload.events[55].duration\n var icon55 = msg.payload.events[55].channel.icon\n\tvar chnumber55 = msg.payload.events[55].channel.channel_sat\n\tvar date_start55 = msg.payload.events[55].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start55 = date_start55[2] + '-' + date_start55[1] + '-' + date_start55[0] + ' ' + date_start55[3] + ':00.000000+02:00';\n var date_end55 = msg.payload.events[55].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end55 = date_end55[2] + '-' + date_end55[1] + '-' + date_end55[0] + ' ' + date_end55[3] + ':00.000000+02:00';\n\t\n\tvar name56 = JSON.stringify(msg.payload.events[56].channel.name);\n var title56 = JSON.stringify(msg.payload.events[56].program.title);\n var description56 = JSON.stringify(msg.payload.events[56].program.description);\n var date_start56 = msg.payload.events[56].date_start.split(\" \");\n var date_start_split56 = date_start56[1];\n var date_end56 = msg.payload.events[56].date_end.split(\" \");\n var date_end_split56 = date_end56[1];\n var duration56 = msg.payload.events[56].duration\n var icon56 = msg.payload.events[56].channel.icon\n\tvar chnumber56 = msg.payload.events[56].channel.channel_sat\n\tvar date_start56 = msg.payload.events[56].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start56 = date_start56[2] + '-' + date_start56[1] + '-' + date_start56[0] + ' ' + date_start56[3] + ':00.000000+02:00';\n var date_end56 = msg.payload.events[56].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end56 = date_end56[2] + '-' + date_end56[1] + '-' + date_end56[0] + ' ' + date_end56[3] + ':00.000000+02:00';\n\t\n\tvar name57 = JSON.stringify(msg.payload.events[57].channel.name);\n var title57 = JSON.stringify(msg.payload.events[57].program.title);\n var description57 = JSON.stringify(msg.payload.events[57].program.description);\n var date_start57 = msg.payload.events[57].date_start.split(\" \");\n var date_start_split57 = date_start57[1];\n var date_end57 = msg.payload.events[57].date_end.split(\" \");\n var date_end_split57 = date_end57[1];\n var duration57 = msg.payload.events[57].duration\n var icon57 = msg.payload.events[57].channel.icon\n\tvar chnumber57 = msg.payload.events[57].channel.channel_sat\n\tvar date_start57 = msg.payload.events[57].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start57 = date_start57[2] + '-' + date_start57[1] + '-' + date_start57[0] + ' ' + date_start57[3] + ':00.000000+02:00';\n var date_end57 = msg.payload.events[57].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end57 = date_end57[2] + '-' + date_end57[1] + '-' + date_end57[0] + ' ' + date_end57[3] + ':00.000000+02:00';\n\t\n\tvar name58 = JSON.stringify(msg.payload.events[58].channel.name);\n var title58 = JSON.stringify(msg.payload.events[58].program.title);\n var description58 = JSON.stringify(msg.payload.events[58].program.description);\n var date_start58 = msg.payload.events[58].date_start.split(\" \");\n var date_start_split58 = date_start58[1];\n var date_end58 = msg.payload.events[58].date_end.split(\" \");\n var date_end_split58 = date_end58[1];\n var duration58 = msg.payload.events[58].duration\n var icon58 = msg.payload.events[58].channel.icon\n\tvar chnumber58 = msg.payload.events[58].channel.channel_sat\n\tvar date_start58 = msg.payload.events[58].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start58 = date_start58[2] + '-' + date_start58[1] + '-' + date_start58[0] + ' ' + date_start58[3] + ':00.000000+02:00';\n var date_end58 = msg.payload.events[58].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end58 = date_end58[2] + '-' + date_end58[1] + '-' + date_end58[0] + ' ' + date_end58[3] + ':00.000000+02:00';\n\t\n\t\t\n\tvar name59 = JSON.stringify(msg.payload.events[59].channel.name);\n var title59 = JSON.stringify(msg.payload.events[59].program.title);\n var description59 = JSON.stringify(msg.payload.events[59].program.description);\n var date_start59 = msg.payload.events[59].date_start.split(\" \");\n var date_start_split59 = date_start59[1];\n var date_end59 = msg.payload.events[59].date_end.split(\" \");\n var date_end_split59 = date_end59[1];\n var duration59 = msg.payload.events[59].duration\n var icon59 = msg.payload.events[59].channel.icon\n\tvar chnumber59 = msg.payload.events[59].channel.channel_sat\n\tvar date_start59 = msg.payload.events[59].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start59 = date_start59[2] + '-' + date_start59[1] + '-' + date_start59[0] + ' ' + date_start59[3] + ':00.000000+02:00';\n var date_end59 = msg.payload.events[59].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end59 = date_end59[2] + '-' + date_end59[1] + '-' + date_end59[0] + ' ' + date_end59[3] + ':00.000000+02:00';\n\t\n\t\n var name60 = JSON.stringify(msg.payload.events[60].channel.name);\n var title60 = JSON.stringify(msg.payload.events[60].program.title);\n var description60 = JSON.stringify(msg.payload.events[60].program.description);\n var date_start60 = msg.payload.events[60].date_start.split(\" \");\n var date_start_split60 = date_start60[1];\n var date_end60 = msg.payload.events[60].date_end.split(\" \");\n var date_end_split60 = date_end60[1];\n var duration60 = msg.payload.events[60].duration\n var icon60 = msg.payload.events[60].channel.icon\n\tvar chnumber60 = msg.payload.events[60].channel.channel_sat\n\tvar date_start60 = msg.payload.events[60].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start60 = date_start60[2] + '-' + date_start60[1] + '-' + date_start60[0] + ' ' + date_start60[3] + ':00.000000+02:00';\n var date_end60 = msg.payload.events[60].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end60 = date_end60[2] + '-' + date_end60[1] + '-' + date_end60[0] + ' ' + date_end60[3] + ':00.000000+02:00';\n\t\n\t\nmsg.final = '{' + name0 + ':{' + '\"title\":' + title0 + ',' + '\"description\":' + description0 + ',' + '\"icon\":\"' + icon0 + '\",' + '\"duration\": ' + duration0 + ',' + '\"chnumber\": ' + chnumber0 + ', \"start\":' + '\"' + date_start_split0 + '\",\"stop\":\"' + date_end_split0 + '\",\"date_start\":\"' + date_start0 + '\",\"date_stop\":\"' + date_end0 + '\"},'\n\t\t\t + name1 + ':{' + '\"title\":' + title1 + ',' + '\"description\":' + description1 + ',' + '\"icon\":\"' + icon1 + '\",' + '\"duration\": ' + duration1 + ',' + '\"chnumber\": ' + chnumber1 + ', \"start\":' + '\"' + date_start_split1 + '\",\"stop\":\"' + date_end_split1 + '\",\"date_start\":\"' + date_start1 + '\",\"date_stop\":\"' + date_end1 + '\"},'\n\t\t\t\t+ name2 + ':{' + '\"title\":' + title2 + ',' + '\"description\":' + description2 + ',' + '\"icon\":\"' + icon2 + '\",' + '\"duration\": ' + duration2 + ',' + '\"chnumber\": ' + chnumber2 + ', \"start\":' + '\"' + date_start_split2 + '\",\"stop\":\"' + date_end_split2 + '\",\"date_start\":\"' + date_start2 + '\",\"date_stop\":\"' + date_end2 + '\"},'\n\t\t\t\t+ name3 + ':{' + '\"title\":' + title3 + ',' + '\"description\":' + description3 + ',' + '\"icon\":\"' + icon3 + '\",' + '\"duration\": ' + duration3 + ',' + '\"chnumber\": ' + chnumber3 + ', \"start\":' + '\"' + date_start_split3 + '\",\"stop\":\"' + date_end_split3 + '\",\"date_start\":\"' + date_start3 + '\",\"date_stop\":\"' + date_end3 + '\"},'\n\t\t\t\t+ name4 + ':{' + '\"title\":' + title4 + ',' + '\"description\":' + description4 + ',' + '\"icon\":\"' + icon4 + '\",' + '\"duration\": ' + duration4 + ',' + '\"chnumber\": ' + chnumber4 + ', \"start\":' + '\"' + date_start_split4 + '\",\"stop\":\"' + date_end_split4 + '\",\"date_start\":\"' + date_start4 + '\",\"date_stop\":\"' + date_end4 + '\"},'\n\t\t\t\t+ name5 + ':{' + '\"title\":' + title5 + ',' + '\"description\":' + description5 + ',' + '\"icon\":\"' + icon5 + '\",' + '\"duration\": ' + duration5 + ',' + '\"chnumber\": ' + chnumber5 + ', \"start\":' + '\"' + date_start_split5 + '\",\"stop\":\"' + date_end_split5 + '\",\"date_start\":\"' + date_start5 + '\",\"date_stop\":\"' + date_end5 + '\"},'\n\t\t\t\t+ name6 + ':{' + '\"title\":' + title6 + ',' + '\"description\":' + description6 + ',' + '\"icon\":\"' + icon6 + '\",' + '\"duration\": ' + duration6 + ',' + '\"chnumber\": ' + chnumber6 + ', \"start\":' + '\"' + date_start_split6 + '\",\"stop\":\"' + date_end_split6 + '\",\"date_start\":\"' + date_start6 + '\",\"date_stop\":\"' + date_end6 + '\"},'\n\t\t\t\t+ name7 + ':{' + '\"title\":' + title7 + ',' + '\"description\":' + description7 + ',' + '\"icon\":\"' + icon7 + '\",' + '\"duration\": ' + duration7 + ',' + '\"chnumber\": ' + chnumber7 + ', \"start\":' + '\"' + date_start_split7 + '\",\"stop\":\"' + date_end_split7 + '\",\"date_start\":\"' + date_start7 + '\",\"date_stop\":\"' + date_end7 + '\"},'\n\t\t\t\t+ name8 + ':{' + '\"title\":' + title8 + ',' + '\"description\":' + description8 + ',' + '\"icon\":\"' + icon8 + '\",' + '\"duration\": ' + duration8 + ',' + '\"chnumber\": ' + chnumber8 + ', \"start\":' + '\"' + date_start_split8 + '\",\"stop\":\"' + date_end_split8 + '\",\"date_start\":\"' + date_start8 + '\",\"date_stop\":\"' + date_end8 + '\"},'\n\t\t\t\t+ name9 + ':{' + '\"title\":' + title9 + ',' + '\"description\":' + description9 + ',' + '\"icon\":\"' + icon9 + '\",' + '\"duration\": ' + duration9 + ',' + '\"chnumber\": ' + chnumber9 + ', \"start\":' + '\"' + date_start_split9 + '\",\"stop\":\"' + date_end_split9 + '\",\"date_start\":\"' + date_start9 + '\",\"date_stop\":\"' + date_end9 + '\"},'\n\t\t\t\t+ name10 + ':{' + '\"title\":' + title10 + ',' + '\"description\":' + description10 + ',' + '\"icon\":\"' + icon10 + '\",' + '\"duration\": ' + duration10 + ',' + '\"chnumber\": ' + chnumber10 + ', \"start\":' + '\"' + date_start_split10 + '\",\"stop\":\"' + date_end_split10 + '\",\"date_start\":\"' + date_start10 + '\",\"date_stop\":\"' + date_end10 + '\"},'\n\t\t\t\t+ name11 + ':{' + '\"title\":' + title11 + ',' + '\"description\":' + description11 + ',' + '\"icon\":\"' + icon11 + '\",' + '\"duration\": ' + duration11 + ',' + '\"chnumber\": ' + chnumber11 + ', \"start\":' + '\"' + date_start_split11 + '\",\"stop\":\"' + date_end_split11 + '\",\"date_start\":\"' + date_start11 + '\",\"date_stop\":\"' + date_end11 + '\"},'\n\t\t\t\t+ name12 + ':{' + '\"title\":' + title12 + ',' + '\"description\":' + description12 + ',' + '\"icon\":\"' + icon12 + '\",' + '\"duration\": ' + duration12 + ',' + '\"chnumber\": ' + chnumber12 + ', \"start\":' + '\"' + date_start_split12 + '\",\"stop\":\"' + date_end_split12 + '\",\"date_start\":\"' + date_start12 + '\",\"date_stop\":\"' + date_end12 + '\"},'\n\t\t\t\t+ name13 + ':{' + '\"title\":' + title13 + ',' + '\"description\":' + description13 + ',' + '\"icon\":\"' + icon13 + '\",' + '\"duration\": ' + duration13 + ',' + '\"chnumber\": ' + chnumber13 + ', \"start\":' + '\"' + date_start_split13 + '\",\"stop\":\"' + date_end_split13 + '\",\"date_start\":\"' + date_start13 + '\",\"date_stop\":\"' + date_end13 + '\"},'\n\t\t\t\t+ name14 + ':{' + '\"title\":' + title14 + ',' + '\"description\":' + description14 + ',' + '\"icon\":\"' + icon14 + '\",' + '\"duration\": ' + duration14 + ',' + '\"chnumber\": ' + chnumber14 + ', \"start\":' + '\"' + date_start_split14 + '\",\"stop\":\"' + date_end_split14 + '\",\"date_start\":\"' + date_start14 + '\",\"date_stop\":\"' + date_end14 + '\"},'\n\t\t\t\t+ name15 + ':{' + '\"title\":' + title15 + ',' + '\"description\":' + description15 + ',' + '\"icon\":\"' + icon15 + '\",' + '\"duration\": ' + duration15 + ',' + '\"chnumber\": ' + chnumber15 + ', \"start\":' + '\"' + date_start_split15 + '\",\"stop\":\"' + date_end_split15 + '\",\"date_start\":\"' + date_start15 + '\",\"date_stop\":\"' + date_end15 + '\"},'\n\t\t\t\t+ name16 + ':{' + '\"title\":' + title16 + ',' + '\"description\":' + description16 + ',' + '\"icon\":\"' + icon16 + '\",' + '\"duration\": ' + duration16 + ',' + '\"chnumber\": ' + chnumber16 + ', \"start\":' + '\"' + date_start_split16 + '\",\"stop\":\"' + date_end_split16 + '\",\"date_start\":\"' + date_start16 + '\",\"date_stop\":\"' + date_end16 + '\"},'\n\t\t\t\t+ name17 + ':{' + '\"title\":' + title17 + ',' + '\"description\":' + description17 + ',' + '\"icon\":\"' + icon17 + '\",' + '\"duration\": ' + duration17 + ',' + '\"chnumber\": ' + chnumber17 + ', \"start\":' + '\"' + date_start_split17 + '\",\"stop\":\"' + date_end_split17 + '\",\"date_start\":\"' + date_start17 + '\",\"date_stop\":\"' + date_end17 + '\"},'\n\t\t\t\t+ name18 + ':{' + '\"title\":' + title18 + ',' + '\"description\":' + description18 + ',' + '\"icon\":\"' + icon18 + '\",' + '\"duration\": ' + duration18 + ',' + '\"chnumber\": ' + chnumber18 + ', \"start\":' + '\"' + date_start_split18 + '\",\"stop\":\"' + date_end_split18 + '\",\"date_start\":\"' + date_start18 + '\",\"date_stop\":\"' + date_end18 + '\"},'\n\t\t\t\t+ name19 + ':{' + '\"title\":' + title19 + ',' + '\"description\":' + description19 + ',' + '\"icon\":\"' + icon19 + '\",' + '\"duration\": ' + duration19 + ',' + '\"chnumber\": ' + chnumber19 + ', \"start\":' + '\"' + date_start_split19 + '\",\"stop\":\"' + date_end_split19 + '\",\"date_start\":\"' + date_start19 + '\",\"date_stop\":\"' + date_end19 + '\"},'\n\t\t\t\t+ name20 + ':{' + '\"title\":' + title20 + ',' + '\"description\":' + description20 + ',' + '\"icon\":\"' + icon20 + '\",' + '\"duration\": ' + duration20 + ',' + '\"chnumber\": ' + chnumber20 + ', \"start\":' + '\"' + date_start_split20 + '\",\"stop\":\"' + date_end_split20 + '\",\"date_start\":\"' + date_start20 + '\",\"date_stop\":\"' + date_end20 + '\"},'\n\t\t\t\t+ name21 + ':{' + '\"title\":' + title21 + ',' + '\"description\":' + description21 + ',' + '\"icon\":\"' + icon21 + '\",' + '\"duration\": ' + duration21 + ',' + '\"chnumber\": ' + chnumber21 + ', \"start\":' + '\"' + date_start_split21 + '\",\"stop\":\"' + date_end_split21 + '\",\"date_start\":\"' + date_start21 + '\",\"date_stop\":\"' + date_end21 + '\"},'\n\t\t\t\t+ name22 + ':{' + '\"title\":' + title22 + ',' + '\"description\":' + description22 + ',' + '\"icon\":\"' + icon22 + '\",' + '\"duration\": ' + duration22 + ',' + '\"chnumber\": ' + chnumber22 + ', \"start\":' + '\"' + date_start_split22 + '\",\"stop\":\"' + date_end_split22 + '\",\"date_start\":\"' + date_start22 + '\",\"date_stop\":\"' + date_end22 + '\"},'\n\t\t\t\t+ name23 + ':{' + '\"title\":' + title23 + ',' + '\"description\":' + description23 + ',' + '\"icon\":\"' + icon23 + '\",' + '\"duration\": ' + duration23 + ',' + '\"chnumber\": ' + chnumber23 + ', \"start\":' + '\"' + date_start_split23 + '\",\"stop\":\"' + date_end_split23 + '\",\"date_start\":\"' + date_start23 + '\",\"date_stop\":\"' + date_end23 + '\"},'\n\t\t\t\t+ name24 + ':{' + '\"title\":' + title24 + ',' + '\"description\":' + description24 + ',' + '\"icon\":\"' + icon24 + '\",' + '\"duration\": ' + duration24 + ',' + '\"chnumber\": ' + chnumber24 + ', \"start\":' + '\"' + date_start_split24 + '\",\"stop\":\"' + date_end_split24 + '\",\"date_start\":\"' + date_start24 + '\",\"date_stop\":\"' + date_end24 + '\"},'\n\t\t\t\t+ name25 + ':{' + '\"title\":' + title25 + ',' + '\"description\":' + description25 + ',' + '\"icon\":\"' + icon25 + '\",' + '\"duration\": ' + duration25 + ',' + '\"chnumber\": ' + chnumber25 + ', \"start\":' + '\"' + date_start_split25 + '\",\"stop\":\"' + date_end_split25 + '\",\"date_start\":\"' + date_start25 + '\",\"date_stop\":\"' + date_end25 + '\"},'\n\t\t\t\t+ name26 + ':{' + '\"title\":' + title26 + ',' + '\"description\":' + description26 + ',' + '\"icon\":\"' + icon26 + '\",' + '\"duration\": ' + duration26 + ',' + '\"chnumber\": ' + chnumber26 + ', \"start\":' + '\"' + date_start_split26 + '\",\"stop\":\"' + date_end_split26 + '\",\"date_start\":\"' + date_start26 + '\",\"date_stop\":\"' + date_end26 + '\"},'\n\t\t\t\t+ name27 + ':{' + '\"title\":' + title27 + ',' + '\"description\":' + description27 + ',' + '\"icon\":\"' + icon27 + '\",' + '\"duration\": ' + duration27 + ',' + '\"chnumber\": ' + chnumber27 + ', \"start\":' + '\"' + date_start_split27 + '\",\"stop\":\"' + date_end_split27 + '\",\"date_start\":\"' + date_start27 + '\",\"date_stop\":\"' + date_end27 + '\"},'\n\t\t\t\t+ name28 + ':{' + '\"title\":' + title28 + ',' + '\"description\":' + description28 + ',' + '\"icon\":\"' + icon28 + '\",' + '\"duration\": ' + duration28 + ',' + '\"chnumber\": ' + chnumber28 + ', \"start\":' + '\"' + date_start_split28 + '\",\"stop\":\"' + date_end_split28 + '\",\"date_start\":\"' + date_start28 + '\",\"date_stop\":\"' + date_end28 + '\"},'\n\t\t\t\t+ name29 + ':{' + '\"title\":' + title29 + ',' + '\"description\":' + description29 + ',' + '\"icon\":\"' + icon29 + '\",' + '\"duration\": ' + duration29 + ',' + '\"chnumber\": ' + chnumber29 + ', \"start\":' + '\"' + date_start_split29 + '\",\"stop\":\"' + date_end_split29 + '\",\"date_start\":\"' + date_start29 + '\",\"date_stop\":\"' + date_end29 + '\"},'\n\t\t\t\t+ name30 + ':{' + '\"title\":' + title30 + ',' + '\"description\":' + description30 + ',' + '\"icon\":\"' + icon30 + '\",' + '\"duration\": ' + duration30 + ',' + '\"chnumber\": ' + chnumber30 + ', \"start\":' + '\"' + date_start_split30 + '\",\"stop\":\"' + date_end_split30 + '\",\"date_start\":\"' + date_start30 + '\",\"date_stop\":\"' + date_end30 + '\"},'\n\t\t\t\t+ name31 + ':{' + '\"title\":' + title31 + ',' + '\"description\":' + description31 + ',' + '\"icon\":\"' + icon31 + '\",' + '\"duration\": ' + duration31 + ',' + '\"chnumber\": ' + chnumber31 + ', \"start\":' + '\"' + date_start_split31 + '\",\"stop\":\"' + date_end_split31 + '\",\"date_start\":\"' + date_start31 + '\",\"date_stop\":\"' + date_end31 + '\"},'\n\t\t\t\t+ name32 + ':{' + '\"title\":' + title32 + ',' + '\"description\":' + description32 + ',' + '\"icon\":\"' + icon32 + '\",' + '\"duration\": ' + duration32 + ',' + '\"chnumber\": ' + chnumber32 + ', \"start\":' + '\"' + date_start_split32 + '\",\"stop\":\"' + date_end_split32 + '\",\"date_start\":\"' + date_start32 + '\",\"date_stop\":\"' + date_end32 + '\"},'\n\t\t\t\t+ name33 + ':{' + '\"title\":' + title33 + ',' + '\"description\":' + description33 + ',' + '\"icon\":\"' + icon33 + '\",' + '\"duration\": ' + duration33 + ',' + '\"chnumber\": ' + chnumber33 + ', \"start\":' + '\"' + date_start_split33 + '\",\"stop\":\"' + date_end_split33 + '\",\"date_start\":\"' + date_start33 + '\",\"date_stop\":\"' + date_end33 + '\"},'\n\t\t\t\t+ name34 + ':{' + '\"title\":' + title34 + ',' + '\"description\":' + description34 + ',' + '\"icon\":\"' + icon34 + '\",' + '\"duration\": ' + duration34 + ',' + '\"chnumber\": ' + chnumber34 + ', \"start\":' + '\"' + date_start_split34 + '\",\"stop\":\"' + date_end_split34 + '\",\"date_start\":\"' + date_start34 + '\",\"date_stop\":\"' + date_end34 + '\"},'\n\t\t\t\t+ name35 + ':{' + '\"title\":' + title35 + ',' + '\"description\":' + description35 + ',' + '\"icon\":\"' + icon35 + '\",' + '\"duration\": ' + duration35 + ',' + '\"chnumber\": ' + chnumber35 + ', \"start\":' + '\"' + date_start_split35 + '\",\"stop\":\"' + date_end_split35 + '\",\"date_start\":\"' + date_start35 + '\",\"date_stop\":\"' + date_end35 + '\"},'\n\t\t\t\t+ name36 + ':{' + '\"title\":' + title36 + ',' + '\"description\":' + description36 + ',' + '\"icon\":\"' + icon36 + '\",' + '\"duration\": ' + duration36 + ',' + '\"chnumber\": ' + chnumber36 + ', \"start\":' + '\"' + date_start_split36 + '\",\"stop\":\"' + date_end_split36 + '\",\"date_start\":\"' + date_start36 + '\",\"date_stop\":\"' + date_end36 + '\"},'\n\t\t\t\t+ name37 + ':{' + '\"title\":' + title37 + ',' + '\"description\":' + description37 + ',' + '\"icon\":\"' + icon37 + '\",' + '\"duration\": ' + duration37 + ',' + '\"chnumber\": ' + chnumber37 + ', \"start\":' + '\"' + date_start_split37 + '\",\"stop\":\"' + date_end_split37 + '\",\"date_start\":\"' + date_start37 + '\",\"date_stop\":\"' + date_end37 + '\"},'\n\t\t\t\t+ name38 + ':{' + '\"title\":' + title38 + ',' + '\"description\":' + description38 + ',' + '\"icon\":\"' + icon38 + '\",' + '\"duration\": ' + duration38 + ',' + '\"chnumber\": ' + chnumber38 + ', \"start\":' + '\"' + date_start_split38 + '\",\"stop\":\"' + date_end_split38 + '\",\"date_start\":\"' + date_start38 + '\",\"date_stop\":\"' + date_end38 + '\"},'\n\t\t\t\t+ name39 + ':{' + '\"title\":' + title39 + ',' + '\"description\":' + description39 + ',' + '\"icon\":\"' + icon39 + '\",' + '\"duration\": ' + duration39 + ',' + '\"chnumber\": ' + chnumber39 + ', \"start\":' + '\"' + date_start_split39 + '\",\"stop\":\"' + date_end_split39 + '\",\"date_start\":\"' + date_start39 + '\",\"date_stop\":\"' + date_end39 + '\"},'\n\t\t\t\t+ name40 + ':{' + '\"title\":' + title40 + ',' + '\"description\":' + description40 + ',' + '\"icon\":\"' + icon40 + '\",' + '\"duration\": ' + duration40 + ',' + '\"chnumber\": ' + chnumber40 + ', \"start\":' + '\"' + date_start_split40 + '\",\"stop\":\"' + date_end_split40 + '\",\"date_start\":\"' + date_start40 + '\",\"date_stop\":\"' + date_end40 + '\"},'\n\t\t\t\t+ name41 + ':{' + '\"title\":' + title41 + ',' + '\"description\":' + description41 + ',' + '\"icon\":\"' + icon41 + '\",' + '\"duration\": ' + duration41 + ',' + '\"chnumber\": ' + chnumber41 + ', \"start\":' + '\"' + date_start_split41 + '\",\"stop\":\"' + date_end_split41 + '\",\"date_start\":\"' + date_start41 + '\",\"date_stop\":\"' + date_end41 + '\"},'\n\t\t\t\t+ name42 + ':{' + '\"title\":' + title42 + ',' + '\"description\":' + description42 + ',' + '\"icon\":\"' + icon42 + '\",' + '\"duration\": ' + duration42 + ',' + '\"chnumber\": ' + chnumber42 + ', \"start\":' + '\"' + date_start_split42 + '\",\"stop\":\"' + date_end_split42 + '\",\"date_start\":\"' + date_start42 + '\",\"date_stop\":\"' + date_end42 + '\"},'\n\t\t\t\t+ name43 + ':{' + '\"title\":' + title43 + ',' + '\"description\":' + description43 + ',' + '\"icon\":\"' + icon43 + '\",' + '\"duration\": ' + duration43 + ',' + '\"chnumber\": ' + chnumber43 + ', \"start\":' + '\"' + date_start_split43 + '\",\"stop\":\"' + date_end_split43 + '\",\"date_start\":\"' + date_start43 + '\",\"date_stop\":\"' + date_end43 + '\"},'\n\t\t\t\t+ name44 + ':{' + '\"title\":' + title44 + ',' + '\"description\":' + description44 + ',' + '\"icon\":\"' + icon44 + '\",' + '\"duration\": ' + duration44 + ',' + '\"chnumber\": ' + chnumber44 + ', \"start\":' + '\"' + date_start_split44 + '\",\"stop\":\"' + date_end_split44 + '\",\"date_start\":\"' + date_start44 + '\",\"date_stop\":\"' + date_end44 + '\"},'\n\t\t\t\t+ name45 + ':{' + '\"title\":' + title45 + ',' + '\"description\":' + description45 + ',' + '\"icon\":\"' + icon45 + '\",' + '\"duration\": ' + duration45 + ',' + '\"chnumber\": ' + chnumber45 + ', \"start\":' + '\"' + date_start_split45 + '\",\"stop\":\"' + date_end_split45 + '\",\"date_start\":\"' + date_start45 + '\",\"date_stop\":\"' + date_end45 + '\"},'\n\t\t\t\t+ name46 + ':{' + '\"title\":' + title46 + ',' + '\"description\":' + description46 + ',' + '\"icon\":\"' + icon46 + '\",' + '\"duration\": ' + duration46 + ',' + '\"chnumber\": ' + chnumber46 + ', \"start\":' + '\"' + date_start_split46 + '\",\"stop\":\"' + date_end_split46 + '\",\"date_start\":\"' + date_start46 + '\",\"date_stop\":\"' + date_end46 + '\"},'\n\t\t\t\t+ name47 + ':{' + '\"title\":' + title47 + ',' + '\"description\":' + description47 + ',' + '\"icon\":\"' + icon47 + '\",' + '\"duration\": ' + duration47 + ',' + '\"chnumber\": ' + chnumber47 + ', \"start\":' + '\"' + date_start_split47 + '\",\"stop\":\"' + date_end_split47 + '\",\"date_start\":\"' + date_start47 + '\",\"date_stop\":\"' + date_end47 + '\"},'\n\t\t\t\t+ name48 + ':{' + '\"title\":' + title48 + ',' + '\"description\":' + description48 + ',' + '\"icon\":\"' + icon48 + '\",' + '\"duration\": ' + duration48 + ',' + '\"chnumber\": ' + chnumber48 + ', \"start\":' + '\"' + date_start_split48 + '\",\"stop\":\"' + date_end_split48 + '\",\"date_start\":\"' + date_start48 + '\",\"date_stop\":\"' + date_end48 + '\"},'\n\t\t\t\t+ name49 + ':{' + '\"title\":' + title49 + ',' + '\"description\":' + description49 + ',' + '\"icon\":\"' + icon49 + '\",' + '\"duration\": ' + duration49 + ',' + '\"chnumber\": ' + chnumber49 + ', \"start\":' + '\"' + date_start_split49 + '\",\"stop\":\"' + date_end_split49 + '\",\"date_start\":\"' + date_start49 + '\",\"date_stop\":\"' + date_end49 + '\"},'\n\t\t\t\t+ name50 + ':{' + '\"title\":' + title50 + ',' + '\"description\":' + description50 + ',' + '\"icon\":\"' + icon50 + '\",' + '\"duration\": ' + duration50 + ',' + '\"chnumber\": ' + chnumber50 + ', \"start\":' + '\"' + date_start_split50 + '\",\"stop\":\"' + date_end_split50 + '\",\"date_start\":\"' + date_start50 + '\",\"date_stop\":\"' + date_end50 + '\"},'\n\t\t\t\t+ name51 + ':{' + '\"title\":' + title51 + ',' + '\"description\":' + description51 + ',' + '\"icon\":\"' + icon51 + '\",' + '\"duration\": ' + duration51 + ',' + '\"chnumber\": ' + chnumber51 + ', \"start\":' + '\"' + date_start_split51 + '\",\"stop\":\"' + date_end_split51 + '\",\"date_start\":\"' + date_start51 + '\",\"date_stop\":\"' + date_end51 + '\"},'\n\t\t\t\t+ name52 + ':{' + '\"title\":' + title52 + ',' + '\"description\":' + description52 + ',' + '\"icon\":\"' + icon52 + '\",' + '\"duration\": ' + duration52 + ',' + '\"chnumber\": ' + chnumber52 + ', \"start\":' + '\"' + date_start_split52 + '\",\"stop\":\"' + date_end_split52 + '\",\"date_start\":\"' + date_start52 + '\",\"date_stop\":\"' + date_end52 + '\"},'\n\t\t\t\t+ name53 + ':{' + '\"title\":' + title53 + ',' + '\"description\":' + description53 + ',' + '\"icon\":\"' + icon53 + '\",' + '\"duration\": ' + duration53 + ',' + '\"chnumber\": ' + chnumber53 + ', \"start\":' + '\"' + date_start_split53 + '\",\"stop\":\"' + date_end_split53 + '\",\"date_start\":\"' + date_start53 + '\",\"date_stop\":\"' + date_end53 + '\"},'\n\t\t\t\t+ name54 + ':{' + '\"title\":' + title54 + ',' + '\"description\":' + description54 + ',' + '\"icon\":\"' + icon54 + '\",' + '\"duration\": ' + duration54 + ',' + '\"chnumber\": ' + chnumber54 + ', \"start\":' + '\"' + date_start_split54 + '\",\"stop\":\"' + date_end_split54 + '\",\"date_start\":\"' + date_start54 + '\",\"date_stop\":\"' + date_end54 + '\"},'\n\t\t\t\t+ name55 + ':{' + '\"title\":' + title55 + ',' + '\"description\":' + description55 + ',' + '\"icon\":\"' + icon55 + '\",' + '\"duration\": ' + duration55 + ',' + '\"chnumber\": ' + chnumber55 + ', \"start\":' + '\"' + date_start_split55 + '\",\"stop\":\"' + date_end_split55 + '\",\"date_start\":\"' + date_start55 + '\",\"date_stop\":\"' + date_end55 + '\"},'\n\t\t\t\t+ name56 + ':{' + '\"title\":' + title56 + ',' + '\"description\":' + description56 + ',' + '\"icon\":\"' + icon56 + '\",' + '\"duration\": ' + duration56 + ',' + '\"chnumber\": ' + chnumber56 + ', \"start\":' + '\"' + date_start_split56 + '\",\"stop\":\"' + date_end_split56 + '\",\"date_start\":\"' + date_start56 + '\",\"date_stop\":\"' + date_end56 + '\"},'\n\t\t\t\t+ name57 + ':{' + '\"title\":' + title57 + ',' + '\"description\":' + description57 + ',' + '\"icon\":\"' + icon57 + '\",' + '\"duration\": ' + duration57 + ',' + '\"chnumber\": ' + chnumber57 + ', \"start\":' + '\"' + date_start_split57 + '\",\"stop\":\"' + date_end_split57 + '\",\"date_start\":\"' + date_start57 + '\",\"date_stop\":\"' + date_end57 + '\"},'\n\t\t\t\t+ name58 + ':{' + '\"title\":' + title58 + ',' + '\"description\":' + description58 + ',' + '\"icon\":\"' + icon58 + '\",' + '\"duration\": ' + duration58 + ',' + '\"chnumber\": ' + chnumber58 + ', \"start\":' + '\"' + date_start_split58 + '\",\"stop\":\"' + date_end_split58 + '\",\"date_start\":\"' + date_start58 + '\",\"date_stop\":\"' + date_end58 + '\"},'\n\t\t\t\t+ name59 + ':{' + '\"title\":' + title59 + ',' + '\"description\":' + description59 + ',' + '\"icon\":\"' + icon59 + '\",' + '\"duration\": ' + duration59 + ',' + '\"chnumber\": ' + chnumber59 + ', \"start\":' + '\"' + date_start_split59 + '\",\"stop\":\"' + date_end_split59 + '\",\"date_start\":\"' + date_start59 + '\",\"date_stop\":\"' + date_end59 + '\"},'\n\t\t\t\t+ name60 + ':{' + '\"title\":' + title60 + ',' + '\"description\":' + description60 + ',' + '\"icon\":\"' + icon60 + '\",' + '\"duration\": ' + duration60 + ',' + '\"chnumber\": ' + chnumber60 + ', \"start\":' + '\"' + date_start_split60 + '\",\"stop\":\"' + date_end_split60 + '\",\"date_start\":\"' + date_start60 + '\",\"date_stop\":\"' + date_end60 + '\"}}'\n\t\t\t\t\n node.send(msg);\n\nreturn;",
"outputs": 1,
"timeout": "",
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 2680,
"y": 2600,
"wires": [["7d968f0f5675d5a7"]]
},
{
"id": "bdf5ded2a08b3408",
"type": "http request",
"z": "973dcb133a1fdc46",
"name": "",
"method": "GET",
"ret": "obj",
"paytoqs": "ignore",
"url": "",
"tls": "",
"persist": false,
"proxy": "",
"insecureHTTPParser": false,
"authType": "",
"senderr": false,
"headers": [],
"x": 2370,
"y": 2600,
"wires": [["8cb237e74d41f20b"]]
},
{
"id": "e49a7a3d18289696",
"type": "inject",
"z": "973dcb133a1fdc46",
"name": "",
"props": [{ "p": "timestamp", "v": "", "vt": "date" }],
"repeat": "",
"crontab": "",
"once": true,
"onceDelay": "18",
"topic": "",
"x": 2110,
"y": 2640,
"wires": [["7898ecadb3de879f"]]
},
{
"id": "7898ecadb3de879f",
"type": "function",
"z": "973dcb133a1fdc46",
"name": "function primetime domani",
"func": "var ora = Date.now();\nvar date = new Date(ora).toLocaleDateString(\"it-IT\").replace(\"/\", \"-\").replace(\"/\", \"-\")\nvar time = new Date(ora).toLocaleTimeString(\"it-IT\")\nvar currentDate = new Date();\nvar tomorrow = currentDate.setDate(currentDate.getDate() + 1 );\nvar domani = new Date(tomorrow).toLocaleDateString(\"it-IT\").replace(\"/\", \"-\").replace(\"/\", \"-\")\n\nmsg.url = \"https://services.tivulaguida.it/api/epg/programming/events/primetime/\" + domani\n\nvar lastchecked = msg.timestamp\nvar date2 = new Date(lastchecked).toLocaleDateString(\"it-IT\")\nvar time2 = new Date(lastchecked).toLocaleTimeString(\"it-IT\").slice(0, -3)\nvar finaldate = time2 + \" \" + date2\nmsg.timestamp = finaldate\n\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 2400,
"y": 2680,
"wires": [["bdf5ded2a08b3408"]]
},
{
"id": "7d968f0f5675d5a7",
"type": "json",
"z": "973dcb133a1fdc46",
"name": "",
"property": "final",
"action": "",
"pretty": false,
"x": 2990,
"y": 2760,
"wires": [
[
"d032ac92e308fcf3",
"125e78fa7a007337",
"c82e2bde3f2fdd07",
"4f442fb2a80b754a",
"351a7b658f2f45e0",
"0eeb7451238946a9",
"7b102e14fcceae17",
"8613b41cdde52a90",
"1ffb76846508f340",
"eeeb0895d18d7d45",
"9188e378bc767884",
"56c0ac25f7bb757e",
"348bab5e439f12d9",
"7f45077fde5cb760",
"e15e2fc3fc0ed6b2",
"e3c47f0837350cd3",
"df90e871da06192e",
"3fbf8459d0d0cbe4",
"fd5faba85aa8a543",
"9b9ba1226cdaaf1a",
"4582d4c6e59aca1f",
"f9b16edc688cd5d6",
"96eaee0bec69f174"
]
]
},
{
"id": "46a771710978114b",
"type": "ha-button",
"z": "973dcb133a1fdc46",
"name": "Update Domani in TV",
"version": 0,
"debugenabled": false,
"outputs": 1,
"entityConfig": "c4cc574766d1d695",
"outputProperties": [{ "property": "timestamp", "propertyType": "msg", "value": "", "valueType": "date" }],
"x": 2140,
"y": 2700,
"wires": [["7898ecadb3de879f"]]
},
{
"id": "59d90ea3a2773e6c",
"type": "http request",
"z": "973dcb133a1fdc46",
"name": "",
"method": "GET",
"ret": "obj",
"paytoqs": "ignore",
"url": "",
"tls": "",
"persist": false,
"proxy": "",
"insecureHTTPParser": false,
"authType": "",
"senderr": false,
"headers": [],
"x": 650,
"y": 740,
"wires": [["c79dfcdb504513dc"]]
},
{
"id": "09750c9bebf94147",
"type": "inject",
"z": "973dcb133a1fdc46",
"name": "",
"props": [{ "p": "timestamp", "v": "", "vt": "date" }],
"repeat": "",
"crontab": "",
"once": true,
"onceDelay": "10",
"topic": "",
"x": 390,
"y": 780,
"wires": [["093b50e36bc2de5a"]]
},
{
"id": "45bdb89691ceb834",
"type": "json",
"z": "973dcb133a1fdc46",
"name": "",
"property": "final",
"action": "",
"pretty": false,
"x": 1050,
"y": 900,
"wires": [
[
"fa78065fed7b8d9c",
"9a1f39cce6b74d4b",
"79204da14a4bc0bf",
"24c7370da827147a",
"cb89e5fd690ac173",
"825c5c9fc647c197",
"6b2bc513085ed5ab",
"8f66da32199ae6d6",
"2dc8bdd93b4aca82",
"cb6d47118526b795",
"419586faa99f6587",
"98241d2ece8a9cb4",
"91cbfb8f0a00c60f",
"2e66a2fd5fbbd065",
"ac1ac7f414525311",
"08d46455d8316970",
"7ad5eb72dd7dab8c",
"1a1ff3042eef85c0",
"b8fe17f7d9ed3b1d",
"106e0b274f393d22",
"e91bc63fcac97b5e",
"6f8c4cb9d7bcd8f5",
"7c0e20616c015cbc"
]
]
},
{
"id": "c79dfcdb504513dc",
"type": "function",
"z": "973dcb133a1fdc46",
"name": "catch array name channel",
"func": "\n var name0 = JSON.stringify(msg.payload.events[0].channel.name);\n var title0 = JSON.stringify(msg.payload.events[0].program.title);\n var description0 = JSON.stringify(msg.payload.events[0].program.description);\n var date_start0 = msg.payload.events[0].date_start.split(\" \");\n var date_start_split0 = date_start0[1];\n var date_end0 = msg.payload.events[0].date_end.split(\" \");\n var date_end_split0 = date_end0[1];\n var duration0 = msg.payload.events[0].duration\n var icon0 = msg.payload.events[0].channel.icon\n\tvar chnumber0 = msg.payload.events[0].channel.channel_sat\n\tvar date_start0 = msg.payload.events[0].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start0 = date_start0[2] + '-' + date_start0[1] + '-' + date_start0[0] + ' ' + date_start0[3] + ':00.000000+02:00';\n var date_end0 = msg.payload.events[0].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end0 = date_end0[2] + '-' + date_end0[1] + '-' + date_end0[0] + ' ' + date_end0[3] + ':00.000000+02:00';\n\t\n var name1 = JSON.stringify(msg.payload.events[1].channel.name);\n var title1 = JSON.stringify(msg.payload.events[1].program.title);\n var description1 = JSON.stringify(msg.payload.events[1].program.description);\n var date_start1 = msg.payload.events[1].date_start.split(\" \");\n var date_start_split1 = date_start1[1];\n var date_end1 = msg.payload.events[1].date_end.split(\" \");\n var date_end_split1 = date_end1[1];\n var duration1 = msg.payload.events[1].duration\n var icon1 = msg.payload.events[1].channel.icon\n var chnumber1 = msg.payload.events[1].channel.channel_sat\n\tvar date_start1 = msg.payload.events[1].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start1 = date_start1[2] + '-' + date_start1[1] + '-' + date_start1[0] + ' ' + date_start1[3] + ':00.000000+02:00';\n var date_end1 = msg.payload.events[1].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end1 = date_end1[2] + '-' + date_end1[1] + '-' + date_end1[0] + ' ' + date_end1[3] + ':00.000000+02:00';\n\t\n var name2 = JSON.stringify(msg.payload.events[2].channel.name);\n var title2 = JSON.stringify(msg.payload.events[2].program.title);\n var description2 = JSON.stringify(msg.payload.events[2].program.description);\n var date_start2 = msg.payload.events[2].date_start.split(\" \");\n var date_start_split2 = date_start2[1];\n var date_end2 = msg.payload.events[2].date_end.split(\" \");\n var date_end_split2 = date_end2[1];\n var duration2 = msg.payload.events[2].duration\n var icon2 = msg.payload.events[2].channel.icon\n\tvar chnumber2 = msg.payload.events[2].channel.channel_sat\n\tvar date_start2 = msg.payload.events[2].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start2 = date_start2[2] + '-' + date_start2[1] + '-' + date_start2[0] + ' ' + date_start2[3] + ':00.000000+02:00';\n var date_end2 = msg.payload.events[2].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end2 = date_end2[2] + '-' + date_end2[1] + '-' + date_end2[0] + ' ' + date_end2[3] + ':00.000000+02:00';\n\t\n\tvar name3 = JSON.stringify(msg.payload.events[3].channel.name);\n var title3 = JSON.stringify(msg.payload.events[3].program.title);\n var description3 = JSON.stringify(msg.payload.events[3].program.description);\n var date_start3 = msg.payload.events[3].date_start.split(\" \");\n var date_start_split3 = date_start3[1];\n var date_end3 = msg.payload.events[3].date_end.split(\" \");\n var date_end_split3 = date_end3[1];\n var duration3 = msg.payload.events[3].duration\n var icon3 = msg.payload.events[3].channel.icon\n\tvar chnumber3 = msg.payload.events[3].channel.channel_sat\n\tvar date_start3 = msg.payload.events[3].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start3 = date_start3[2] + '-' + date_start3[1] + '-' + date_start3[0] + ' ' + date_start3[3] + ':00.000000+02:00';\n var date_end3 = msg.payload.events[3].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end3 = date_end3[2] + '-' + date_end3[1] + '-' + date_end3[0] + ' ' + date_end3[3] + ':00.000000+02:00';\n\t\n\tvar name4 = JSON.stringify(msg.payload.events[4].channel.name);\n var title4 = JSON.stringify(msg.payload.events[4].program.title);\n var description4 = JSON.stringify(msg.payload.events[4].program.description);\n var date_start4 = msg.payload.events[4].date_start.split(\" \");\n var date_start_split4 = date_start4[1];\n var date_end4 = msg.payload.events[4].date_end.split(\" \");\n var date_end_split4 = date_end4[1];\n var duration4 = msg.payload.events[4].duration\n var icon4 = msg.payload.events[4].channel.icon\n\tvar chnumber4 = msg.payload.events[4].channel.channel_sat\n\tvar date_start4 = msg.payload.events[4].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start4 = date_start4[2] + '-' + date_start4[1] + '-' + date_start4[0] + ' ' + date_start4[3] + ':00.000000+02:00';\n var date_end4 = msg.payload.events[4].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end4 = date_end4[2] + '-' + date_end4[1] + '-' + date_end4[0] + ' ' + date_end4[3] + ':00.000000+02:00';\n\t\n\tvar name5 = JSON.stringify(msg.payload.events[5].channel.name);\n var title5 = JSON.stringify(msg.payload.events[5].program.title);\n var description5 = JSON.stringify(msg.payload.events[5].program.description);\n var date_start5 = msg.payload.events[5].date_start.split(\" \");\n var date_start_split5 = date_start5[1];\n var date_end5 = msg.payload.events[5].date_end.split(\" \");\n var date_end_split5 = date_end5[1];\n var duration5 = msg.payload.events[5].duration\n var icon5 = msg.payload.events[5].channel.icon\n\tvar chnumber5 = msg.payload.events[5].channel.channel_sat\n\tvar date_start5 = msg.payload.events[5].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start5 = date_start5[2] + '-' + date_start5[1] + '-' + date_start5[0] + ' ' + date_start5[3] + ':00.000000+02:00';\n var date_end5 = msg.payload.events[5].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end5 = date_end5[2] + '-' + date_end5[1] + '-' + date_end5[0] + ' ' + date_end5[3] + ':00.000000+02:00';\n\t\n\tvar name6 = JSON.stringify(msg.payload.events[6].channel.name);\n var title6 = JSON.stringify(msg.payload.events[6].program.title);\n var description6 = JSON.stringify(msg.payload.events[6].program.description);\n var date_start6 = msg.payload.events[6].date_start.split(\" \");\n var date_start_split6 = date_start6[1];\n var date_end6 = msg.payload.events[6].date_end.split(\" \");\n var date_end_split6 = date_end6[1];\n var duration6 = msg.payload.events[6].duration\n var icon6 = msg.payload.events[6].channel.icon\n\tvar chnumber6 = msg.payload.events[6].channel.channel_sat\n\tvar date_start6 = msg.payload.events[6].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start6 = date_start6[2] + '-' + date_start6[1] + '-' + date_start6[0] + ' ' + date_start6[3] + ':00.000000+02:00';\n var date_end6 = msg.payload.events[6].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end6 = date_end6[2] + '-' + date_end6[1] + '-' + date_end6[0] + ' ' + date_end6[3] + ':00.000000+02:00';\n\t\n\tvar name7 = JSON.stringify(msg.payload.events[7].channel.name);\n var title7 = JSON.stringify(msg.payload.events[7].program.title);\n var description7 = JSON.stringify(msg.payload.events[7].program.description);\n var date_start7 = msg.payload.events[7].date_start.split(\" \");\n var date_start_split7 = date_start7[1];\n var date_end7 = msg.payload.events[7].date_end.split(\" \");\n var date_end_split7 = date_end7[1];\n var duration7 = msg.payload.events[7].duration\n var icon7 = msg.payload.events[7].channel.icon\n\tvar chnumber7 = msg.payload.events[7].channel.channel_sat\n\tvar date_start7 = msg.payload.events[7].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start7 = date_start7[2] + '-' + date_start7[1] + '-' + date_start7[0] + ' ' + date_start7[3] + ':00.000000+02:00';\n var date_end7 = msg.payload.events[7].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end7 = date_end7[2] + '-' + date_end7[1] + '-' + date_end7[0] + ' ' + date_end7[3] + ':00.000000+02:00';\n\t\n\tvar name8 = JSON.stringify(msg.payload.events[8].channel.name);\n var title8 = JSON.stringify(msg.payload.events[8].program.title);\n var description8 = JSON.stringify(msg.payload.events[8].program.description);\n var date_start8 = msg.payload.events[8].date_start.split(\" \");\n var date_start_split8 = date_start8[1];\n var date_end8 = msg.payload.events[8].date_end.split(\" \");\n var date_end_split8 = date_end8[1];\n var duration8 = msg.payload.events[8].duration\n var icon8 = msg.payload.events[8].channel.icon\n\tvar chnumber8 = msg.payload.events[8].channel.channel_sat\n\tvar date_start8 = msg.payload.events[8].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start8 = date_start8[2] + '-' + date_start8[1] + '-' + date_start8[0] + ' ' + date_start8[3] + ':00.000000+02:00';\n var date_end8 = msg.payload.events[8].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end8 = date_end8[2] + '-' + date_end8[1] + '-' + date_end8[0] + ' ' + date_end8[3] + ':00.000000+02:00';\n\t\n\tvar name9 = JSON.stringify(msg.payload.events[9].channel.name);\n var title9 = JSON.stringify(msg.payload.events[9].program.title);\n var description9 = JSON.stringify(msg.payload.events[9].program.description);\n var date_start9 = msg.payload.events[9].date_start.split(\" \");\n var date_start_split9 = date_start9[1];\n var date_end9 = msg.payload.events[9].date_end.split(\" \");\n var date_end_split9 = date_end9[1];\n var duration9 = msg.payload.events[9].duration\n var icon9 = msg.payload.events[9].channel.icon\n\tvar chnumber9 = msg.payload.events[9].channel.channel_sat\n\tvar date_start9 = msg.payload.events[9].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start9 = date_start9[2] + '-' + date_start9[1] + '-' + date_start9[0] + ' ' + date_start9[3] + ':00.000000+02:00';\n var date_end9 = msg.payload.events[9].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end9 = date_end9[2] + '-' + date_end9[1] + '-' + date_end9[0] + ' ' + date_end9[3] + ':00.000000+02:00';\n\t\n\tvar name10 = JSON.stringify(msg.payload.events[10].channel.name);\n var title10 = JSON.stringify(msg.payload.events[10].program.title);\n var description10 = JSON.stringify(msg.payload.events[10].program.description);\n var date_start10 = msg.payload.events[10].date_start.split(\" \");\n var date_start_split10 = date_start10[1];\n var date_end10 = msg.payload.events[10].date_end.split(\" \");\n var date_end_split10 = date_end10[1];\n var duration10 = msg.payload.events[10].duration\n var icon10 = msg.payload.events[10].channel.icon\n\tvar chnumber10 = msg.payload.events[10].channel.channel_sat\n\tvar date_start10 = msg.payload.events[10].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start10 = date_start10[2] + '-' + date_start10[1] + '-' + date_start10[0] + ' ' + date_start10[3] + ':00.000000+02:00';\n var date_end10 = msg.payload.events[10].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end10 = date_end10[2] + '-' + date_end10[1] + '-' + date_end10[0] + ' ' + date_end10[3] + ':00.000000+02:00';\n\t\n\tvar name11 = JSON.stringify(msg.payload.events[11].channel.name);\n var title11 = JSON.stringify(msg.payload.events[11].program.title);\n var description11 = JSON.stringify(msg.payload.events[11].program.description);\n var date_start11 = msg.payload.events[11].date_start.split(\" \");\n var date_start_split11 = date_start11[1];\n var date_end11 = msg.payload.events[11].date_end.split(\" \");\n var date_end_split11 = date_end11[1];\n var duration11 = msg.payload.events[11].duration\n var icon11 = msg.payload.events[11].channel.icon\n\tvar chnumber11 = msg.payload.events[11].channel.channel_sat\n\tvar date_start11 = msg.payload.events[11].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start11 = date_start11[2] + '-' + date_start11[1] + '-' + date_start11[0] + ' ' + date_start11[3] + ':00.000000+02:00';\n var date_end11 = msg.payload.events[11].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end11 = date_end11[2] + '-' + date_end11[1] + '-' + date_end11[0] + ' ' + date_end11[3] + ':00.000000+02:00';\n\t\n\tvar name12 = JSON.stringify(msg.payload.events[12].channel.name);\n var title12 = JSON.stringify(msg.payload.events[12].program.title);\n var description12 = JSON.stringify(msg.payload.events[12].program.description);\n var date_start12 = msg.payload.events[12].date_start.split(\" \");\n var date_start_split12 = date_start12[1];\n var date_end12 = msg.payload.events[12].date_end.split(\" \");\n var date_end_split12 = date_end12[1];\n var duration12 = msg.payload.events[12].duration\n var icon12 = msg.payload.events[12].channel.icon\n\tvar chnumber12 = msg.payload.events[12].channel.channel_sat\n\tvar date_start12 = msg.payload.events[12].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start12 = date_start12[2] + '-' + date_start12[1] + '-' + date_start12[0] + ' ' + date_start12[3] + ':00.000000+02:00';\n var date_end12 = msg.payload.events[12].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end12 = date_end12[2] + '-' + date_end12[1] + '-' + date_end12[0] + ' ' + date_end12[3] + ':00.000000+02:00';\n\t\n\tvar name13 = JSON.stringify(msg.payload.events[13].channel.name);\n var title13 = JSON.stringify(msg.payload.events[13].program.title);\n var description13 = JSON.stringify(msg.payload.events[13].program.description);\n var date_start13 = msg.payload.events[13].date_start.split(\" \");\n var date_start_split13 = date_start13[1];\n var date_end13 = msg.payload.events[13].date_end.split(\" \");\n var date_end_split13 = date_end13[1];\n var duration13 = msg.payload.events[13].duration\n var icon13 = msg.payload.events[13].channel.icon\n\tvar chnumber13 = msg.payload.events[13].channel.channel_sat\n\tvar date_start13 = msg.payload.events[13].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start13 = date_start13[2] + '-' + date_start13[1] + '-' + date_start13[0] + ' ' + date_start13[3] + ':00.000000+02:00';\n var date_end13 = msg.payload.events[13].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end13 = date_end13[2] + '-' + date_end13[1] + '-' + date_end13[0] + ' ' + date_end13[3] + ':00.000000+02:00';\n\t\n\tvar name14 = JSON.stringify(msg.payload.events[14].channel.name);\n var title14 = JSON.stringify(msg.payload.events[14].program.title);\n var description14 = JSON.stringify(msg.payload.events[14].program.description);\n var date_start14 = msg.payload.events[14].date_start.split(\" \");\n var date_start_split14 = date_start14[1];\n var date_end14 = msg.payload.events[14].date_end.split(\" \");\n var date_end_split14 = date_end14[1];\n var duration14 = msg.payload.events[14].duration\n var icon14 = msg.payload.events[14].channel.icon\n\tvar chnumber14 = msg.payload.events[14].channel.channel_sat\n\tvar date_start14 = msg.payload.events[14].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start14 = date_start14[2] + '-' + date_start14[1] + '-' + date_start14[0] + ' ' + date_start14[3] + ':00.000000+02:00';\n var date_end14 = msg.payload.events[14].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end14 = date_end14[2] + '-' + date_end14[1] + '-' + date_end14[0] + ' ' + date_end14[3] + ':00.000000+02:00';\n\t\n\tvar name15 = JSON.stringify(msg.payload.events[15].channel.name);\n var title15 = JSON.stringify(msg.payload.events[15].program.title);\n var description15 = JSON.stringify(msg.payload.events[15].program.description);\n var date_start15 = msg.payload.events[15].date_start.split(\" \");\n var date_start_split15 = date_start15[1];\n var date_end15 = msg.payload.events[15].date_end.split(\" \");\n var date_end_split15 = date_end15[1];\n var duration15 = msg.payload.events[15].duration\n var icon15 = msg.payload.events[15].channel.icon\n\tvar chnumber15 = msg.payload.events[15].channel.channel_sat\n\tvar date_start15 = msg.payload.events[15].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start15 = date_start15[2] + '-' + date_start15[1] + '-' + date_start15[0] + ' ' + date_start15[3] + ':00.000000+02:00';\n var date_end15 = msg.payload.events[15].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end15 = date_end15[2] + '-' + date_end15[1] + '-' + date_end15[0] + ' ' + date_end15[3] + ':00.000000+02:00';\n\t\n\tvar name16 = JSON.stringify(msg.payload.events[16].channel.name);\n var title16 = JSON.stringify(msg.payload.events[16].program.title);\n var description16 = JSON.stringify(msg.payload.events[16].program.description);\n var date_start16 = msg.payload.events[16].date_start.split(\" \");\n var date_start_split16 = date_start16[1];\n var date_end16 = msg.payload.events[16].date_end.split(\" \");\n var date_end_split16 = date_end16[1];\n var duration16 = msg.payload.events[16].duration\n var icon16 = msg.payload.events[16].channel.icon\n\tvar chnumber16 = msg.payload.events[16].channel.channel_sat\n\tvar date_start16 = msg.payload.events[16].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start16 = date_start16[2] + '-' + date_start16[1] + '-' + date_start16[0] + ' ' + date_start16[3] + ':00.000000+02:00';\n var date_end16 = msg.payload.events[16].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end16 = date_end16[2] + '-' + date_end16[1] + '-' + date_end16[0] + ' ' + date_end16[3] + ':00.000000+02:00';\n\t\n\tvar name17 = JSON.stringify(msg.payload.events[17].channel.name);\n var title17 = JSON.stringify(msg.payload.events[17].program.title);\n var description17 = JSON.stringify(msg.payload.events[17].program.description);\n var date_start17 = msg.payload.events[17].date_start.split(\" \");\n var date_start_split17 = date_start17[1];\n var date_end17 = msg.payload.events[17].date_end.split(\" \");\n var date_end_split17 = date_end17[1];\n var duration17 = msg.payload.events[17].duration\n var icon17 = msg.payload.events[17].channel.icon\n\tvar chnumber17 = msg.payload.events[17].channel.channel_sat\n\tvar date_start17 = msg.payload.events[17].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start17 = date_start17[2] + '-' + date_start17[1] + '-' + date_start17[0] + ' ' + date_start17[3] + ':00.000000+02:00';\n var date_end17 = msg.payload.events[17].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end17 = date_end17[2] + '-' + date_end17[1] + '-' + date_end17[0] + ' ' + date_end17[3] + ':00.000000+02:00';\n\t\n\tvar name18 = JSON.stringify(msg.payload.events[18].channel.name);\n var title18 = JSON.stringify(msg.payload.events[18].program.title);\n var description18 = JSON.stringify(msg.payload.events[18].program.description);\n var date_start18 = msg.payload.events[18].date_start.split(\" \");\n var date_start_split18 = date_start18[1];\n var date_end18 = msg.payload.events[18].date_end.split(\" \");\n var date_end_split18 = date_end18[1];\n var duration18 = msg.payload.events[18].duration\n var icon18 = msg.payload.events[18].channel.icon\n\tvar chnumber18 = msg.payload.events[18].channel.channel_sat\n\tvar date_start18 = msg.payload.events[18].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start18 = date_start18[2] + '-' + date_start18[1] + '-' + date_start18[0] + ' ' + date_start18[3] + ':00.000000+02:00';\n var date_end18 = msg.payload.events[18].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end18 = date_end18[2] + '-' + date_end18[1] + '-' + date_end18[0] + ' ' + date_end18[3] + ':00.000000+02:00';\n\t\n\tvar name19 = JSON.stringify(msg.payload.events[19].channel.name);\n var title19 = JSON.stringify(msg.payload.events[19].program.title);\n var description19 = JSON.stringify(msg.payload.events[19].program.description);\n var date_start19 = msg.payload.events[19].date_start.split(\" \");\n var date_start_split19 = date_start19[1];\n var date_end19 = msg.payload.events[19].date_end.split(\" \");\n var date_end_split19 = date_end19[1];\n var duration19 = msg.payload.events[19].duration\n var icon19 = msg.payload.events[19].channel.icon\n\tvar chnumber19 = msg.payload.events[19].channel.channel_sat\n\tvar date_start19 = msg.payload.events[19].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start19 = date_start19[2] + '-' + date_start19[1] + '-' + date_start19[0] + ' ' + date_start19[3] + ':00.000000+02:00';\n var date_end19 = msg.payload.events[19].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end19 = date_end19[2] + '-' + date_end19[1] + '-' + date_end19[0] + ' ' + date_end19[3] + ':00.000000+02:00';\n\t\n var name20 = JSON.stringify(msg.payload.events[20].channel.name);\n var title20 = JSON.stringify(msg.payload.events[20].program.title);\n var description20 = JSON.stringify(msg.payload.events[20].program.description);\n var date_start20 = msg.payload.events[20].date_start.split(\" \");\n var date_start_split20 = date_start20[1];\n var date_end20 = msg.payload.events[20].date_end.split(\" \");\n var date_end_split20 = date_end20[1];\n var duration20 = msg.payload.events[20].duration\n var icon20 = msg.payload.events[20].channel.icon\n\tvar chnumber20 = msg.payload.events[20].channel.channel_sat\n\tvar date_start20 = msg.payload.events[20].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start20 = date_start20[2] + '-' + date_start20[1] + '-' + date_start20[0] + ' ' + date_start20[3] + ':00.000000+02:00';\n var date_end20 = msg.payload.events[20].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end20 = date_end20[2] + '-' + date_end20[1] + '-' + date_end20[0] + ' ' + date_end20[3] + ':00.000000+02:00';\n\t\n\tvar name21 = JSON.stringify(msg.payload.events[21].channel.name);\n var title21 = JSON.stringify(msg.payload.events[21].program.title);\n var description21 = JSON.stringify(msg.payload.events[21].program.description);\n var date_start21 = msg.payload.events[21].date_start.split(\" \");\n var date_start_split21 = date_start21[1];\n var date_end21 = msg.payload.events[21].date_end.split(\" \");\n var date_end_split21 = date_end21[1];\n var duration21 = msg.payload.events[21].duration\n var icon21 = msg.payload.events[21].channel.icon\n\tvar chnumber21 = msg.payload.events[21].channel.channel_sat\n\tvar date_start21 = msg.payload.events[21].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start21 = date_start21[2] + '-' + date_start21[1] + '-' + date_start21[0] + ' ' + date_start21[3] + ':00.000000+02:00';\n var date_end21 = msg.payload.events[21].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end21 = date_end21[2] + '-' + date_end21[1] + '-' + date_end21[0] + ' ' + date_end21[3] + ':00.000000+02:00';\n\t\n\tvar name22 = JSON.stringify(msg.payload.events[22].channel.name);\n var title22 = JSON.stringify(msg.payload.events[22].program.title);\n var description22 = JSON.stringify(msg.payload.events[22].program.description);\n var date_start22 = msg.payload.events[22].date_start.split(\" \");\n var date_start_split22 = date_start22[1];\n var date_end22 = msg.payload.events[22].date_end.split(\" \");\n var date_end_split22 = date_end22[1];\n var duration22 = msg.payload.events[22].duration\n var icon22 = msg.payload.events[22].channel.icon\n\tvar chnumber22 = msg.payload.events[22].channel.channel_sat\n\tvar date_start22 = msg.payload.events[22].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start22 = date_start22[2] + '-' + date_start22[1] + '-' + date_start22[0] + ' ' + date_start22[3] + ':00.000000+02:00';\n var date_end22 = msg.payload.events[22].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end22 = date_end22[2] + '-' + date_end22[1] + '-' + date_end22[0] + ' ' + date_end22[3] + ':00.000000+02:00';\n\t\n\tvar name23 = JSON.stringify(msg.payload.events[23].channel.name);\n var title23 = JSON.stringify(msg.payload.events[23].program.title);\n var description23 = JSON.stringify(msg.payload.events[23].program.description);\n var date_start23 = msg.payload.events[23].date_start.split(\" \");\n var date_start_split23 = date_start23[1];\n var date_end23 = msg.payload.events[23].date_end.split(\" \");\n var date_end_split23 = date_end23[1];\n var duration23 = msg.payload.events[23].duration\n var icon23 = msg.payload.events[23].channel.icon\n\tvar chnumber23 = msg.payload.events[23].channel.channel_sat\n\tvar date_start23 = msg.payload.events[23].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start23 = date_start23[2] + '-' + date_start23[1] + '-' + date_start23[0] + ' ' + date_start23[3] + ':00.000000+02:00';\n var date_end23 = msg.payload.events[23].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end23 = date_end23[2] + '-' + date_end23[1] + '-' + date_end23[0] + ' ' + date_end23[3] + ':00.000000+02:00';\n\t\n\tvar name24 = JSON.stringify(msg.payload.events[24].channel.name);\n var title24 = JSON.stringify(msg.payload.events[24].program.title);\n var description24 = JSON.stringify(msg.payload.events[24].program.description);\n var date_start24 = msg.payload.events[24].date_start.split(\" \");\n var date_start_split24 = date_start24[1];\n var date_end24 = msg.payload.events[24].date_end.split(\" \");\n var date_end_split24 = date_end24[1];\n var duration24 = msg.payload.events[24].duration\n var icon24 = msg.payload.events[24].channel.icon\n\tvar chnumber24 = msg.payload.events[24].channel.channel_sat\n\tvar date_start24 = msg.payload.events[24].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start24 = date_start24[2] + '-' + date_start24[1] + '-' + date_start24[0] + ' ' + date_start24[3] + ':00.000000+02:00';\n var date_end24 = msg.payload.events[24].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end24 = date_end24[2] + '-' + date_end24[1] + '-' + date_end24[0] + ' ' + date_end24[3] + ':00.000000+02:00';\n\t\n\tvar name25 = JSON.stringify(msg.payload.events[25].channel.name);\n var title25 = JSON.stringify(msg.payload.events[25].program.title);\n var description25 = JSON.stringify(msg.payload.events[25].program.description);\n var date_start25 = msg.payload.events[25].date_start.split(\" \");\n var date_start_split25 = date_start25[1];\n var date_end25 = msg.payload.events[25].date_end.split(\" \");\n var date_end_split25 = date_end25[1];\n var duration25 = msg.payload.events[25].duration\n var icon25 = msg.payload.events[25].channel.icon\n\tvar chnumber25 = msg.payload.events[25].channel.channel_sat\n\tvar date_start25 = msg.payload.events[25].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start25 = date_start25[2] + '-' + date_start25[1] + '-' + date_start25[0] + ' ' + date_start25[3] + ':00.000000+02:00';\n var date_end25 = msg.payload.events[25].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end25 = date_end25[2] + '-' + date_end25[1] + '-' + date_end25[0] + ' ' + date_end25[3] + ':00.000000+02:00';\n\t\n\tvar name26 = JSON.stringify(msg.payload.events[26].channel.name);\n var title26 = JSON.stringify(msg.payload.events[26].program.title);\n var description26 = JSON.stringify(msg.payload.events[26].program.description);\n var date_start26 = msg.payload.events[26].date_start.split(\" \");\n var date_start_split26 = date_start26[1];\n var date_end26 = msg.payload.events[26].date_end.split(\" \");\n var date_end_split26 = date_end26[1];\n var duration26 = msg.payload.events[26].duration\n var icon26 = msg.payload.events[26].channel.icon\n\tvar chnumber26 = msg.payload.events[26].channel.channel_sat\n\tvar date_start26 = msg.payload.events[26].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start26 = date_start26[2] + '-' + date_start26[1] + '-' + date_start26[0] + ' ' + date_start26[3] + ':00.000000+02:00';\n var date_end26 = msg.payload.events[26].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end26 = date_end26[2] + '-' + date_end26[1] + '-' + date_end26[0] + ' ' + date_end26[3] + ':00.000000+02:00';\n\t\n\tvar name27 = JSON.stringify(msg.payload.events[27].channel.name);\n var title27 = JSON.stringify(msg.payload.events[27].program.title);\n var description27 = JSON.stringify(msg.payload.events[27].program.description);\n var date_start27 = msg.payload.events[27].date_start.split(\" \");\n var date_start_split27 = date_start27[1];\n var date_end27 = msg.payload.events[27].date_end.split(\" \");\n var date_end_split27 = date_end27[1];\n var duration27 = msg.payload.events[27].duration\n var icon27 = msg.payload.events[27].channel.icon\n\tvar chnumber27 = msg.payload.events[27].channel.channel_sat\n\tvar date_start27 = msg.payload.events[27].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start27 = date_start27[2] + '-' + date_start27[1] + '-' + date_start27[0] + ' ' + date_start27[3] + ':00.000000+02:00';\n var date_end27 = msg.payload.events[27].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end27 = date_end27[2] + '-' + date_end27[1] + '-' + date_end27[0] + ' ' + date_end27[3] + ':00.000000+02:00';\n\t\n\tvar name28 = JSON.stringify(msg.payload.events[28].channel.name);\n var title28 = JSON.stringify(msg.payload.events[28].program.title);\n var description28 = JSON.stringify(msg.payload.events[28].program.description);\n var date_start28 = msg.payload.events[28].date_start.split(\" \");\n var date_start_split28 = date_start28[1];\n var date_end28 = msg.payload.events[28].date_end.split(\" \");\n var date_end_split28 = date_end28[1];\n var duration28 = msg.payload.events[28].duration\n var icon28 = msg.payload.events[28].channel.icon\n\tvar chnumber28 = msg.payload.events[28].channel.channel_sat\n\tvar date_start28 = msg.payload.events[28].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start28 = date_start28[2] + '-' + date_start28[1] + '-' + date_start28[0] + ' ' + date_start28[3] + ':00.000000+02:00';\n var date_end28 = msg.payload.events[28].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end28 = date_end28[2] + '-' + date_end28[1] + '-' + date_end28[0] + ' ' + date_end28[3] + ':00.000000+02:00';\n\t\n\tvar name29 = JSON.stringify(msg.payload.events[29].channel.name);\n var title29 = JSON.stringify(msg.payload.events[29].program.title);\n var description29 = JSON.stringify(msg.payload.events[29].program.description);\n var date_start29 = msg.payload.events[29].date_start.split(\" \");\n var date_start_split29 = date_start29[1];\n var date_end29 = msg.payload.events[29].date_end.split(\" \");\n var date_end_split29 = date_end29[1];\n var duration29 = msg.payload.events[29].duration\n var icon29 = msg.payload.events[29].channel.icon\n\tvar chnumber29 = msg.payload.events[29].channel.channel_sat\n\tvar date_start29 = msg.payload.events[29].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start29 = date_start29[2] + '-' + date_start29[1] + '-' + date_start29[0] + ' ' + date_start29[3] + ':00.000000+02:00';\n var date_end29 = msg.payload.events[29].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end29 = date_end29[2] + '-' + date_end29[1] + '-' + date_end29[0] + ' ' + date_end29[3] + ':00.000000+02:00';\n\t\n var name30 = JSON.stringify(msg.payload.events[30].channel.name);\n var title30 = JSON.stringify(msg.payload.events[30].program.title);\n var description30 = JSON.stringify(msg.payload.events[30].program.description);\n var date_start30 = msg.payload.events[30].date_start.split(\" \");\n var date_start_split30 = date_start30[1];\n var date_end30 = msg.payload.events[30].date_end.split(\" \");\n var date_end_split30 = date_end30[1];\n var duration30 = msg.payload.events[30].duration\n var icon30 = msg.payload.events[30].channel.icon\n\tvar chnumber30 = msg.payload.events[30].channel.channel_sat\n\tvar date_start30 = msg.payload.events[30].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start30 = date_start30[2] + '-' + date_start30[1] + '-' + date_start30[0] + ' ' + date_start30[3] + ':00.000000+02:00';\n var date_end30 = msg.payload.events[30].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end30 = date_end30[2] + '-' + date_end30[1] + '-' + date_end30[0] + ' ' + date_end30[3] + ':00.000000+02:00';\n\t\n\tvar name31 = JSON.stringify(msg.payload.events[31].channel.name);\n var title31 = JSON.stringify(msg.payload.events[31].program.title);\n var description31 = JSON.stringify(msg.payload.events[31].program.description);\n var date_start31 = msg.payload.events[31].date_start.split(\" \");\n var date_start_split31 = date_start31[1];\n var date_end31 = msg.payload.events[31].date_end.split(\" \");\n var date_end_split31 = date_end31[1];\n var duration31 = msg.payload.events[31].duration\n var icon31 = msg.payload.events[31].channel.icon\n\tvar chnumber31 = msg.payload.events[31].channel.channel_sat\n\tvar date_start31 = msg.payload.events[31].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start31 = date_start31[2] + '-' + date_start31[1] + '-' + date_start31[0] + ' ' + date_start31[3] + ':00.000000+02:00';\n var date_end31 = msg.payload.events[31].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end31 = date_end31[2] + '-' + date_end31[1] + '-' + date_end31[0] + ' ' + date_end31[3] + ':00.000000+02:00';\n\t\n\tvar name32 = JSON.stringify(msg.payload.events[32].channel.name);\n var title32 = JSON.stringify(msg.payload.events[32].program.title);\n var description32 = JSON.stringify(msg.payload.events[32].program.description);\n var date_start32 = msg.payload.events[32].date_start.split(\" \");\n var date_start_split32 = date_start32[1];\n var date_end32 = msg.payload.events[32].date_end.split(\" \");\n var date_end_split32 = date_end32[1];\n var duration32 = msg.payload.events[32].duration\n var icon32 = msg.payload.events[32].channel.icon\n\tvar chnumber32 = msg.payload.events[32].channel.channel_sat\n\tvar date_start32 = msg.payload.events[32].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start32 = date_start32[2] + '-' + date_start32[1] + '-' + date_start32[0] + ' ' + date_start32[3] + ':00.000000+02:00';\n var date_end32 = msg.payload.events[32].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end32 = date_end32[2] + '-' + date_end32[1] + '-' + date_end32[0] + ' ' + date_end32[3] + ':00.000000+02:00';\n\t\n\tvar name33 = JSON.stringify(msg.payload.events[33].channel.name);\n var title33 = JSON.stringify(msg.payload.events[33].program.title);\n var description33 = JSON.stringify(msg.payload.events[33].program.description);\n var date_start33 = msg.payload.events[33].date_start.split(\" \");\n var date_start_split33 = date_start33[1];\n var date_end33 = msg.payload.events[33].date_end.split(\" \");\n var date_end_split33 = date_end33[1];\n var duration33 = msg.payload.events[33].duration\n var icon33 = msg.payload.events[33].channel.icon\n\tvar chnumber33 = msg.payload.events[33].channel.channel_sat\n\tvar date_start33 = msg.payload.events[33].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start33 = date_start33[2] + '-' + date_start33[1] + '-' + date_start33[0] + ' ' + date_start33[3] + ':00.000000+02:00';\n var date_end33 = msg.payload.events[33].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end33 = date_end33[2] + '-' + date_end33[1] + '-' + date_end33[0] + ' ' + date_end33[3] + ':00.000000+02:00';\n\t\n\tvar name34 = JSON.stringify(msg.payload.events[34].channel.name);\n var title34 = JSON.stringify(msg.payload.events[34].program.title);\n var description34 = JSON.stringify(msg.payload.events[34].program.description);\n var date_start34 = msg.payload.events[34].date_start.split(\" \");\n var date_start_split34 = date_start34[1];\n var date_end34 = msg.payload.events[34].date_end.split(\" \");\n var date_end_split34 = date_end34[1];\n var duration34 = msg.payload.events[34].duration\n var icon34 = msg.payload.events[34].channel.icon\n\tvar chnumber34 = msg.payload.events[34].channel.channel_sat\n\tvar date_start34 = msg.payload.events[34].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start34 = date_start34[2] + '-' + date_start34[1] + '-' + date_start34[0] + ' ' + date_start34[3] + ':00.000000+02:00';\n var date_end34 = msg.payload.events[34].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end34 = date_end34[2] + '-' + date_end34[1] + '-' + date_end34[0] + ' ' + date_end34[3] + ':00.000000+02:00';\n\t\n\tvar name35 = JSON.stringify(msg.payload.events[35].channel.name);\n var title35 = JSON.stringify(msg.payload.events[35].program.title);\n var description35 = JSON.stringify(msg.payload.events[35].program.description);\n var date_start35 = msg.payload.events[35].date_start.split(\" \");\n var date_start_split35 = date_start35[1];\n var date_end35 = msg.payload.events[35].date_end.split(\" \");\n var date_end_split35 = date_end35[1];\n var duration35 = msg.payload.events[35].duration\n var icon35 = msg.payload.events[35].channel.icon\n\tvar chnumber35 = msg.payload.events[35].channel.channel_sat\n\tvar date_start35 = msg.payload.events[35].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start35 = date_start35[2] + '-' + date_start35[1] + '-' + date_start35[0] + ' ' + date_start35[3] + ':00.000000+02:00';\n var date_end35 = msg.payload.events[35].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end35 = date_end35[2] + '-' + date_end35[1] + '-' + date_end35[0] + ' ' + date_end35[3] + ':00.000000+02:00';\n\t\n\tvar name36 = JSON.stringify(msg.payload.events[36].channel.name);\n var title36 = JSON.stringify(msg.payload.events[36].program.title);\n var description36 = JSON.stringify(msg.payload.events[36].program.description);\n var date_start36 = msg.payload.events[36].date_start.split(\" \");\n var date_start_split36 = date_start36[1];\n var date_end36 = msg.payload.events[36].date_end.split(\" \");\n var date_end_split36 = date_end36[1];\n var duration36 = msg.payload.events[36].duration\n var icon36 = msg.payload.events[36].channel.icon\n\tvar chnumber36 = msg.payload.events[36].channel.channel_sat\n\tvar date_start36 = msg.payload.events[36].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start36 = date_start36[2] + '-' + date_start36[1] + '-' + date_start36[0] + ' ' + date_start36[3] + ':00.000000+02:00';\n var date_end36 = msg.payload.events[36].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end36 = date_end36[2] + '-' + date_end36[1] + '-' + date_end36[0] + ' ' + date_end36[3] + ':00.000000+02:00';\n\t\n\t\n\tvar name37 = JSON.stringify(msg.payload.events[37].channel.name);\n var title37 = JSON.stringify(msg.payload.events[37].program.title);\n var description37 = JSON.stringify(msg.payload.events[37].program.description);\n var date_start37 = msg.payload.events[37].date_start.split(\" \");\n var date_start_split37 = date_start37[1];\n var date_end37 = msg.payload.events[37].date_end.split(\" \");\n var date_end_split37 = date_end37[1];\n var duration37 = msg.payload.events[37].duration\n var icon37 = msg.payload.events[37].channel.icon\n\tvar chnumber37 = msg.payload.events[37].channel.channel_sat\n\tvar date_start37 = msg.payload.events[37].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start37 = date_start37[2] + '-' + date_start37[1] + '-' + date_start37[0] + ' ' + date_start37[3] + ':00.000000+02:00';\n var date_end37 = msg.payload.events[37].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end37 = date_end37[2] + '-' + date_end37[1] + '-' + date_end37[0] + ' ' + date_end37[3] + ':00.000000+02:00';\n\t\n\t\n\tvar name38 = JSON.stringify(msg.payload.events[38].channel.name);\n var title38 = JSON.stringify(msg.payload.events[38].program.title);\n var description38 = JSON.stringify(msg.payload.events[38].program.description);\n var date_start38 = msg.payload.events[38].date_start.split(\" \");\n var date_start_split38 = date_start38[1];\n var date_end38 = msg.payload.events[38].date_end.split(\" \");\n var date_end_split38 = date_end38[1];\n var duration38 = msg.payload.events[38].duration\n var icon38 = msg.payload.events[38].channel.icon\n\tvar chnumber38 = msg.payload.events[38].channel.channel_sat\n\tvar date_start38 = msg.payload.events[38].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start38 = date_start38[2] + '-' + date_start38[1] + '-' + date_start38[0] + ' ' + date_start38[3] + ':00.000000+02:00';\n var date_end38 = msg.payload.events[38].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end38 = date_end38[2] + '-' + date_end38[1] + '-' + date_end38[0] + ' ' + date_end38[3] + ':00.000000+02:00';\n\t\n\t\t\n\tvar name39 = JSON.stringify(msg.payload.events[39].channel.name);\n var title39 = JSON.stringify(msg.payload.events[39].program.title);\n var description39 = JSON.stringify(msg.payload.events[39].program.description);\n var date_start39 = msg.payload.events[39].date_start.split(\" \");\n var date_start_split39 = date_start39[1];\n var date_end39 = msg.payload.events[39].date_end.split(\" \");\n var date_end_split39 = date_end39[1];\n var duration39 = msg.payload.events[39].duration\n var icon39 = msg.payload.events[39].channel.icon\n\tvar chnumber39 = msg.payload.events[39].channel.channel_sat\n\tvar date_start39 = msg.payload.events[39].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start39 = date_start39[2] + '-' + date_start39[1] + '-' + date_start39[0] + ' ' + date_start39[3] + ':00.000000+02:00';\n var date_end39 = msg.payload.events[39].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end39 = date_end39[2] + '-' + date_end39[1] + '-' + date_end39[0] + ' ' + date_end39[3] + ':00.000000+02:00';\n\t\n\t\t\n var name40 = JSON.stringify(msg.payload.events[40].channel.name);\n var title40 = JSON.stringify(msg.payload.events[40].program.title);\n var description40 = JSON.stringify(msg.payload.events[40].program.description);\n var date_start40 = msg.payload.events[40].date_start.split(\" \");\n var date_start_split40 = date_start40[1];\n var date_end40 = msg.payload.events[40].date_end.split(\" \");\n var date_end_split40 = date_end40[1];\n var duration40 = msg.payload.events[40].duration\n var icon40 = msg.payload.events[40].channel.icon\n\tvar chnumber40 = msg.payload.events[40].channel.channel_sat\n\tvar date_start40 = msg.payload.events[40].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start40 = date_start40[2] + '-' + date_start40[1] + '-' + date_start40[0] + ' ' + date_start40[3] + ':00.000000+02:00';\n var date_end40 = msg.payload.events[40].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end40 = date_end40[2] + '-' + date_end40[1] + '-' + date_end40[0] + ' ' + date_end40[3] + ':00.000000+02:00';\n\t\t\n\tvar name41 = JSON.stringify(msg.payload.events[41].channel.name);\n var title41 = JSON.stringify(msg.payload.events[41].program.title);\n var description41 = JSON.stringify(msg.payload.events[41].program.description);\n var date_start41 = msg.payload.events[41].date_start.split(\" \");\n var date_start_split41 = date_start41[1];\n var date_end41 = msg.payload.events[41].date_end.split(\" \");\n var date_end_split41 = date_end41[1];\n var duration41 = msg.payload.events[41].duration\n var icon41 = msg.payload.events[41].channel.icon\n\tvar chnumber41 = msg.payload.events[41].channel.channel_sat\n\tvar date_start41 = msg.payload.events[41].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start41 = date_start41[2] + '-' + date_start41[1] + '-' + date_start41[0] + ' ' + date_start41[3] + ':00.000000+02:00';\n var date_end41 = msg.payload.events[41].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end41 = date_end41[2] + '-' + date_end41[1] + '-' + date_end41[0] + ' ' + date_end41[3] + ':00.000000+02:00';\n\t\n\tvar name42 = JSON.stringify(msg.payload.events[42].channel.name);\n var title42 = JSON.stringify(msg.payload.events[42].program.title);\n var description42 = JSON.stringify(msg.payload.events[42].program.description);\n var date_start42 = msg.payload.events[42].date_start.split(\" \");\n var date_start_split42 = date_start42[1];\n var date_end42 = msg.payload.events[42].date_end.split(\" \");\n var date_end_split42 = date_end42[1];\n var duration42 = msg.payload.events[42].duration\n var icon42 = msg.payload.events[42].channel.icon\n\tvar chnumber42 = msg.payload.events[42].channel.channel_sat\n\tvar date_start42 = msg.payload.events[42].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start42 = date_start42[2] + '-' + date_start42[1] + '-' + date_start42[0] + ' ' + date_start42[3] + ':00.000000+02:00';\n var date_end42 = msg.payload.events[42].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end42 = date_end42[2] + '-' + date_end42[1] + '-' + date_end42[0] + ' ' + date_end42[3] + ':00.000000+02:00';\n\t\n\tvar name43 = JSON.stringify(msg.payload.events[43].channel.name);\n var title43 = JSON.stringify(msg.payload.events[43].program.title);\n var description43 = JSON.stringify(msg.payload.events[43].program.description);\n var date_start43 = msg.payload.events[43].date_start.split(\" \");\n var date_start_split43 = date_start43[1];\n var date_end43 = msg.payload.events[43].date_end.split(\" \");\n var date_end_split43 = date_end43[1];\n var duration43 = msg.payload.events[43].duration\n var icon43 = msg.payload.events[43].channel.icon\n\tvar chnumber43 = msg.payload.events[43].channel.channel_sat\n\tvar date_start43 = msg.payload.events[43].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start43 = date_start43[2] + '-' + date_start43[1] + '-' + date_start43[0] + ' ' + date_start43[3] + ':00.000000+02:00';\n var date_end43 = msg.payload.events[43].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end43 = date_end43[2] + '-' + date_end43[1] + '-' + date_end43[0] + ' ' + date_end43[3] + ':00.000000+02:00';\n\t\n\tvar name44 = JSON.stringify(msg.payload.events[44].channel.name);\n var title44 = JSON.stringify(msg.payload.events[44].program.title);\n var description44 = JSON.stringify(msg.payload.events[44].program.description);\n var date_start44 = msg.payload.events[44].date_start.split(\" \");\n var date_start_split44 = date_start44[1];\n var date_end44 = msg.payload.events[44].date_end.split(\" \");\n var date_end_split44 = date_end44[1];\n var duration44 = msg.payload.events[44].duration\n var icon44 = msg.payload.events[44].channel.icon\n\tvar chnumber44 = msg.payload.events[44].channel.channel_sat\n\tvar date_start44 = msg.payload.events[44].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start44 = date_start44[2] + '-' + date_start44[1] + '-' + date_start44[0] + ' ' + date_start44[3] + ':00.000000+02:00';\n var date_end44 = msg.payload.events[44].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end44 = date_end44[2] + '-' + date_end44[1] + '-' + date_end44[0] + ' ' + date_end44[3] + ':00.000000+02:00';\n\t\n\tvar name45 = JSON.stringify(msg.payload.events[45].channel.name);\n var title45 = JSON.stringify(msg.payload.events[45].program.title);\n var description45 = JSON.stringify(msg.payload.events[45].program.description);\n var date_start45 = msg.payload.events[45].date_start.split(\" \");\n var date_start_split45 = date_start45[1];\n var date_end45 = msg.payload.events[45].date_end.split(\" \");\n var date_end_split45 = date_end45[1];\n var duration45 = msg.payload.events[45].duration\n var icon45 = msg.payload.events[45].channel.icon\n\tvar chnumber45 = msg.payload.events[45].channel.channel_sat\n\tvar date_start45 = msg.payload.events[45].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start45 = date_start45[2] + '-' + date_start45[1] + '-' + date_start45[0] + ' ' + date_start45[3] + ':00.000000+02:00';\n var date_end45 = msg.payload.events[45].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end45 = date_end45[2] + '-' + date_end45[1] + '-' + date_end45[0] + ' ' + date_end45[3] + ':00.000000+02:00';\n\t\n\tvar name46 = JSON.stringify(msg.payload.events[46].channel.name);\n var title46 = JSON.stringify(msg.payload.events[46].program.title);\n var description46 = JSON.stringify(msg.payload.events[46].program.description);\n var date_start46 = msg.payload.events[46].date_start.split(\" \");\n var date_start_split46 = date_start46[1];\n var date_end46 = msg.payload.events[46].date_end.split(\" \");\n var date_end_split46 = date_end46[1];\n var duration46 = msg.payload.events[46].duration\n var icon46 = msg.payload.events[46].channel.icon\n\tvar chnumber46 = msg.payload.events[46].channel.channel_sat\n\tvar date_start46 = msg.payload.events[46].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start46 = date_start46[2] + '-' + date_start46[1] + '-' + date_start46[0] + ' ' + date_start46[3] + ':00.000000+02:00';\n var date_end46 = msg.payload.events[46].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end46 = date_end46[2] + '-' + date_end46[1] + '-' + date_end46[0] + ' ' + date_end46[3] + ':00.000000+02:00';\n\t\n\tvar name47 = JSON.stringify(msg.payload.events[47].channel.name);\n var title47 = JSON.stringify(msg.payload.events[47].program.title);\n var description47 = JSON.stringify(msg.payload.events[47].program.description);\n var date_start47 = msg.payload.events[47].date_start.split(\" \");\n var date_start_split47 = date_start47[1];\n var date_end47 = msg.payload.events[47].date_end.split(\" \");\n var date_end_split47 = date_end47[1];\n var duration47 = msg.payload.events[47].duration\n var icon47 = msg.payload.events[47].channel.icon\n\tvar chnumber47 = msg.payload.events[47].channel.channel_sat\n\tvar date_start47 = msg.payload.events[47].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start47 = date_start47[2] + '-' + date_start47[1] + '-' + date_start47[0] + ' ' + date_start47[3] + ':00.000000+02:00';\n var date_end47 = msg.payload.events[47].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end47 = date_end47[2] + '-' + date_end47[1] + '-' + date_end47[0] + ' ' + date_end47[3] + ':00.000000+02:00';\n\t\n\tvar name48 = JSON.stringify(msg.payload.events[48].channel.name);\n var title48 = JSON.stringify(msg.payload.events[48].program.title);\n var description48 = JSON.stringify(msg.payload.events[48].program.description);\n var date_start48 = msg.payload.events[48].date_start.split(\" \");\n var date_start_split48 = date_start48[1];\n var date_end48 = msg.payload.events[48].date_end.split(\" \");\n var date_end_split48 = date_end48[1];\n var duration48 = msg.payload.events[48].duration\n var icon48 = msg.payload.events[48].channel.icon\n\tvar chnumber48 = msg.payload.events[48].channel.channel_sat\n\tvar date_start48 = msg.payload.events[48].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start48 = date_start48[2] + '-' + date_start48[1] + '-' + date_start48[0] + ' ' + date_start48[3] + ':00.000000+02:00';\n var date_end48 = msg.payload.events[48].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end48 = date_end48[2] + '-' + date_end48[1] + '-' + date_end48[0] + ' ' + date_end48[3] + ':00.000000+02:00';\n\t\t\n\tvar name49 = JSON.stringify(msg.payload.events[49].channel.name);\n var title49 = JSON.stringify(msg.payload.events[49].program.title);\n var description49 = JSON.stringify(msg.payload.events[49].program.description);\n var date_start49 = msg.payload.events[49].date_start.split(\" \");\n var date_start_split49 = date_start49[1];\n var date_end49 = msg.payload.events[49].date_end.split(\" \");\n var date_end_split49 = date_end49[1];\n var duration49 = msg.payload.events[49].duration\n var icon49 = msg.payload.events[49].channel.icon\n\tvar chnumber49 = msg.payload.events[49].channel.channel_sat\n\tvar date_start49 = msg.payload.events[49].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start49 = date_start49[2] + '-' + date_start49[1] + '-' + date_start49[0] + ' ' + date_start49[3] + ':00.000000+02:00';\n var date_end49 = msg.payload.events[49].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end49 = date_end49[2] + '-' + date_end49[1] + '-' + date_end49[0] + ' ' + date_end49[3] + ':00.000000+02:00';\n\t\n var name50 = JSON.stringify(msg.payload.events[50].channel.name);\n var title50 = JSON.stringify(msg.payload.events[50].program.title);\n var description50 = JSON.stringify(msg.payload.events[50].program.description);\n var date_start50 = msg.payload.events[50].date_start.split(\" \");\n var date_start_split50 = date_start50[1];\n var date_end50 = msg.payload.events[50].date_end.split(\" \");\n var date_end_split50 = date_end50[1];\n var duration50 = msg.payload.events[50].duration\n var icon50 = msg.payload.events[50].channel.icon\n\tvar chnumber50 = msg.payload.events[50].channel.channel_sat\n\tvar date_start50 = msg.payload.events[50].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start50 = date_start50[2] + '-' + date_start50[1] + '-' + date_start50[0] + ' ' + date_start50[3] + ':00.000000+02:00';\n var date_end50 = msg.payload.events[50].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end50 = date_end50[2] + '-' + date_end50[1] + '-' + date_end50[0] + ' ' + date_end50[3] + ':00.000000+02:00';\n\t\n\tvar name51 = JSON.stringify(msg.payload.events[51].channel.name);\n var title51 = JSON.stringify(msg.payload.events[51].program.title);\n var description51 = JSON.stringify(msg.payload.events[51].program.description);\n var date_start51 = msg.payload.events[51].date_start.split(\" \");\n var date_start_split51 = date_start51[1];\n var date_end51 = msg.payload.events[51].date_end.split(\" \");\n var date_end_split51 = date_end51[1];\n var duration51 = msg.payload.events[51].duration\n var icon51 = msg.payload.events[51].channel.icon\n\tvar chnumber51 = msg.payload.events[51].channel.channel_sat\n\tvar date_start51 = msg.payload.events[51].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start51 = date_start51[2] + '-' + date_start51[1] + '-' + date_start51[0] + ' ' + date_start51[3] + ':00.000000+02:00';\n var date_end51 = msg.payload.events[51].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end51 = date_end51[2] + '-' + date_end51[1] + '-' + date_end51[0] + ' ' + date_end51[3] + ':00.000000+02:00';\n\t\n\tvar name52 = JSON.stringify(msg.payload.events[52].channel.name);\n var title52 = JSON.stringify(msg.payload.events[52].program.title);\n var description52 = JSON.stringify(msg.payload.events[52].program.description);\n var date_start52 = msg.payload.events[52].date_start.split(\" \");\n var date_start_split52 = date_start52[1];\n var date_end52 = msg.payload.events[52].date_end.split(\" \");\n var date_end_split52 = date_end52[1];\n var duration52 = msg.payload.events[52].duration\n var icon52 = msg.payload.events[52].channel.icon\n\tvar chnumber52 = msg.payload.events[52].channel.channel_sat\n\tvar date_start52 = msg.payload.events[52].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start52 = date_start52[2] + '-' + date_start52[1] + '-' + date_start52[0] + ' ' + date_start52[3] + ':00.000000+02:00';\n var date_end52 = msg.payload.events[52].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end52 = date_end52[2] + '-' + date_end52[1] + '-' + date_end52[0] + ' ' + date_end52[3] + ':00.000000+02:00';\n\t\n\tvar name53 = JSON.stringify(msg.payload.events[53].channel.name);\n var title53 = JSON.stringify(msg.payload.events[53].program.title);\n var description53 = JSON.stringify(msg.payload.events[53].program.description);\n var date_start53 = msg.payload.events[53].date_start.split(\" \");\n var date_start_split53 = date_start53[1];\n var date_end53 = msg.payload.events[53].date_end.split(\" \");\n var date_end_split53 = date_end53[1];\n var duration53 = msg.payload.events[53].duration\n var icon53 = msg.payload.events[53].channel.icon\n\tvar chnumber53 = msg.payload.events[53].channel.channel_sat\n\tvar date_start53 = msg.payload.events[53].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start53 = date_start53[2] + '-' + date_start53[1] + '-' + date_start53[0] + ' ' + date_start53[3] + ':00.000000+02:00';\n var date_end53 = msg.payload.events[53].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end53 = date_end53[2] + '-' + date_end53[1] + '-' + date_end53[0] + ' ' + date_end53[3] + ':00.000000+02:00';\n\t\n\t\n\tvar name54 = JSON.stringify(msg.payload.events[54].channel.name);\n var title54 = JSON.stringify(msg.payload.events[54].program.title);\n var description54 = JSON.stringify(msg.payload.events[54].program.description);\n var date_start54 = msg.payload.events[54].date_start.split(\" \");\n var date_start_split54 = date_start54[1];\n var date_end54 = msg.payload.events[54].date_end.split(\" \");\n var date_end_split54 = date_end54[1];\n var duration54 = msg.payload.events[54].duration\n var icon54 = msg.payload.events[54].channel.icon\n\tvar chnumber54 = msg.payload.events[54].channel.channel_sat\n\tvar date_start54 = msg.payload.events[54].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start54 = date_start54[2] + '-' + date_start54[1] + '-' + date_start54[0] + ' ' + date_start54[3] + ':00.000000+02:00';\n var date_end54 = msg.payload.events[54].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end54 = date_end54[2] + '-' + date_end54[1] + '-' + date_end54[0] + ' ' + date_end54[3] + ':00.000000+02:00';\n\t\n\t\n\tvar name55 = JSON.stringify(msg.payload.events[55].channel.name);\n var title55 = JSON.stringify(msg.payload.events[55].program.title);\n var description55 = JSON.stringify(msg.payload.events[55].program.description);\n var date_start55 = msg.payload.events[55].date_start.split(\" \");\n var date_start_split55 = date_start55[1];\n var date_end55 = msg.payload.events[55].date_end.split(\" \");\n var date_end_split55 = date_end55[1];\n var duration55 = msg.payload.events[55].duration\n var icon55 = msg.payload.events[55].channel.icon\n\tvar chnumber55 = msg.payload.events[55].channel.channel_sat\n\tvar date_start55 = msg.payload.events[55].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start55 = date_start55[2] + '-' + date_start55[1] + '-' + date_start55[0] + ' ' + date_start55[3] + ':00.000000+02:00';\n var date_end55 = msg.payload.events[55].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end55 = date_end55[2] + '-' + date_end55[1] + '-' + date_end55[0] + ' ' + date_end55[3] + ':00.000000+02:00';\n\t\n\tvar name56 = JSON.stringify(msg.payload.events[56].channel.name);\n var title56 = JSON.stringify(msg.payload.events[56].program.title);\n var description56 = JSON.stringify(msg.payload.events[56].program.description);\n var date_start56 = msg.payload.events[56].date_start.split(\" \");\n var date_start_split56 = date_start56[1];\n var date_end56 = msg.payload.events[56].date_end.split(\" \");\n var date_end_split56 = date_end56[1];\n var duration56 = msg.payload.events[56].duration\n var icon56 = msg.payload.events[56].channel.icon\n\tvar chnumber56 = msg.payload.events[56].channel.channel_sat\n\tvar date_start56 = msg.payload.events[56].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start56 = date_start56[2] + '-' + date_start56[1] + '-' + date_start56[0] + ' ' + date_start56[3] + ':00.000000+02:00';\n var date_end56 = msg.payload.events[56].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end56 = date_end56[2] + '-' + date_end56[1] + '-' + date_end56[0] + ' ' + date_end56[3] + ':00.000000+02:00';\n\t\n\tvar name57 = JSON.stringify(msg.payload.events[57].channel.name);\n var title57 = JSON.stringify(msg.payload.events[57].program.title);\n var description57 = JSON.stringify(msg.payload.events[57].program.description);\n var date_start57 = msg.payload.events[57].date_start.split(\" \");\n var date_start_split57 = date_start57[1];\n var date_end57 = msg.payload.events[57].date_end.split(\" \");\n var date_end_split57 = date_end57[1];\n var duration57 = msg.payload.events[57].duration\n var icon57 = msg.payload.events[57].channel.icon\n\tvar chnumber57 = msg.payload.events[57].channel.channel_sat\n\tvar date_start57 = msg.payload.events[57].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start57 = date_start57[2] + '-' + date_start57[1] + '-' + date_start57[0] + ' ' + date_start57[3] + ':00.000000+02:00';\n var date_end57 = msg.payload.events[57].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end57 = date_end57[2] + '-' + date_end57[1] + '-' + date_end57[0] + ' ' + date_end57[3] + ':00.000000+02:00';\n\t\n\tvar name58 = JSON.stringify(msg.payload.events[58].channel.name);\n var title58 = JSON.stringify(msg.payload.events[58].program.title);\n var description58 = JSON.stringify(msg.payload.events[58].program.description);\n var date_start58 = msg.payload.events[58].date_start.split(\" \");\n var date_start_split58 = date_start58[1];\n var date_end58 = msg.payload.events[58].date_end.split(\" \");\n var date_end_split58 = date_end58[1];\n var duration58 = msg.payload.events[58].duration\n var icon58 = msg.payload.events[58].channel.icon\n\tvar chnumber58 = msg.payload.events[58].channel.channel_sat\n\tvar date_start58 = msg.payload.events[58].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start58 = date_start58[2] + '-' + date_start58[1] + '-' + date_start58[0] + ' ' + date_start58[3] + ':00.000000+02:00';\n var date_end58 = msg.payload.events[58].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end58 = date_end58[2] + '-' + date_end58[1] + '-' + date_end58[0] + ' ' + date_end58[3] + ':00.000000+02:00';\n\t\n\t\t\n\tvar name59 = JSON.stringify(msg.payload.events[59].channel.name);\n var title59 = JSON.stringify(msg.payload.events[59].program.title);\n var description59 = JSON.stringify(msg.payload.events[59].program.description);\n var date_start59 = msg.payload.events[59].date_start.split(\" \");\n var date_start_split59 = date_start59[1];\n var date_end59 = msg.payload.events[59].date_end.split(\" \");\n var date_end_split59 = date_end59[1];\n var duration59 = msg.payload.events[59].duration\n var icon59 = msg.payload.events[59].channel.icon\n\tvar chnumber59 = msg.payload.events[59].channel.channel_sat\n\tvar date_start59 = msg.payload.events[59].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start59 = date_start59[2] + '-' + date_start59[1] + '-' + date_start59[0] + ' ' + date_start59[3] + ':00.000000+02:00';\n var date_end59 = msg.payload.events[59].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end59 = date_end59[2] + '-' + date_end59[1] + '-' + date_end59[0] + ' ' + date_end59[3] + ':00.000000+02:00';\n\t\n\t\n var name60 = JSON.stringify(msg.payload.events[60].channel.name);\n var title60 = JSON.stringify(msg.payload.events[60].program.title);\n var description60 = JSON.stringify(msg.payload.events[60].program.description);\n var date_start60 = msg.payload.events[60].date_start.split(\" \");\n var date_start_split60 = date_start60[1];\n var date_end60 = msg.payload.events[60].date_end.split(\" \");\n var date_end_split60 = date_end60[1];\n var duration60 = msg.payload.events[60].duration\n var icon60 = msg.payload.events[60].channel.icon\n\tvar chnumber60 = msg.payload.events[60].channel.channel_sat\n\tvar date_start60 = msg.payload.events[60].date_start.replace('-',' ').replace('-',' ').split(\" \");\n var date_start60 = date_start60[2] + '-' + date_start60[1] + '-' + date_start60[0] + ' ' + date_start60[3] + ':00.000000+02:00';\n var date_end60 = msg.payload.events[60].date_end.replace('-',' ').replace('-',' ').split(\" \");\n var date_end60 = date_end60[2] + '-' + date_end60[1] + '-' + date_end60[0] + ' ' + date_end60[3] + ':00.000000+02:00';\n\t\n\t\nmsg.final = '{' + name0 + ':{' + '\"title\":' + title0 + ',' + '\"description\":' + description0 + ',' + '\"icon\":\"' + icon0 + '\",' + '\"duration\": ' + duration0 + ',' + '\"chnumber\": ' + chnumber0 + ', \"start\":' + '\"' + date_start_split0 + '\",\"stop\":\"' + date_end_split0 + '\",\"date_start\":\"' + date_start0 + '\",\"date_stop\":\"' + date_end0 + '\"},'\n\t\t\t + name1 + ':{' + '\"title\":' + title1 + ',' + '\"description\":' + description1 + ',' + '\"icon\":\"' + icon1 + '\",' + '\"duration\": ' + duration1 + ',' + '\"chnumber\": ' + chnumber1 + ', \"start\":' + '\"' + date_start_split1 + '\",\"stop\":\"' + date_end_split1 + '\",\"date_start\":\"' + date_start1 + '\",\"date_stop\":\"' + date_end1 + '\"},'\n\t\t\t\t+ name2 + ':{' + '\"title\":' + title2 + ',' + '\"description\":' + description2 + ',' + '\"icon\":\"' + icon2 + '\",' + '\"duration\": ' + duration2 + ',' + '\"chnumber\": ' + chnumber2 + ', \"start\":' + '\"' + date_start_split2 + '\",\"stop\":\"' + date_end_split2 + '\",\"date_start\":\"' + date_start2 + '\",\"date_stop\":\"' + date_end2 + '\"},'\n\t\t\t\t+ name3 + ':{' + '\"title\":' + title3 + ',' + '\"description\":' + description3 + ',' + '\"icon\":\"' + icon3 + '\",' + '\"duration\": ' + duration3 + ',' + '\"chnumber\": ' + chnumber3 + ', \"start\":' + '\"' + date_start_split3 + '\",\"stop\":\"' + date_end_split3 + '\",\"date_start\":\"' + date_start3 + '\",\"date_stop\":\"' + date_end3 + '\"},'\n\t\t\t\t+ name4 + ':{' + '\"title\":' + title4 + ',' + '\"description\":' + description4 + ',' + '\"icon\":\"' + icon4 + '\",' + '\"duration\": ' + duration4 + ',' + '\"chnumber\": ' + chnumber4 + ', \"start\":' + '\"' + date_start_split4 + '\",\"stop\":\"' + date_end_split4 + '\",\"date_start\":\"' + date_start4 + '\",\"date_stop\":\"' + date_end4 + '\"},'\n\t\t\t\t+ name5 + ':{' + '\"title\":' + title5 + ',' + '\"description\":' + description5 + ',' + '\"icon\":\"' + icon5 + '\",' + '\"duration\": ' + duration5 + ',' + '\"chnumber\": ' + chnumber5 + ', \"start\":' + '\"' + date_start_split5 + '\",\"stop\":\"' + date_end_split5 + '\",\"date_start\":\"' + date_start5 + '\",\"date_stop\":\"' + date_end5 + '\"},'\n\t\t\t\t+ name6 + ':{' + '\"title\":' + title6 + ',' + '\"description\":' + description6 + ',' + '\"icon\":\"' + icon6 + '\",' + '\"duration\": ' + duration6 + ',' + '\"chnumber\": ' + chnumber6 + ', \"start\":' + '\"' + date_start_split6 + '\",\"stop\":\"' + date_end_split6 + '\",\"date_start\":\"' + date_start6 + '\",\"date_stop\":\"' + date_end6 + '\"},'\n\t\t\t\t+ name7 + ':{' + '\"title\":' + title7 + ',' + '\"description\":' + description7 + ',' + '\"icon\":\"' + icon7 + '\",' + '\"duration\": ' + duration7 + ',' + '\"chnumber\": ' + chnumber7 + ', \"start\":' + '\"' + date_start_split7 + '\",\"stop\":\"' + date_end_split7 + '\",\"date_start\":\"' + date_start7 + '\",\"date_stop\":\"' + date_end7 + '\"},'\n\t\t\t\t+ name8 + ':{' + '\"title\":' + title8 + ',' + '\"description\":' + description8 + ',' + '\"icon\":\"' + icon8 + '\",' + '\"duration\": ' + duration8 + ',' + '\"chnumber\": ' + chnumber8 + ', \"start\":' + '\"' + date_start_split8 + '\",\"stop\":\"' + date_end_split8 + '\",\"date_start\":\"' + date_start8 + '\",\"date_stop\":\"' + date_end8 + '\"},'\n\t\t\t\t+ name9 + ':{' + '\"title\":' + title9 + ',' + '\"description\":' + description9 + ',' + '\"icon\":\"' + icon9 + '\",' + '\"duration\": ' + duration9 + ',' + '\"chnumber\": ' + chnumber9 + ', \"start\":' + '\"' + date_start_split9 + '\",\"stop\":\"' + date_end_split9 + '\",\"date_start\":\"' + date_start9 + '\",\"date_stop\":\"' + date_end9 + '\"},'\n\t\t\t\t+ name10 + ':{' + '\"title\":' + title10 + ',' + '\"description\":' + description10 + ',' + '\"icon\":\"' + icon10 + '\",' + '\"duration\": ' + duration10 + ',' + '\"chnumber\": ' + chnumber10 + ', \"start\":' + '\"' + date_start_split10 + '\",\"stop\":\"' + date_end_split10 + '\",\"date_start\":\"' + date_start10 + '\",\"date_stop\":\"' + date_end10 + '\"},'\n\t\t\t\t+ name11 + ':{' + '\"title\":' + title11 + ',' + '\"description\":' + description11 + ',' + '\"icon\":\"' + icon11 + '\",' + '\"duration\": ' + duration11 + ',' + '\"chnumber\": ' + chnumber11 + ', \"start\":' + '\"' + date_start_split11 + '\",\"stop\":\"' + date_end_split11 + '\",\"date_start\":\"' + date_start11 + '\",\"date_stop\":\"' + date_end11 + '\"},'\n\t\t\t\t+ name12 + ':{' + '\"title\":' + title12 + ',' + '\"description\":' + description12 + ',' + '\"icon\":\"' + icon12 + '\",' + '\"duration\": ' + duration12 + ',' + '\"chnumber\": ' + chnumber12 + ', \"start\":' + '\"' + date_start_split12 + '\",\"stop\":\"' + date_end_split12 + '\",\"date_start\":\"' + date_start12 + '\",\"date_stop\":\"' + date_end12 + '\"},'\n\t\t\t\t+ name13 + ':{' + '\"title\":' + title13 + ',' + '\"description\":' + description13 + ',' + '\"icon\":\"' + icon13 + '\",' + '\"duration\": ' + duration13 + ',' + '\"chnumber\": ' + chnumber13 + ', \"start\":' + '\"' + date_start_split13 + '\",\"stop\":\"' + date_end_split13 + '\",\"date_start\":\"' + date_start13 + '\",\"date_stop\":\"' + date_end13 + '\"},'\n\t\t\t\t+ name14 + ':{' + '\"title\":' + title14 + ',' + '\"description\":' + description14 + ',' + '\"icon\":\"' + icon14 + '\",' + '\"duration\": ' + duration14 + ',' + '\"chnumber\": ' + chnumber14 + ', \"start\":' + '\"' + date_start_split14 + '\",\"stop\":\"' + date_end_split14 + '\",\"date_start\":\"' + date_start14 + '\",\"date_stop\":\"' + date_end14 + '\"},'\n\t\t\t\t+ name15 + ':{' + '\"title\":' + title15 + ',' + '\"description\":' + description15 + ',' + '\"icon\":\"' + icon15 + '\",' + '\"duration\": ' + duration15 + ',' + '\"chnumber\": ' + chnumber15 + ', \"start\":' + '\"' + date_start_split15 + '\",\"stop\":\"' + date_end_split15 + '\",\"date_start\":\"' + date_start15 + '\",\"date_stop\":\"' + date_end15 + '\"},'\n\t\t\t\t+ name16 + ':{' + '\"title\":' + title16 + ',' + '\"description\":' + description16 + ',' + '\"icon\":\"' + icon16 + '\",' + '\"duration\": ' + duration16 + ',' + '\"chnumber\": ' + chnumber16 + ', \"start\":' + '\"' + date_start_split16 + '\",\"stop\":\"' + date_end_split16 + '\",\"date_start\":\"' + date_start16 + '\",\"date_stop\":\"' + date_end16 + '\"},'\n\t\t\t\t+ name17 + ':{' + '\"title\":' + title17 + ',' + '\"description\":' + description17 + ',' + '\"icon\":\"' + icon17 + '\",' + '\"duration\": ' + duration17 + ',' + '\"chnumber\": ' + chnumber17 + ', \"start\":' + '\"' + date_start_split17 + '\",\"stop\":\"' + date_end_split17 + '\",\"date_start\":\"' + date_start17 + '\",\"date_stop\":\"' + date_end17 + '\"},'\n\t\t\t\t+ name18 + ':{' + '\"title\":' + title18 + ',' + '\"description\":' + description18 + ',' + '\"icon\":\"' + icon18 + '\",' + '\"duration\": ' + duration18 + ',' + '\"chnumber\": ' + chnumber18 + ', \"start\":' + '\"' + date_start_split18 + '\",\"stop\":\"' + date_end_split18 + '\",\"date_start\":\"' + date_start18 + '\",\"date_stop\":\"' + date_end18 + '\"},'\n\t\t\t\t+ name19 + ':{' + '\"title\":' + title19 + ',' + '\"description\":' + description19 + ',' + '\"icon\":\"' + icon19 + '\",' + '\"duration\": ' + duration19 + ',' + '\"chnumber\": ' + chnumber19 + ', \"start\":' + '\"' + date_start_split19 + '\",\"stop\":\"' + date_end_split19 + '\",\"date_start\":\"' + date_start19 + '\",\"date_stop\":\"' + date_end19 + '\"},'\n\t\t\t\t+ name20 + ':{' + '\"title\":' + title20 + ',' + '\"description\":' + description20 + ',' + '\"icon\":\"' + icon20 + '\",' + '\"duration\": ' + duration20 + ',' + '\"chnumber\": ' + chnumber20 + ', \"start\":' + '\"' + date_start_split20 + '\",\"stop\":\"' + date_end_split20 + '\",\"date_start\":\"' + date_start20 + '\",\"date_stop\":\"' + date_end20 + '\"},'\n\t\t\t\t+ name21 + ':{' + '\"title\":' + title21 + ',' + '\"description\":' + description21 + ',' + '\"icon\":\"' + icon21 + '\",' + '\"duration\": ' + duration21 + ',' + '\"chnumber\": ' + chnumber21 + ', \"start\":' + '\"' + date_start_split21 + '\",\"stop\":\"' + date_end_split21 + '\",\"date_start\":\"' + date_start21 + '\",\"date_stop\":\"' + date_end21 + '\"},'\n\t\t\t\t+ name22 + ':{' + '\"title\":' + title22 + ',' + '\"description\":' + description22 + ',' + '\"icon\":\"' + icon22 + '\",' + '\"duration\": ' + duration22 + ',' + '\"chnumber\": ' + chnumber22 + ', \"start\":' + '\"' + date_start_split22 + '\",\"stop\":\"' + date_end_split22 + '\",\"date_start\":\"' + date_start22 + '\",\"date_stop\":\"' + date_end22 + '\"},'\n\t\t\t\t+ name23 + ':{' + '\"title\":' + title23 + ',' + '\"description\":' + description23 + ',' + '\"icon\":\"' + icon23 + '\",' + '\"duration\": ' + duration23 + ',' + '\"chnumber\": ' + chnumber23 + ', \"start\":' + '\"' + date_start_split23 + '\",\"stop\":\"' + date_end_split23 + '\",\"date_start\":\"' + date_start23 + '\",\"date_stop\":\"' + date_end23 + '\"},'\n\t\t\t\t+ name24 + ':{' + '\"title\":' + title24 + ',' + '\"description\":' + description24 + ',' + '\"icon\":\"' + icon24 + '\",' + '\"duration\": ' + duration24 + ',' + '\"chnumber\": ' + chnumber24 + ', \"start\":' + '\"' + date_start_split24 + '\",\"stop\":\"' + date_end_split24 + '\",\"date_start\":\"' + date_start24 + '\",\"date_stop\":\"' + date_end24 + '\"},'\n\t\t\t\t+ name25 + ':{' + '\"title\":' + title25 + ',' + '\"description\":' + description25 + ',' + '\"icon\":\"' + icon25 + '\",' + '\"duration\": ' + duration25 + ',' + '\"chnumber\": ' + chnumber25 + ', \"start\":' + '\"' + date_start_split25 + '\",\"stop\":\"' + date_end_split25 + '\",\"date_start\":\"' + date_start25 + '\",\"date_stop\":\"' + date_end25 + '\"},'\n\t\t\t\t+ name26 + ':{' + '\"title\":' + title26 + ',' + '\"description\":' + description26 + ',' + '\"icon\":\"' + icon26 + '\",' + '\"duration\": ' + duration26 + ',' + '\"chnumber\": ' + chnumber26 + ', \"start\":' + '\"' + date_start_split26 + '\",\"stop\":\"' + date_end_split26 + '\",\"date_start\":\"' + date_start26 + '\",\"date_stop\":\"' + date_end26 + '\"},'\n\t\t\t\t+ name27 + ':{' + '\"title\":' + title27 + ',' + '\"description\":' + description27 + ',' + '\"icon\":\"' + icon27 + '\",' + '\"duration\": ' + duration27 + ',' + '\"chnumber\": ' + chnumber27 + ', \"start\":' + '\"' + date_start_split27 + '\",\"stop\":\"' + date_end_split27 + '\",\"date_start\":\"' + date_start27 + '\",\"date_stop\":\"' + date_end27 + '\"},'\n\t\t\t\t+ name28 + ':{' + '\"title\":' + title28 + ',' + '\"description\":' + description28 + ',' + '\"icon\":\"' + icon28 + '\",' + '\"duration\": ' + duration28 + ',' + '\"chnumber\": ' + chnumber28 + ', \"start\":' + '\"' + date_start_split28 + '\",\"stop\":\"' + date_end_split28 + '\",\"date_start\":\"' + date_start28 + '\",\"date_stop\":\"' + date_end28 + '\"},'\n\t\t\t\t+ name29 + ':{' + '\"title\":' + title29 + ',' + '\"description\":' + description29 + ',' + '\"icon\":\"' + icon29 + '\",' + '\"duration\": ' + duration29 + ',' + '\"chnumber\": ' + chnumber29 + ', \"start\":' + '\"' + date_start_split29 + '\",\"stop\":\"' + date_end_split29 + '\",\"date_start\":\"' + date_start29 + '\",\"date_stop\":\"' + date_end29 + '\"},'\n\t\t\t\t+ name30 + ':{' + '\"title\":' + title30 + ',' + '\"description\":' + description30 + ',' + '\"icon\":\"' + icon30 + '\",' + '\"duration\": ' + duration30 + ',' + '\"chnumber\": ' + chnumber30 + ', \"start\":' + '\"' + date_start_split30 + '\",\"stop\":\"' + date_end_split30 + '\",\"date_start\":\"' + date_start30 + '\",\"date_stop\":\"' + date_end30 + '\"},'\n\t\t\t\t+ name31 + ':{' + '\"title\":' + title31 + ',' + '\"description\":' + description31 + ',' + '\"icon\":\"' + icon31 + '\",' + '\"duration\": ' + duration31 + ',' + '\"chnumber\": ' + chnumber31 + ', \"start\":' + '\"' + date_start_split31 + '\",\"stop\":\"' + date_end_split31 + '\",\"date_start\":\"' + date_start31 + '\",\"date_stop\":\"' + date_end31 + '\"},'\n\t\t\t\t+ name32 + ':{' + '\"title\":' + title32 + ',' + '\"description\":' + description32 + ',' + '\"icon\":\"' + icon32 + '\",' + '\"duration\": ' + duration32 + ',' + '\"chnumber\": ' + chnumber32 + ', \"start\":' + '\"' + date_start_split32 + '\",\"stop\":\"' + date_end_split32 + '\",\"date_start\":\"' + date_start32 + '\",\"date_stop\":\"' + date_end32 + '\"},'\n\t\t\t\t+ name33 + ':{' + '\"title\":' + title33 + ',' + '\"description\":' + description33 + ',' + '\"icon\":\"' + icon33 + '\",' + '\"duration\": ' + duration33 + ',' + '\"chnumber\": ' + chnumber33 + ', \"start\":' + '\"' + date_start_split33 + '\",\"stop\":\"' + date_end_split33 + '\",\"date_start\":\"' + date_start33 + '\",\"date_stop\":\"' + date_end33 + '\"},'\n\t\t\t\t+ name34 + ':{' + '\"title\":' + title34 + ',' + '\"description\":' + description34 + ',' + '\"icon\":\"' + icon34 + '\",' + '\"duration\": ' + duration34 + ',' + '\"chnumber\": ' + chnumber34 + ', \"start\":' + '\"' + date_start_split34 + '\",\"stop\":\"' + date_end_split34 + '\",\"date_start\":\"' + date_start34 + '\",\"date_stop\":\"' + date_end34 + '\"},'\n\t\t\t\t+ name35 + ':{' + '\"title\":' + title35 + ',' + '\"description\":' + description35 + ',' + '\"icon\":\"' + icon35 + '\",' + '\"duration\": ' + duration35 + ',' + '\"chnumber\": ' + chnumber35 + ', \"start\":' + '\"' + date_start_split35 + '\",\"stop\":\"' + date_end_split35 + '\",\"date_start\":\"' + date_start35 + '\",\"date_stop\":\"' + date_end35 + '\"},'\n\t\t\t\t+ name36 + ':{' + '\"title\":' + title36 + ',' + '\"description\":' + description36 + ',' + '\"icon\":\"' + icon36 + '\",' + '\"duration\": ' + duration36 + ',' + '\"chnumber\": ' + chnumber36 + ', \"start\":' + '\"' + date_start_split36 + '\",\"stop\":\"' + date_end_split36 + '\",\"date_start\":\"' + date_start36 + '\",\"date_stop\":\"' + date_end36 + '\"},'\n\t\t\t\t+ name37 + ':{' + '\"title\":' + title37 + ',' + '\"description\":' + description37 + ',' + '\"icon\":\"' + icon37 + '\",' + '\"duration\": ' + duration37 + ',' + '\"chnumber\": ' + chnumber37 + ', \"start\":' + '\"' + date_start_split37 + '\",\"stop\":\"' + date_end_split37 + '\",\"date_start\":\"' + date_start37 + '\",\"date_stop\":\"' + date_end37 + '\"},'\n\t\t\t\t+ name38 + ':{' + '\"title\":' + title38 + ',' + '\"description\":' + description38 + ',' + '\"icon\":\"' + icon38 + '\",' + '\"duration\": ' + duration38 + ',' + '\"chnumber\": ' + chnumber38 + ', \"start\":' + '\"' + date_start_split38 + '\",\"stop\":\"' + date_end_split38 + '\",\"date_start\":\"' + date_start38 + '\",\"date_stop\":\"' + date_end38 + '\"},'\n\t\t\t\t+ name39 + ':{' + '\"title\":' + title39 + ',' + '\"description\":' + description39 + ',' + '\"icon\":\"' + icon39 + '\",' + '\"duration\": ' + duration39 + ',' + '\"chnumber\": ' + chnumber39 + ', \"start\":' + '\"' + date_start_split39 + '\",\"stop\":\"' + date_end_split39 + '\",\"date_start\":\"' + date_start39 + '\",\"date_stop\":\"' + date_end39 + '\"},'\n\t\t\t\t+ name40 + ':{' + '\"title\":' + title40 + ',' + '\"description\":' + description40 + ',' + '\"icon\":\"' + icon40 + '\",' + '\"duration\": ' + duration40 + ',' + '\"chnumber\": ' + chnumber40 + ', \"start\":' + '\"' + date_start_split40 + '\",\"stop\":\"' + date_end_split40 + '\",\"date_start\":\"' + date_start40 + '\",\"date_stop\":\"' + date_end40 + '\"},'\n\t\t\t\t+ name41 + ':{' + '\"title\":' + title41 + ',' + '\"description\":' + description41 + ',' + '\"icon\":\"' + icon41 + '\",' + '\"duration\": ' + duration41 + ',' + '\"chnumber\": ' + chnumber41 + ', \"start\":' + '\"' + date_start_split41 + '\",\"stop\":\"' + date_end_split41 + '\",\"date_start\":\"' + date_start41 + '\",\"date_stop\":\"' + date_end41 + '\"},'\n\t\t\t\t+ name42 + ':{' + '\"title\":' + title42 + ',' + '\"description\":' + description42 + ',' + '\"icon\":\"' + icon42 + '\",' + '\"duration\": ' + duration42 + ',' + '\"chnumber\": ' + chnumber42 + ', \"start\":' + '\"' + date_start_split42 + '\",\"stop\":\"' + date_end_split42 + '\",\"date_start\":\"' + date_start42 + '\",\"date_stop\":\"' + date_end42 + '\"},'\n\t\t\t\t+ name43 + ':{' + '\"title\":' + title43 + ',' + '\"description\":' + description43 + ',' + '\"icon\":\"' + icon43 + '\",' + '\"duration\": ' + duration43 + ',' + '\"chnumber\": ' + chnumber43 + ', \"start\":' + '\"' + date_start_split43 + '\",\"stop\":\"' + date_end_split43 + '\",\"date_start\":\"' + date_start43 + '\",\"date_stop\":\"' + date_end43 + '\"},'\n\t\t\t\t+ name44 + ':{' + '\"title\":' + title44 + ',' + '\"description\":' + description44 + ',' + '\"icon\":\"' + icon44 + '\",' + '\"duration\": ' + duration44 + ',' + '\"chnumber\": ' + chnumber44 + ', \"start\":' + '\"' + date_start_split44 + '\",\"stop\":\"' + date_end_split44 + '\",\"date_start\":\"' + date_start44 + '\",\"date_stop\":\"' + date_end44 + '\"},'\n\t\t\t\t+ name45 + ':{' + '\"title\":' + title45 + ',' + '\"description\":' + description45 + ',' + '\"icon\":\"' + icon45 + '\",' + '\"duration\": ' + duration45 + ',' + '\"chnumber\": ' + chnumber45 + ', \"start\":' + '\"' + date_start_split45 + '\",\"stop\":\"' + date_end_split45 + '\",\"date_start\":\"' + date_start45 + '\",\"date_stop\":\"' + date_end45 + '\"},'\n\t\t\t\t+ name46 + ':{' + '\"title\":' + title46 + ',' + '\"description\":' + description46 + ',' + '\"icon\":\"' + icon46 + '\",' + '\"duration\": ' + duration46 + ',' + '\"chnumber\": ' + chnumber46 + ', \"start\":' + '\"' + date_start_split46 + '\",\"stop\":\"' + date_end_split46 + '\",\"date_start\":\"' + date_start46 + '\",\"date_stop\":\"' + date_end46 + '\"},'\n\t\t\t\t+ name47 + ':{' + '\"title\":' + title47 + ',' + '\"description\":' + description47 + ',' + '\"icon\":\"' + icon47 + '\",' + '\"duration\": ' + duration47 + ',' + '\"chnumber\": ' + chnumber47 + ', \"start\":' + '\"' + date_start_split47 + '\",\"stop\":\"' + date_end_split47 + '\",\"date_start\":\"' + date_start47 + '\",\"date_stop\":\"' + date_end47 + '\"},'\n\t\t\t\t+ name48 + ':{' + '\"title\":' + title48 + ',' + '\"description\":' + description48 + ',' + '\"icon\":\"' + icon48 + '\",' + '\"duration\": ' + duration48 + ',' + '\"chnumber\": ' + chnumber48 + ', \"start\":' + '\"' + date_start_split48 + '\",\"stop\":\"' + date_end_split48 + '\",\"date_start\":\"' + date_start48 + '\",\"date_stop\":\"' + date_end48 + '\"},'\n\t\t\t\t+ name49 + ':{' + '\"title\":' + title49 + ',' + '\"description\":' + description49 + ',' + '\"icon\":\"' + icon49 + '\",' + '\"duration\": ' + duration49 + ',' + '\"chnumber\": ' + chnumber49 + ', \"start\":' + '\"' + date_start_split49 + '\",\"stop\":\"' + date_end_split49 + '\",\"date_start\":\"' + date_start49 + '\",\"date_stop\":\"' + date_end49 + '\"},'\n\t\t\t\t+ name50 + ':{' + '\"title\":' + title50 + ',' + '\"description\":' + description50 + ',' + '\"icon\":\"' + icon50 + '\",' + '\"duration\": ' + duration50 + ',' + '\"chnumber\": ' + chnumber50 + ', \"start\":' + '\"' + date_start_split50 + '\",\"stop\":\"' + date_end_split50 + '\",\"date_start\":\"' + date_start50 + '\",\"date_stop\":\"' + date_end50 + '\"},'\n\t\t\t\t+ name51 + ':{' + '\"title\":' + title51 + ',' + '\"description\":' + description51 + ',' + '\"icon\":\"' + icon51 + '\",' + '\"duration\": ' + duration51 + ',' + '\"chnumber\": ' + chnumber51 + ', \"start\":' + '\"' + date_start_split51 + '\",\"stop\":\"' + date_end_split51 + '\",\"date_start\":\"' + date_start51 + '\",\"date_stop\":\"' + date_end51 + '\"},'\n\t\t\t\t+ name52 + ':{' + '\"title\":' + title52 + ',' + '\"description\":' + description52 + ',' + '\"icon\":\"' + icon52 + '\",' + '\"duration\": ' + duration52 + ',' + '\"chnumber\": ' + chnumber52 + ', \"start\":' + '\"' + date_start_split52 + '\",\"stop\":\"' + date_end_split52 + '\",\"date_start\":\"' + date_start52 + '\",\"date_stop\":\"' + date_end52 + '\"},'\n\t\t\t\t+ name53 + ':{' + '\"title\":' + title53 + ',' + '\"description\":' + description53 + ',' + '\"icon\":\"' + icon53 + '\",' + '\"duration\": ' + duration53 + ',' + '\"chnumber\": ' + chnumber53 + ', \"start\":' + '\"' + date_start_split53 + '\",\"stop\":\"' + date_end_split53 + '\",\"date_start\":\"' + date_start53 + '\",\"date_stop\":\"' + date_end53 + '\"},'\n\t\t\t\t+ name54 + ':{' + '\"title\":' + title54 + ',' + '\"description\":' + description54 + ',' + '\"icon\":\"' + icon54 + '\",' + '\"duration\": ' + duration54 + ',' + '\"chnumber\": ' + chnumber54 + ', \"start\":' + '\"' + date_start_split54 + '\",\"stop\":\"' + date_end_split54 + '\",\"date_start\":\"' + date_start54 + '\",\"date_stop\":\"' + date_end54 + '\"},'\n\t\t\t\t+ name55 + ':{' + '\"title\":' + title55 + ',' + '\"description\":' + description55 + ',' + '\"icon\":\"' + icon55 + '\",' + '\"duration\": ' + duration55 + ',' + '\"chnumber\": ' + chnumber55 + ', \"start\":' + '\"' + date_start_split55 + '\",\"stop\":\"' + date_end_split55 + '\",\"date_start\":\"' + date_start55 + '\",\"date_stop\":\"' + date_end55 + '\"},'\n\t\t\t\t+ name56 + ':{' + '\"title\":' + title56 + ',' + '\"description\":' + description56 + ',' + '\"icon\":\"' + icon56 + '\",' + '\"duration\": ' + duration56 + ',' + '\"chnumber\": ' + chnumber56 + ', \"start\":' + '\"' + date_start_split56 + '\",\"stop\":\"' + date_end_split56 + '\",\"date_start\":\"' + date_start56 + '\",\"date_stop\":\"' + date_end56 + '\"},'\n\t\t\t\t+ name57 + ':{' + '\"title\":' + title57 + ',' + '\"description\":' + description57 + ',' + '\"icon\":\"' + icon57 + '\",' + '\"duration\": ' + duration57 + ',' + '\"chnumber\": ' + chnumber57 + ', \"start\":' + '\"' + date_start_split57 + '\",\"stop\":\"' + date_end_split57 + '\",\"date_start\":\"' + date_start57 + '\",\"date_stop\":\"' + date_end57 + '\"},'\n\t\t\t\t+ name58 + ':{' + '\"title\":' + title58 + ',' + '\"description\":' + description58 + ',' + '\"icon\":\"' + icon58 + '\",' + '\"duration\": ' + duration58 + ',' + '\"chnumber\": ' + chnumber58 + ', \"start\":' + '\"' + date_start_split58 + '\",\"stop\":\"' + date_end_split58 + '\",\"date_start\":\"' + date_start58 + '\",\"date_stop\":\"' + date_end58 + '\"},'\n\t\t\t\t+ name59 + ':{' + '\"title\":' + title59 + ',' + '\"description\":' + description59 + ',' + '\"icon\":\"' + icon59 + '\",' + '\"duration\": ' + duration59 + ',' + '\"chnumber\": ' + chnumber59 + ', \"start\":' + '\"' + date_start_split59 + '\",\"stop\":\"' + date_end_split59 + '\",\"date_start\":\"' + date_start59 + '\",\"date_stop\":\"' + date_end59 + '\"},'\n\t\t\t\t+ name60 + ':{' + '\"title\":' + title60 + ',' + '\"description\":' + description60 + ',' + '\"icon\":\"' + icon60 + '\",' + '\"duration\": ' + duration60 + ',' + '\"chnumber\": ' + chnumber60 + ', \"start\":' + '\"' + date_start_split60 + '\",\"stop\":\"' + date_end_split60 + '\",\"date_start\":\"' + date_start60 + '\",\"date_stop\":\"' + date_end60 + '\"}}'\n\t\t\t\t\n node.send(msg);\n\nreturn;",
"outputs": 1,
"timeout": "",
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 880,
"y": 740,
"wires": [["45bdb89691ceb834"]]
},
{
"id": "093b50e36bc2de5a",
"type": "function",
"z": "973dcb133a1fdc46",
"name": "function next",
"func": "var ora = Date.now();\nvar date = new Date(ora).toLocaleDateString(\"it-IT\").replace(\"/\", \"-\").replace(\"/\", \"-\")\nvar time = new Date(ora).toLocaleTimeString(\"it-IT\")\nvar currentDate = new Date();\nvar tomorrow = currentDate.setDate(currentDate.getDate() + 1 );\nvar domani = new Date(tomorrow).toLocaleDateString(\"it-IT\").replace(\"/\", \"-\").replace(\"/\", \"-\")\n\nmsg.url = \"https://services.tivulaguida.it/api/epg/programming/events/next/\" + date\n\nvar lastchecked = msg.timestamp\nvar date2 = new Date(lastchecked).toLocaleDateString(\"it-IT\")\nvar time2 = new Date(lastchecked).toLocaleTimeString(\"it-IT\").slice(0, -3)\nvar finaldate = time2 + \" \" + date2\nmsg.timestamp = finaldate\n\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 630,
"y": 820,
"wires": [["59d90ea3a2773e6c"]]
},
{
"id": "fa78065fed7b8d9c",
"type": "ha-sensor",
"z": "973dcb133a1fdc46",
"name": "Dopo in TV Rai 1",
"entityConfig": "7a6b04df8540bcdb",
"version": 0,
"state": "final[\"Rai 1 HD\"].title",
"stateType": "msg",
"attributes": [
{ "property": "title", "value": "final[\"Rai 1 HD\"].title", "valueType": "msg" },
{ "property": "description", "value": "final[\"Rai 1 HD\"].description", "valueType": "msg" },
{ "property": "duration", "value": "final[\"Rai 1 HD\"].duration", "valueType": "msg" },
{ "property": "start", "value": "final[\"Rai 1 HD\"].start", "valueType": "msg" },
{ "property": "stop", "value": "final[\"Rai 1 HD\"].stop", "valueType": "msg" },
{ "property": "chnumber", "value": "final[\"Rai 1 HD\"].chnumber", "valueType": "msg" },
{ "property": "icon", "value": "final[\"Rai 1 HD\"].icon", "valueType": "msg" },
{ "property": "date_start", "value": "final[\"Rai 1 HD\"].date_start", "valueType": "msg" },
{ "property": "date_stop", "value": "final[\"Rai 1 HD\"].date_stop", "valueType": "msg" },
{ "property": "timestamp", "value": "timestamp", "valueType": "msg" }
],
"inputOverride": "allow",
"outputProperties": [],
"x": 1450,
"y": 300,
"wires": [[]]
},
{
"id": "2dc8bdd93b4aca82",
"type": "ha-sensor",
"z": "973dcb133a1fdc46",
"name": "Dopo in TV Rai 2",
"entityConfig": "d7b430f5ad640cca",
"version": 0,
"state": "final[\"Rai 2 HD\"].title",
"stateType": "msg",
"attributes": [
{ "property": "title", "value": "final[\"Rai 2 HD\"].title", "valueType": "msg" },
{ "property": "description", "value": "final[\"Rai 2 HD\"].description", "valueType": "msg" },
{ "property": "duration", "value": "final[\"Rai 2 HD\"].duration", "valueType": "msg" },
{ "property": "start", "value": "final[\"Rai 2 HD\"].start", "valueType": "msg" },
{ "property": "stop", "value": "final[\"Rai 2 HD\"].stop", "valueType": "msg" },
{ "property": "chnumber", "value": "final[\"Rai 2 HD\"].chnumber", "valueType": "msg" },
{ "property": "icon", "value": "final[\"Rai 2 HD\"].icon", "valueType": "msg" },
{ "property": "date_start", "value": "final[\"Rai 2 HD\"].date_start", "valueType": "msg" },
{ "property": "date_stop", "value": "final[\"Rai 2 HD\"].date_stop", "valueType": "msg" },
{ "property": "timestamp", "value": "timestamp", "valueType": "msg" }
],
"inputOverride": "allow",
"outputProperties": [],
"x": 1450,
"y": 360,
"wires": [[]]
},
{
"id": "8f66da32199ae6d6",
"type": "ha-sensor",
"z": "973dcb133a1fdc46",
"name": "Dopo in TV Rai 3",
"entityConfig": "d13c10c6f9a2f431",
"version": 0,
"state": "final[\"Rai 3 HD\"].title",
"stateType": "msg",
"attributes": [
{ "property": "title", "value": "final[\"Rai 3 HD\"].title", "valueType": "msg" },
{ "property": "description", "value": "final[\"Rai 3 HD\"].description", "valueType": "msg" },
{ "property": "duration", "value": "final[\"Rai 3 HD\"].duration", "valueType": "msg" },
{ "property": "start", "value": "final[\"Rai 3 HD\"].start", "valueType": "msg" },
{ "property": "stop", "value": "final[\"Rai 3 HD\"].stop", "valueType": "msg" },
{ "property": "chnumber", "value": "final[\"Rai 3 HD\"].chnumber", "valueType": "msg" },
{ "property": "icon", "value": "final[\"Rai 3 HD\"].icon", "valueType": "msg" },
{ "property": "date_start", "value": "final[\"Rai 3 HD\"].date_start", "valueType": "msg" },
{ "property": "date_stop", "value": "final[\"Rai 3 HD\"].date_stop", "valueType": "msg" },
{ "property": "timestamp", "value": "timestamp", "valueType": "msg" }
],
"inputOverride": "allow",
"outputProperties": [],
"x": 1450,
"y": 420,
"wires": [[]]
},
{
"id": "cb6d47118526b795",
"type": "ha-sensor",
"z": "973dcb133a1fdc46",
"name": "Dopo in TV Rete 4",
"entityConfig": "8100b1874d77237c",
"version": 0,
"state": "final[\"Rete 4 HD\"].title",
"stateType": "msg",
"attributes": [
{ "property": "title", "value": "final[\"Rete 4 HD\"].title", "valueType": "msg" },
{ "property": "description", "value": "final[\"Rete 4 HD\"].description", "valueType": "msg" },
{ "property": "duration", "value": "final[\"Rete 4 HD\"].duration", "valueType": "msg" },
{ "property": "start", "value": "final[\"Rete 4 HD\"].start", "valueType": "msg" },
{ "property": "stop", "value": "final[\"Rete 4 HD\"].stop", "valueType": "msg" },
{ "property": "chnumber", "value": "final[\"Rete 4 HD\"].chnumber", "valueType": "msg" },
{ "property": "icon", "value": "final[\"Rete 4 HD\"].icon", "valueType": "msg" },
{ "property": "date_start", "value": "final[\"Rete 4 HD\"].date_start", "valueType": "msg" },
{ "property": "date_stop", "value": "final[\"Rete 4 HD\"].date_stop", "valueType": "msg" },
{ "property": "timestamp", "value": "timestamp", "valueType": "msg" }
],
"inputOverride": "allow",
"outputProperties": [],
"x": 1450,
"y": 480,
"wires": [[]]
},
{
"id": "825c5c9fc647c197",
"type": "ha-sensor",
"z": "973dcb133a1fdc46",
"name": "Dopo in TV Canale 5",
"entityConfig": "1d7a689823f7058b",
"version": 0,
"state": "final[\"Canale 5 HD\"].title",
"stateType": "msg",
"attributes": [
{ "property": "title", "value": "final[\"Canale 5 HD\"].title", "valueType": "msg" },
{ "property": "description", "value": "final[\"Canale 5 HD\"].description", "valueType": "msg" },
{ "property": "duration", "value": "final[\"Canale 5 HD\"].duration", "valueType": "msg" },
{ "property": "start", "value": "final[\"Canale 5 HD\"].start", "valueType": "msg" },
{ "property": "stop", "value": "final[\"Canale 5 HD\"].stop", "valueType": "msg" },
{ "property": "chnumber", "value": "final[\"Canale 5 HD\"].chnumber", "valueType": "msg" },
{ "property": "icon", "value": "final[\"Canale 5 HD\"].icon", "valueType": "msg" },
{ "property": "date_start", "value": "final[\"Canale 5 HD\"].date_start", "valueType": "msg" },
{ "property": "date_stop", "value": "final[\"Canale 5 HD\"].date_stop", "valueType": "msg" },
{ "property": "timestamp", "value": "timestamp", "valueType": "msg" }
],
"inputOverride": "allow",
"outputProperties": [],
"x": 1460,
"y": 540,
"wires": [[]]
},
{
"id": "6b2bc513085ed5ab",
"type": "ha-sensor",
"z": "973dcb133a1fdc46",
"name": "Dopo in TV Italia 1",
"entityConfig": "d672f2bc8eded8d2",
"version": 0,
"state": "final[\"Italia 1 HD\"].title",
"stateType": "msg",
"attributes": [
{ "property": "title", "value": "final[\"Italia 1 HD\"].title", "valueType": "msg" },
{ "property": "description", "value": "final[\"Italia 1 HD\"].description", "valueType": "msg" },
{ "property": "duration", "value": "final[\"Italia 1 HD\"].duration", "valueType": "msg" },
{ "property": "start", "value": "final[\"Italia 1 HD\"].start", "valueType": "msg" },
{ "property": "stop", "value": "final[\"Italia 1 HD\"].stop", "valueType": "msg" },
{ "property": "chnumber", "value": "final[\"Italia 1 HD\"].chnumber", "valueType": "msg" },
{ "property": "icon", "value": "final[\"Italia 1 HD\"].icon", "valueType": "msg" },
{ "property": "date_start", "value": "final[\"Italia 1 HD\"].date_start", "valueType": "msg" },
{ "property": "date_stop", "value": "final[\"Italia 1 HD\"].date_stop", "valueType": "msg" },
{ "property": "timestamp", "value": "timestamp", "valueType": "msg" }
],
"inputOverride": "allow",
"outputProperties": [],
"x": 1450,
"y": 600,
"wires": [[]]
},
{
"id": "cb89e5fd690ac173",
"type": "ha-sensor",
"z": "973dcb133a1fdc46",
"name": "Dopo in TV La7",
"entityConfig": "678ed2f95554201f",
"version": 0,
"state": "final[\"La7 HD\"].title",
"stateType": "msg",
"attributes": [
{ "property": "title", "value": "final[\"La7 HD\"].title", "valueType": "msg" },
{ "property": "description", "value": "final[\"La7 HD\"].description", "valueType": "msg" },
{ "property": "duration", "value": "final[\"La7 HD\"].duration", "valueType": "msg" },
{ "property": "start", "value": "final[\"La7 HD\"].start", "valueType": "msg" },
{ "property": "stop", "value": "final[\"La7 HD\"].stop", "valueType": "msg" },
{ "property": "chnumber", "value": "final[\"La7 HD\"].chnumber", "valueType": "msg" },
{ "property": "icon", "value": "final[\"La7 HD\"].icon", "valueType": "msg" },
{ "property": "date_start", "value": "final[\"La7 HD\"].date_start", "valueType": "msg" },
{ "property": "date_stop", "value": "final[\"La7 HD\"].date_stop", "valueType": "msg" },
{ "property": "timestamp", "value": "timestamp", "valueType": "msg" }
],
"inputOverride": "allow",
"outputProperties": [],
"x": 1440,
"y": 660,
"wires": [[]]
},
{
"id": "24c7370da827147a",
"type": "ha-sensor",
"z": "973dcb133a1fdc46",
"name": "Dopo in TV TV8",
"entityConfig": "75b4c2b46e844acf",
"version": 0,
"state": "final[\"TV8 HD\"].title",
"stateType": "msg",
"attributes": [
{ "property": "title", "value": "final[\"TV8 HD\"].title", "valueType": "msg" },
{ "property": "description", "value": "final[\"TV8 HD\"].description", "valueType": "msg" },
{ "property": "duration", "value": "final[\"TV8 HD\"].duration", "valueType": "msg" },
{ "property": "start", "value": "final[\"TV8 HD\"].start", "valueType": "msg" },
{ "property": "stop", "value": "final[\"TV8 HD\"].stop", "valueType": "msg" },
{ "property": "chnumber", "value": "final[\"TV8 HD\"].chnumber", "valueType": "msg" },
{ "property": "icon", "value": "final[\"TV8 HD\"].icon", "valueType": "msg" },
{ "property": "date_start", "value": "final[\"TV8 HD\"].date_start", "valueType": "msg" },
{ "property": "date_stop", "value": "final[\"TV8 HD\"].date_stop", "valueType": "msg" },
{ "property": "timestamp", "value": "timestamp", "valueType": "str" }
],
"inputOverride": "allow",
"outputProperties": [],
"x": 1440,
"y": 720,
"wires": [[]]
},
{
"id": "79204da14a4bc0bf",
"type": "ha-sensor",
"z": "973dcb133a1fdc46",
"name": "Dopo in TV NOVE",
"entityConfig": "5f2ddb85eef44dfd",
"version": 0,
"state": "final[\"NOVE HD\"].title",
"stateType": "msg",
"attributes": [
{ "property": "title", "value": "final[\"NOVE HD\"].title", "valueType": "msg" },
{ "property": "description", "value": "final[\"NOVE HD\"].description", "valueType": "msg" },
{ "property": "duration", "value": "final[\"NOVE HD\"].duration", "valueType": "msg" },
{ "property": "start", "value": "final[\"NOVE HD\"].start", "valueType": "msg" },
{ "property": "stop", "value": "final[\"NOVE HD\"].stop", "valueType": "msg" },
{ "property": "chnumber", "value": "final[\"NOVE HD\"].chnumber", "valueType": "msg" },
{ "property": "icon", "value": "final[\"NOVE HD\"].icon", "valueType": "msg" },
{ "property": "date_start", "value": "final[\"NOVE HD\"].date_start", "valueType": "msg" },
{ "property": "date_stop", "value": "final[\"NOVE HD\"].date_stop", "valueType": "msg" },
{ "property": "timestamp", "value": "timestamp", "valueType": "msg" }
],
"inputOverride": "allow",
"outputProperties": [],
"x": 1450,
"y": 780,
"wires": [[]]
},
{
"id": "9a1f39cce6b74d4b",
"type": "ha-sensor",
"z": "973dcb133a1fdc46",
"name": "Dopo in TV Iris",
"entityConfig": "be163e06dcc4bf52",
"version": 0,
"state": "final[\"Iris HD\"].title",
"stateType": "msg",
"attributes": [
{ "property": "title", "value": "final[\"Iris HD\"].title", "valueType": "msg" },
{ "property": "description", "value": "final[\"Iris HD\"].description", "valueType": "msg" },
{ "property": "duration", "value": "final[\"Iris HD\"].duration", "valueType": "msg" },
{ "property": "start", "value": "final[\"Iris HD\"].start", "valueType": "msg" },
{ "property": "stop", "value": "final[\"Iris HD\"].stop", "valueType": "msg" },
{ "property": "chnumber", "value": "final[\"Iris HD\"].chnumber", "valueType": "msg" },
{ "property": "icon", "value": "final[\"Iris HD\"].icon", "valueType": "msg" },
{ "property": "date_start", "value": "final[\"Iris HD\"].date_start", "valueType": "msg" },
{ "property": "date_stop", "value": "final[\"Iris HD\"].date_stop", "valueType": "msg" },
{ "property": "timestamp", "value": "timestamp", "valueType": "msg" }
],
"inputOverride": "allow",
"outputProperties": [],
"x": 1440,
"y": 840,
"wires": [[]]
},
{
"id": "419586faa99f6587",
"type": "ha-sensor",
"z": "973dcb133a1fdc46",
"name": "Dopo in TV Mediaset Extra",
"entityConfig": "dbe333a7e0bc3491",
"version": 0,
"state": "final[\"Mediaset Extra HD\"].title",
"stateType": "msg",
"attributes": [
{ "property": "title", "value": "final[\"Mediaset Extra HD\"].title", "valueType": "msg" },
{ "property": "description", "value": "final[\"Mediaset Extra HD\"].description", "valueType": "msg" },
{ "property": "duration", "value": "final[\"Mediaset Extra HD\"].duration", "valueType": "msg" },
{ "property": "start", "value": "final[\"Mediaset Extra HD\"].start", "valueType": "msg" },
{ "property": "stop", "value": "final[\"Mediaset Extra HD\"].stop", "valueType": "msg" },
{ "property": "chnumber", "value": "final[\"Mediaset Extra HD\"].chnumber", "valueType": "msg" },
{ "property": "icon", "value": "final[\"Mediaset Extra HD\"].icon", "valueType": "msg" },
{ "property": "date_start", "value": "final[\"Mediaset Extra HD\"].date_start", "valueType": "msg" },
{ "property": "date_stop", "value": "final[\"Mediaset Extra HD\"].date_stop", "valueType": "msg" },
{ "property": "timestamp", "value": "timestamp", "valueType": "msg" }
],
"inputOverride": "allow",
"outputProperties": [],
"x": 1480,
"y": 900,
"wires": [[]]
},
{
"id": "98241d2ece8a9cb4",
"type": "ha-sensor",
"z": "973dcb133a1fdc46",
"name": "Dopo in TV Cielo",
"entityConfig": "a1712916a420f547",
"version": 0,
"state": "final[\"Cielo HD\"].title",
"stateType": "msg",
"attributes": [
{ "property": "title", "value": "final[\"Cielo HD\"].title", "valueType": "msg" },
{ "property": "description", "value": "final[\"Cielo HD\"].description", "valueType": "msg" },
{ "property": "duration", "value": "final[\"Cielo HD\"].duration", "valueType": "msg" },
{ "property": "start", "value": "final[\"Cielo HD\"].start", "valueType": "msg" },
{ "property": "stop", "value": "final[\"Cielo HD\"].stop", "valueType": "msg" },
{ "property": "chnumber", "value": "final[\"Cielo HD\"].chnumber", "valueType": "msg" },
{ "property": "icon", "value": "final[\"Cielo HD\"].icon", "valueType": "msg" },
{ "property": "date_start", "value": "final[\"Cielo HD\"].date_start", "valueType": "msg" },
{ "property": "date_stop", "value": "final[\"Cielo HD\"].date_stop", "valueType": "msg" },
{ "property": "timestamp", "value": "timestamp", "valueType": "msg" }
],
"inputOverride": "allow",
"outputProperties": [],
"x": 1450,
"y": 960,
"wires": [[]]
},
{
"id": "91cbfb8f0a00c60f",
"type": "ha-sensor",
"z": "973dcb133a1fdc46",
"name": "Dopo in TV 20 Mediaset",
"entityConfig": "c532d0f1a8bc4af2",
"version": 0,
"state": "final[\"20 Mediaset HD\"].title",
"stateType": "msg",
"attributes": [
{ "property": "title", "value": "final[\"20 Mediaset HD\"].title", "valueType": "msg" },
{ "property": "description", "value": "final[\"20 Mediaset HD\"].description", "valueType": "msg" },
{ "property": "duration", "value": "final[\"20 Mediaset HD\"].duration", "valueType": "msg" },
{ "property": "start", "value": "final[\"20 Mediaset HD\"].start", "valueType": "msg" },
{ "property": "stop", "value": "final[\"20 Mediaset HD\"].stop", "valueType": "msg" },
{ "property": "chnumber", "value": "final[\"20 Mediaset HD\"].chnumber", "valueType": "msg" },
{ "property": "icon", "value": "final[\"20 Mediaset HD\"].icon", "valueType": "msg" },
{ "property": "date_start", "value": "final[\"20 Mediaset HD\"].date_start", "valueType": "msg" },
{ "property": "date_stop", "value": "final[\"20 Mediaset HD\"].date_stop", "valueType": "msg" },
{ "property": "timestamp", "value": "timestamp", "valueType": "msg" }
],
"inputOverride": "allow",
"outputProperties": [],
"x": 1470,
"y": 1020,
"wires": [[]]
},
{
"id": "ac1ac7f414525311",
"type": "ha-sensor",
"z": "973dcb133a1fdc46",
"name": "Dopo in TV 27 Twentyseven",
"entityConfig": "91557d08f0ca1d4a",
"version": 0,
"state": "final[\"27 Twentyseven HD\"].title",
"stateType": "msg",
"attributes": [
{ "property": "title", "value": "final[\"27 Twentyseven HD\"].title", "valueType": "msg" },
{ "property": "description", "value": "final[\"27 Twentyseven HD\"].description", "valueType": "msg" },
{ "property": "duration", "value": "final[\"27 Twentyseven HD\"].duration", "valueType": "msg" },
{ "property": "start", "value": "final[\"27 Twentyseven HD\"].start", "valueType": "msg" },
{ "property": "stop", "value": "final[\"27 Twentyseven HD\"].stop", "valueType": "msg" },
{ "property": "chnumber", "value": "final[\"27 Twentyseven HD\"].chnumber", "valueType": "msg" },
{ "property": "icon", "value": "final[\"27 Twentyseven HD\"].icon", "valueType": "msg" },
{ "property": "date_start", "value": "final[\"27 Twentyseven HD\"].date_start", "valueType": "msg" },
{ "property": "date_stop", "value": "final[\"27 Twentyseven HD\"].date_stop", "valueType": "msg" },
{ "property": "timestamp", "value": "timestamp", "valueType": "msg" }
],
"inputOverride": "allow",
"outputProperties": [],
"x": 1480,
"y": 1080,
"wires": [[]]
},
{
"id": "2e66a2fd5fbbd065",
"type": "ha-sensor",
"z": "973dcb133a1fdc46",
"name": "Dopo in TV DMAX",
"entityConfig": "796f38350abf9f86",
"version": 0,
"state": "final[\"DMAX HD\"].title",
"stateType": "msg",
"attributes": [
{ "property": "title", "value": "final[\"DMAX HD\"].title", "valueType": "msg" },
{ "property": "description", "value": "final[\"DMAX HD\"].description", "valueType": "msg" },
{ "property": "duration", "value": "final[\"DMAX HD\"].duration", "valueType": "msg" },
{ "property": "start", "value": "final[\"DMAX HD\"].start", "valueType": "msg" },
{ "property": "stop", "value": "final[\"DMAX HD\"].stop", "valueType": "msg" },
{ "property": "chnumber", "value": "final[\"DMAX HD\"].chnumber", "valueType": "msg" },
{ "property": "icon", "value": "final[\"DMAX HD\"].icon", "valueType": "msg" },
{ "property": "date_start", "value": "final[\"DMAX HD\"].date_start", "valueType": "msg" },
{ "property": "date_stop", "value": "final[\"DMAX HD\"].date_stop", "valueType": "msg" },
{ "property": "timestamp", "value": "timestamp", "valueType": "msg" }
],
"inputOverride": "allow",
"outputProperties": [],
"x": 1450,
"y": 1140,
"wires": [[]]
},
{
"id": "08d46455d8316970",
"type": "ha-sensor",
"z": "973dcb133a1fdc46",
"name": "Dopo in TV Focus",
"entityConfig": "2af3e907b86d1b3a",
"version": 0,
"state": "final[\"Focus HD\"].title",
"stateType": "msg",
"attributes": [
{ "property": "title", "value": "final[\"Focus HD\"].title", "valueType": "msg" },
{ "property": "description", "value": "final[\"Focus HD\"].description", "valueType": "msg" },
{ "property": "duration", "value": "final[\"Focus HD\"].duration", "valueType": "msg" },
{ "property": "start", "value": "final[\"Focus HD\"].start", "valueType": "msg" },
{ "property": "stop", "value": "final[\"Focus HD\"].stop", "valueType": "msg" },
{ "property": "chnumber", "value": "final[\"Focus HD\"].chnumber", "valueType": "msg" },
{ "property": "icon", "value": "final[\"Focus HD\"].icon", "valueType": "msg" },
{ "property": "date_start", "value": "final[\"Focus HD\"].date_start", "valueType": "msg" },
{ "property": "date_stop", "value": "final[\"Focus HD\"].date_stop", "valueType": "msg" },
{ "property": "timestamp", "value": "timestamp", "valueType": "msg" }
],
"inputOverride": "allow",
"outputProperties": [],
"x": 1450,
"y": 1200,
"wires": [[]]
},
{
"id": "7ad5eb72dd7dab8c",
"type": "ha-sensor",
"z": "973dcb133a1fdc46",
"name": "Dopo in TV Cine34",
"entityConfig": "8f9103c890e3ec1c",
"version": 0,
"state": "final[\"CIne 34 HD\"].title",
"stateType": "msg",
"attributes": [
{ "property": "title", "value": "final[\"CIne 34 HD\"].title", "valueType": "msg" },
{ "property": "description", "value": "final[\"CIne 34 HD\"].description", "valueType": "msg" },
{ "property": "duration", "value": "final[\"CIne 34 HD\"].duration", "valueType": "msg" },
{ "property": "start", "value": "final[\"CIne 34 HD\"].start", "valueType": "msg" },
{ "property": "stop", "value": "final[\"CIne 34 HD\"].stop", "valueType": "msg" },
{ "property": "chnumber", "value": "final[\"CIne 34 HD\"].chnumber", "valueType": "msg" },
{ "property": "icon", "value": "final[\"CIne 34 HD\"].icon", "valueType": "msg" },
{ "property": "date_start", "value": "final[\"CIne 34 HD\"].date_start", "valueType": "msg" },
{ "property": "date_stop", "value": "final[\"CIne 34 HD\"].date_stop", "valueType": "msg" },
{ "property": "timestamp", "value": "timestamp", "valueType": "msg" }
],
"inputOverride": "allow",
"outputProperties": [],
"x": 1450,
"y": 1260,
"wires": [[]]
},
{
"id": "1a1ff3042eef85c0",
"type": "ha-sensor",
"z": "973dcb133a1fdc46",
"name": "Dopo in TV TopCrime",
"entityConfig": "67d1328d7e999b7d",
"version": 0,
"state": "final[\"Top crime HD\"].title",
"stateType": "msg",
"attributes": [
{ "property": "title", "value": "final[\"Top crime HD\"].title", "valueType": "msg" },
{ "property": "description", "value": "final[\"Top crime HD\"].description", "valueType": "msg" },
{ "property": "duration", "value": "final[\"Top crime HD\"].duration", "valueType": "msg" },
{ "property": "start", "value": "final[\"Top crime HD\"].start", "valueType": "msg" },
{ "property": "stop", "value": "final[\"Top crime HD\"].stop", "valueType": "msg" },
{ "property": "chnumber", "value": "final[\"Top crime HD\"].chnumber", "valueType": "msg" },
{ "property": "icon", "value": "final[\"Top crime HD\"].icon", "valueType": "msg" },
{ "property": "date_start", "value": "final[\"Top crime HD\"].date_start", "valueType": "msg" },
{ "property": "date_stop", "value": "final[\"Top crime HD\"].date_stop", "valueType": "msg" },
{ "property": "timestamp", "value": "timestamp", "valueType": "msg" }
],
"inputOverride": "allow",
"outputProperties": [],
"x": 1460,
"y": 1320,
"wires": [[]]
},
{
"id": "b8fe17f7d9ed3b1d",
"type": "ha-sensor",
"z": "973dcb133a1fdc46",
"name": "Dopo in TV La5",
"entityConfig": "071389085ace5a38",
"version": 0,
"state": "final[\"La 5 HD\"].title",
"stateType": "msg",
"attributes": [
{ "property": "title", "value": "final[\"La 5 HD\"].title", "valueType": "msg" },
{ "property": "description", "value": "final[\"La 5 HD\"].description", "valueType": "msg" },
{ "property": "duration", "value": "final[\"La 5 HD\"].duration", "valueType": "msg" },
{ "property": "start", "value": "final[\"La 5 HD\"].start", "valueType": "msg" },
{ "property": "stop", "value": "final[\"La 5 HD\"].stop", "valueType": "msg" },
{ "property": "chnumber", "value": "final[\"La 5 HD\"].chnumber", "valueType": "msg" },
{ "property": "icon", "value": "final[\"La 5 HD\"].icon", "valueType": "msg" },
{ "property": "date_start", "value": "final[\"La 5 HD\"].date_start", "valueType": "msg" },
{ "property": "date_stop", "value": "final[\"La 5 HD\"].date_stop", "valueType": "msg" },
{ "property": "timestamp", "value": "timestamp", "valueType": "msg" }
],
"inputOverride": "allow",
"outputProperties": [],
"x": 1440,
"y": 1380,
"wires": [[]]
},
{
"id": "106e0b274f393d22",
"type": "ha-sensor",
"z": "973dcb133a1fdc46",
"name": "Dopo in TV Real time",
"entityConfig": "9e9ae0e7982b552d",
"version": 0,
"state": "final[\"Real time HD\"].title",
"stateType": "msg",
"attributes": [
{ "property": "title", "value": "final[\"Real time HD\"].title", "valueType": "msg" },
{ "property": "description", "value": "final[\"Real time HD\"].description", "valueType": "msg" },
{ "property": "duration", "value": "final[\"Real time HD\"].duration", "valueType": "msg" },
{ "property": "start", "value": "final[\"Real time HD\"].start", "valueType": "msg" },
{ "property": "stop", "value": "final[\"Real time HD\"].stop", "valueType": "msg" },
{ "property": "chnumber", "value": "final[\"Real time HD\"].chnumber", "valueType": "msg" },
{ "property": "icon", "value": "final[\"Real time HD\"].icon", "valueType": "msg" },
{ "property": "date_start", "value": "final[\"Real time HD\"].date_start", "valueType": "msg" },
{ "property": "date_stop", "value": "final[\"Real time HD\"].date_stop", "valueType": "msg" },
{ "property": "timestamp", "value": "timestamp", "valueType": "msg" }
],
"inputOverride": "allow",
"outputProperties": [],