forked from tvly/tvly-web
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.json5
86 lines (62 loc) · 2.03 KB
/
config.json5
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
{
// title, required.
"name": "IPTV",
// required.
"shortName": "iptv",
// required.
"description": "An vue.js based iptv frontend.",
// version of website.
"version": "20.11-B1",
// source of streams, required.
"srcCredit": "北邮人",
// required.
"sponsor": "uestclug",
// base url of the web app, MUST be ended with slash, required.
"baseUrl": "/",
// optional.
"mailbox": "[email protected]",
// optional.
"wechat": null,
// optional.
"telegram": null,
// where to get channel list, required.
"channelsUrlList": [
"https://iptv.uestc.edu.cn/channels.json",
],
// where to get the EPG information, optional.
"epgUrlList": [
"https://iptv.uestc.edu.cn/epg.json",
],
// where to get snapshots, required.
"defaultSnapshotUrlTemplate": "https://iptv.uestc.edu.cn/snapshot/{Vid}.jpg",
// where to get hls files, required.
"defaultHlsUrlTemplate": "https://iptv.uestc.edu.cn/hls/{Vid}.m3u8",
// where to get the information about number of viewers of each channel,
// optional.
"channelViewersUrl": "https://iptv.uestc.edu.cn/status.txt",
// where to redirect to when user authorization is required,
// leave it null if there is no auth at all.
// optional.
"authUrl": null,
// where to GET when logout is clicked, optional.
"logoutUrl": null,
// url to the legacy version, optional.
"legacyUrl": null,
// url used to query user information, leave it null if you feel confused.
// optional.
"userInfoUrl": null,
// url of the logo of the sponsor, required.
"sponsorLogoUrl": "https://iptv.uestc.edu.cn/logo.png",
// which modern browser do you recommend? required.
"recommendedBrowser": "Firefox",
// how often snapshots should be refreshed in seconds, optional.
"snapshotRefreshInterval": 600,
// how often should the information about number of viewers of
// each channel be refreshed in seconds, optional.
"channelViewersRefreshInterval": 30,
// colors, required.
"primaryColor": "#4fa29f", // Blue Greeny
"secondaryColor": "#212121", // grey darken-4
// optional
"googleAnalytics": null,
}