forked from lucifersun/China-Telecom-ShangHai-IPTV-list
-
Notifications
You must be signed in to change notification settings - Fork 0
/
IPTV.html
286 lines (271 loc) · 27.5 KB
/
IPTV.html
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
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
body {font: normal 150% "Microsoft YaHei",Arial,sans-serif;}
</style>
<meta charset="utf-8">
<meta http-equiv="refresh" content="60">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>上海电信IPTV视频流地址</title>
<link rel="icon" type="image/png" href="/ico/favicon-16x16.png" sizes="16x16" />
<link rel="icon" type="image/png" href="/ico/favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="/ico/favicon-96x96.png" sizes="96x96" />
<link rel="icon" type="image/png" href="/ico/favicon-194x194.png" sizes="194x194" />
<link rel="icon" type="image/png" href="/ico/android-chrome-192x192.png" sizes="192x192" />
</head>
<body>
<h2>上海电信IPTV视频流地址</h2>
<p>开始日期: <input type="date" id="begin_user_date" />   开始时间: <input type="time" id="begin_user_time" /></p>
<p>结束日期: <input type="date" id="end_user_date" />   结束时间: <input type="time" id="end_user_time" /></p>
<p><input type="checkbox" onclick="reload()" id="HDonly"/> 仅显示HD频道</p>
<p><input type="checkbox" onclick="reload()" id="HDDel"/> HD频道去重(不显示高清频道对应的标清地址)</p>
<p><button type="button" onclick="reload()">更新链接</button>   <button type="button" onclick="timenow(4),reload()">当前时间+4小时</button>  注:带palyseek</p>
<p><button type="button" onclick="noplayseek()">生成纯链接</button>  注:不带palyseek</p>
<p><button type="button" onclick="m3u()">生成M3U内容</button>   <button type="button" onclick="txt()">生成txt内容</button></p>
<br>
<p id="demo"></p>
<script>
//"ChannelHD" 1=标清 2=高清 0=可去重(有高清的标清频道)
var iptvlist = '{"iptv":['+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226079/00000100000000060000000000000305_0.smil", "ChannelHD":0, "ChannelName":"CCTV-01"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226102/00000100000000060000000000009784_0.smil", "ChannelHD":2, "ChannelName":"CCTV-01 HD"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226078/00000100000000060000000000000321_0.smil", "ChannelHD":1, "ChannelName":"CCTV-02"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226109/00000100000000060000000000022679_0.smil", "ChannelHD":0, "ChannelName":"CCTV-03"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226389/10000100000000060000000002718685_0.smil", "ChannelHD":2, "ChannelName":"CCTV-03 HD"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226082/00000100000000060000000000000558_0.smil", "ChannelHD":1, "ChannelName":"CCTV-04"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226105/00000100000000060000000000022370_0.smil", "ChannelHD":0, "ChannelName":"CCTV-05"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226364/10000100000000060000000002718686_0.smil", "ChannelHD":2, "ChannelName":"CCTV-05 HD"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226106/00000100000000060000000000022371_0.smil", "ChannelHD":0, "ChannelName":"CCTV-06"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226366/10000100000000060000000002718688_0.smil", "ChannelHD":2, "ChannelName":"CCTV-06 HD"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226155/00000100000000060000000000087195_0.smil", "ChannelHD":1, "ChannelName":"CCTV-07"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226328/10000100000000060000000002544036_0.smil", "ChannelHD":0, "ChannelName":"CCTV-08"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226391/10000100000000060000000002718687_0.smil", "ChannelHD":2, "ChannelName":"CCTV-08 HD"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226157/00000100000000060000000000087197_0.smil", "ChannelHD":1, "ChannelName":"CCTV-10"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226166/00000100000000060000000000087198_0.smil", "ChannelHD":1, "ChannelName":"CCTV-11"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226159/00000100000000060000000000087199_0.smil", "ChannelHD":1, "ChannelName":"CCTV-12"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226164/00000100000000060000000000087196_0.smil", "ChannelHD":1, "ChannelName":"CCTV-NEWS"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226161/00000100000000060000000000087201_0.smil", "ChannelHD":1, "ChannelName":"CCTV-少儿"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226161/00000100000000060000000000087201_0.smil", "ChannelHD":1, "ChannelName":"CCTV-少儿"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226168/00000100000000060000000000087200_0.smil", "ChannelHD":1, "ChannelName":"CCTV-新闻"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226170/00000100000000060000000000087202_0.smil", "ChannelHD":1, "ChannelName":"CCTV-音乐"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226183/00000100000000060000000000087278_2.smil", "ChannelHD":0, "ChannelName":"Knews24"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226183/00000100000000060000000000087278_2.smil", "ChannelHD":0, "ChannelName":"Knews24"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226292/10000100000000060000000001678743_0.smil", "ChannelHD":1, "ChannelName":"MAX超级汽车"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226126/00000100000000060000000000087158_0.smil", "ChannelHD":1, "ChannelName":"安徽卫视"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226145/00000100000000060000000000087185_0.smil", "ChannelHD":0, "ChannelName":"北京卫视"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226087/00000100000000060000000000007666_0.smil", "ChannelHD":2, "ChannelName":"北京卫视HD"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226351/10000100000000060000000002544040_0.smil", "ChannelHD":1, "ChannelName":"兵团卫视"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226181/00000100000000060000000000087274_2.smil", "ChannelHD":0, "ChannelName":"超级体育01"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226181/00000100000000060000000000087274_2.smil", "ChannelHD":0, "ChannelName":"超级体育01"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/0/3221225669/0000000022ij.smil", "ChannelHD":2, "ChannelName":"超级体育01 HD"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226185/00000100000000060000000000087272_1.smil", "ChannelHD":0, "ChannelName":"超级体育02"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226185/00000100000000060000000000087272_1.smil", "ChannelHD":0, "ChannelName":"超级体育02"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226193/00000100000000060000000000201563_0.smil", "ChannelHD":2, "ChannelName":"超级体育02 HD"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226188/00000100000000060000000000087273_2.smil", "ChannelHD":0, "ChannelName":"超级体育03"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226188/00000100000000060000000000087273_2.smil", "ChannelHD":0, "ChannelName":"超级体育03"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226195/00000100000000060000000000201576_0.smil", "ChannelHD":2, "ChannelName":"超级体育03 HD"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226192/00000100000000060000000000087276_2.smil", "ChannelHD":0, "ChannelName":"超级体育04"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226192/00000100000000060000000000087276_2.smil", "ChannelHD":0, "ChannelName":"超级体育04"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226208/00000100000000060000000000201575_0.smil", "ChannelHD":2, "ChannelName":"超级体育04 HD"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226194/00000100000000060000000000087277_2.smil", "ChannelHD":0, "ChannelName":"超级体育05"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226194/00000100000000060000000000087277_2.smil", "ChannelHD":0, "ChannelName":"超级体育05"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226225/10000100000000060000000000686926_0.smil", "ChannelHD":2, "ChannelName":"超级体育05 HD"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226196/00000100000000060000000000087275_3.smil", "ChannelHD":0, "ChannelName":"超级体育06"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226196/00000100000000060000000000087275_3.smil", "ChannelHD":0, "ChannelName":"超级体育06"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226232/10000100000000060000000000686925_0.smil", "ChannelHD":2, "ChannelName":"超级体育06 HD"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226198/00000100000000060000000000088056_0.smil", "ChannelHD":0, "ChannelName":"超级体育07"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226198/00000100000000060000000000088056_0.smil", "ChannelHD":0, "ChannelName":"超级体育07"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226289/10000100000000060000000001678455_0.smil", "ChannelHD":2, "ChannelName":"超级体育07 HD"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226290/10000100000000060000000001678643_0.smil", "ChannelHD":0, "ChannelName":"超级体育08"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226294/10000100000000060000000001678744_0.smil", "ChannelHD":2, "ChannelName":"超级体育08 HD"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226295/10000100000000060000000001678642_0.smil", "ChannelHD":0, "ChannelName":"超级体育09"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226299/10000100000000060000000001678742_0.smil", "ChannelHD":2, "ChannelName":"超级体育09 HD"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226297/10000100000000060000000001678644_0.smil", "ChannelHD":1, "ChannelName":"超级体育10"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226301/10000100000000060000000001678747_0.smil", "ChannelHD":1, "ChannelName":"超级体育11"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226108/00000100000000060000000000022373_0.smil", "ChannelHD":0, "ChannelName":"第一财经"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226108/00000100000000060000000000022373_0.smil", "ChannelHD":0, "ChannelName":"第一财经"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226368/10000100000000060000000000813433_0_mdn_1.smil", "ChannelHD":2, "ChannelName":"第一财经HD"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226093/00000100000000060000000000007692_0.smil", "ChannelHD":0, "ChannelName":"电视剧频道"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226220/10000100000000060000000000522062_0.smil", "ChannelHD":2, "ChannelName":"电视剧频道HD"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226353/10000100000000060000000002544042_0.smil", "ChannelHD":1, "ChannelName":"东方财经浦东"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226326/10000100000000060000000002544034_0.smil", "ChannelHD":1, "ChannelName":"东方购物"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226098/00000100000000060000000000007697_0.smil", "ChannelHD":0, "ChannelName":"东方购物-1"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226275/10000100000000060000000001534016_0.smil", "ChannelHD":2, "ChannelName":"东方购物-1HD"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226264/10000100000000060000000001534015_0.smil", "ChannelHD":2, "ChannelName":"东方购物-2HD"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226240/10000100000000060000000000848366_0.smil", "ChannelHD":0, "ChannelName":"东方购物3"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226313/10000100000000060000000001865656_0.smil", "ChannelHD":2, "ChannelName":"东方购物-3HD"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226239/10000100000000060000000000848070_0.smil", "ChannelHD":1, "ChannelName":"东方购物4"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226243/10000100000000060000000000848375_0.smil", "ChannelHD":1, "ChannelName":"东方购物5"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226308/10000100000000060000000001865657_0.smil", "ChannelHD":2, "ChannelName":"东方购物HD"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226090/00000100000000060000000000007689_0.smil", "ChannelHD":0, "ChannelName":"东方卫视"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226112/00000100000000060000000000037556_0.smil", "ChannelHD":2, "ChannelName":"东方卫视高清"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226121/00000100000000060000000000087159_0.smil", "ChannelHD":1, "ChannelName":"东南卫视"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/0/3221225484/00000000010z.smil", "ChannelHD":1, "ChannelName":"动漫秀场"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226163/00000100000000060000000000087203_0.smil", "ChannelHD":0, "ChannelName":"都市剧场"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226249/10000100000000060000000001005951_0.smil", "ChannelHD":2, "ChannelName":"都市剧场HD"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226162/00000100000000060000000000087194_0.smil", "ChannelHD":1, "ChannelName":"法治天地"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226131/00000100000000060000000000087169_0.smil", "ChannelHD":1, "ChannelName":"甘肃卫视"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226138/00000100000000060000000000087170_0.smil", "ChannelHD":0, "ChannelName":"广东卫视"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226083/00000100000000060000000000005868_0.smil", "ChannelHD":2, "ChannelName":"广东卫视HD"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226158/00000100000000060000000000087190_0.smil", "ChannelHD":1, "ChannelName":"广西卫视"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226144/00000100000000060000000000087176_0.smil", "ChannelHD":1, "ChannelName":"贵州卫视"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226260/10000100000000060000000001335174_0.smil", "ChannelHD":1, "ChannelName":"好享购物"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226140/00000100000000060000000000087172_0.smil", "ChannelHD":1, "ChannelName":"河北卫视"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226124/00000100000000060000000000087104_0.smil", "ChannelHD":1, "ChannelName":"河南卫视"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226133/00000100000000060000000000087171_0.smil", "ChannelHD":0, "ChannelName":"黑龙江卫视"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226085/00000100000000060000000000005880_0.smil", "ChannelHD":2, "ChannelName":"黑龙江卫视HD"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226142/00000100000000060000000000087174_0.smil", "ChannelHD":1, "ChannelName":"湖北卫视"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226154/00000100000000060000000000087186_0.smil", "ChannelHD":0, "ChannelName":"湖南卫视"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226086/00000100000000060000000000005881_0.smil", "ChannelHD":2, "ChannelName":"湖南卫视HD"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226146/00000100000000060000000000087178_0.smil", "ChannelHD":1, "ChannelName":"欢笑剧场"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226237/10000100000000060000000000838200_0.smil", "ChannelHD":1, "ChannelName":"环球购物"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226125/00000100000000060000000000087163_0.smil", "ChannelHD":1, "ChannelName":"吉林卫视"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/0/3221225640/000000001suk.smil", "ChannelHD":0, "ChannelName":"极速汽车"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226323/10000100000000060000000002340613_0.smil", "ChannelHD":2, "ChannelName":"极速汽车HD"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226095/00000100000000060000000000007694_0.smil", "ChannelHD":0, "ChannelName":"纪实频道"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226230/10000100000000060000000000646848_0.smil", "ChannelHD":2, "ChannelName":"纪实频道HD"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226213/10000100000000060000000000379501_0.smil", "ChannelHD":1, "ChannelName":"健康社区"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226147/00000100000000060000000000087187_0.smil", "ChannelHD":0, "ChannelName":"江苏卫视"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226110/00000100000000060000000000037546_0.smil", "ChannelHD":2, "ChannelName":"江苏卫视(高清)"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226130/00000100000000060000000000087162_0.smil", "ChannelHD":1, "ChannelName":"江西卫视"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226088/00000100000000060000000000007667_0.smil", "ChannelHD":1, "ChannelName":"教育频道"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226334/10000100000000060000000002544041_0.smil", "ChannelHD":1, "ChannelName":"金色频道"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226148/00000100000000060000000000087180_0.smil", "ChannelHD":0, "ChannelName":"劲爆体育"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226148/00000100000000060000000000087180_0.smil", "ChannelHD":0, "ChannelName":"劲爆体育"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226372/10000100000000060000000002943192_0.smil", "ChannelHD":1, "ChannelName":"快乐生活"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226153/00000100000000060000000000087193_0.smil", "ChannelHD":1, "ChannelName":"辽宁卫视"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226149/00000100000000060000000000087189_0.smil", "ChannelHD":1, "ChannelName":"旅游卫视"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/0/3221225510/00000000011p.smil", "ChannelHD":1, "ChannelName":"魅力音乐"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226135/00000100000000060000000000087173_0.smil", "ChannelHD":1, "ChannelName":"内蒙古卫视"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226152/00000100000000060000000000087184_0.smil", "ChannelHD":1, "ChannelName":"宁夏卫视"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226152/00000100000000060000000000087184_0.smil", "ChannelHD":1, "ChannelName":"宁夏卫视"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226347/10000100000000060000000002544035_0.smil", "ChannelHD":1, "ChannelName":"七彩戏曲"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226127/00000100000000060000000000087165_0.smil", "ChannelHD":1, "ChannelName":"青海卫视"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226141/00000100000000060000000000087181_0.smil", "ChannelHD":1, "ChannelName":"全纪实"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226160/00000100000000060000000000087192_0.smil", "ChannelHD":1, "ChannelName":"山东卫视"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226132/00000100000000060000000000087164_0.smil", "ChannelHD":1, "ChannelName":"山西卫视"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226129/00000100000000060000000000087167_0.smil", "ChannelHD":1, "ChannelName":"陕西卫视"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226359/10000100000000060000000002552742_0.smil", "ChannelHD":0, "ChannelName":"深圳卫视"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226084/00000100000000060000000000005879_0.smil", "ChannelHD":2, "ChannelName":"深圳卫视HD"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226139/00000100000000060000000000087179_0.smil", "ChannelHD":1, "ChannelName":"生活时尚"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226273/10000100000000060000000001533614_0.smil", "ChannelHD":1, "ChannelName":"时尚购物"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226151/00000100000000060000000000087191_0.smil", "ChannelHD":1, "ChannelName":"四川卫视"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226321/10000100000000060000000002340601_0.smil", "ChannelHD":2, "ChannelName":"陶瓷HD"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226107/00000100000000060000000000022372_0.smil", "ChannelHD":1, "ChannelName":"体育频道"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226123/00000100000000060000000000087161_0.smil", "ChannelHD":1, "ChannelName":"天津卫视"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/0/3221225765/iptv255201.smil", "ChannelHD":1, "ChannelName":"投资理财"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226097/00000100000000060000000000007696_0.smil", "ChannelHD":1, "ChannelName":"外语频道"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/0/3221225697/iptv207702.smil", "ChannelHD":1, "ChannelName":"网球"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226234/10000100000000060000000000813434_0.smil", "ChannelHD":2, "ChannelName":"五星体育HD"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226134/00000100000000060000000000087166_0.smil", "ChannelHD":1, "ChannelName":"西藏卫视"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226332/10000100000000060000000002544039_0.smil", "ChannelHD":1, "ChannelName":"新疆卫视"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226089/00000100000000060000000000007688_0.smil", "ChannelHD":0, "ChannelName":"新闻综合"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226233/10000100000000060000000000813435_0.smil", "ChannelHD":2, "ChannelName":"新闻综合HD"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226077/00000100000000060000000000000293_0.smil", "ChannelHD":1, "ChannelName":"炫动卡通"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226077/00000100000000060000000000000293_0.smil", "ChannelHD":1, "ChannelName":"炫动卡通"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226228/10000100000000060000000000646845_0.smil", "ChannelHD":1, "ChannelName":"央广购物"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226349/10000100000000060000000002544037_0.smil", "ChannelHD":1, "ChannelName":"优购物"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/0/3221225478/00000000010t.smil", "ChannelHD":1, "ChannelName":"游戏风云"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226091/00000100000000060000000000007690_0.smil", "ChannelHD":0, "ChannelName":"娱乐频道"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226219/10000100000000060000000000522063_0.smil", "ChannelHD":2, "ChannelName":"娱乐频道HD"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226136/00000100000000060000000000087168_0.smil", "ChannelHD":1, "ChannelName":"云南卫视"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226156/00000100000000060000000000087188_0.smil", "ChannelHD":0, "ChannelName":"浙江卫视"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226111/00000100000000060000000000037315_0.smil", "ChannelHD":2, "ChannelName":"浙江卫视(高清)"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226206/00000100000000060000000000201569_0.smil", "ChannelHD":2, "ChannelName":"直播室2 HD"},'+
'{"ChannelURL":"rtsp://124.75.34.37/PLTV/88888888/224/3221226137/00000100000000060000000000087175_0.smil", "ChannelHD":1, "ChannelName":"重庆卫视"}]}';
timenow(4);
reload();
function reload()
{
obj = JSON.parse(iptvlist);
document.getElementById("demo").innerHTML = ""
var begin_time,end_time;
begin_time = document.getElementById("begin_user_date").value + document.getElementById("begin_user_time").value+"00";
begin_time=begin_time.replace(/-/g, "");
begin_time=begin_time.replace(/:/g, "");
end_time = document.getElementById("end_user_date").value + document.getElementById("end_user_time").value+"00";
end_time=end_time.replace(/-/g, "");
end_time=end_time.replace(/:/g, "");
var HDtag = 0;
if (document.getElementById("HDDel").checked){
HDtag=1;
}
if (document.getElementById("HDonly").checked){
HDtag=2;
}
for (var i=0;i<obj.iptv.length;i++)
{
if(obj.iptv[i].ChannelHD>=HDtag){
document.getElementById("demo").innerHTML = document.getElementById("demo").innerHTML +"<p><a href=\"" + obj.iptv[i].ChannelURL + "?playseek=" + begin_time + "-" + end_time + "\">" + obj.iptv[i].ChannelName + "</a></p>";
}
}
}
function timenow(offset)
{
var nowtime =new Date();
document.getElementById("begin_user_date").value=nowtime.getFullYear().toString() + "-" + pad((nowtime.getMonth()+1).toString(),2) + "-" + pad((nowtime.getDate()).toString(),2);
document.getElementById("begin_user_time").value=pad(nowtime.getHours().toString(),2) + ":" + pad(nowtime.getMinutes().toString(),2);
nowtime.setHours(nowtime.getHours() + offset);
document.getElementById("end_user_date").value=nowtime.getFullYear().toString() + "-" + pad((nowtime.getMonth()+1).toString(),2) + "-" + pad((nowtime.getDate()).toString(),2);
document.getElementById("end_user_time").value=pad(nowtime.getHours().toString(),2) + ":" + pad(nowtime.getMinutes().toString(),2);
}
function pad(num, n) {
var len = num.toString().length;
while(len < n) {
num = "0" + num;
len++;
}
return num;
}
function m3u() {
obj = JSON.parse(iptvlist);
document.getElementById("demo").innerHTML = "#EXTM3U <br>";
var HDtag = 0;
if (document.getElementById("HDDel").checked){
HDtag=1;
}
if (document.getElementById("HDonly").checked){
HDtag=2;
}
var ii =0;
for (var i=0;i<obj.iptv.length;i++){
if(obj.iptv[i].ChannelHD>=HDtag){
document.getElementById("demo").innerHTML = document.getElementById("demo").innerHTML + "#EXTINF:" + pad(ii.toString(),3) + ", " + obj.iptv[i].ChannelName + "<br>";
document.getElementById("demo").innerHTML = document.getElementById("demo").innerHTML + obj.iptv[i].ChannelURL + "<br>";
ii=ii+1;
}
}
}
function txt() {
obj = JSON.parse(iptvlist);
document.getElementById("demo").innerHTML = "";
var HDtag = 0;
if (document.getElementById("HDDel").checked){
HDtag=1;
}
if (document.getElementById("HDonly").checked){
HDtag=2;
}
for (var i=0;i<obj.iptv.length;i++){
if(obj.iptv[i].ChannelHD>=HDtag){
document.getElementById("demo").innerHTML = document.getElementById("demo").innerHTML + obj.iptv[i].ChannelName + "," + obj.iptv[i].ChannelURL + "<br>";
}
}
}
function noplayseek() {
obj = JSON.parse(iptvlist);
var HDtag = 0;
if (document.getElementById("HDonly").checked){
HDtag=1;
}
document.getElementById("demo").innerHTML = "";
for (var i=0;i<obj.iptv.length;i++){
if(obj.iptv[i].ChannelHD>=HDtag){
document.getElementById("demo").innerHTML = document.getElementById("demo").innerHTML +"<p><a href=\"" + obj.iptv[i].ChannelURL + "\">" + obj.iptv[i].ChannelName + "</a></p>";
}
}
}
</script>
</body>
</html>