-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathTwitchConfig.json
More file actions
149 lines (149 loc) · 4.17 KB
/
TwitchConfig.json
File metadata and controls
149 lines (149 loc) · 4.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
{
"name": "Twitch (Beta)",
"description": "One of the biggest livestreaming platforms, owned by Amazon.",
"author": "FUTO",
"authorUrl": "https://futo.tech",
"platformUrl": "https://twitch.tv",
"sourceUrl": "https://plugins.grayjay.app/Twitch/TwitchConfig.json",
"repositoryUrl": "https://gitlab.futo.org/videostreaming/plugins/twitch",
"scriptUrl": "./TwitchScript.js",
"version": 34,
"iconUrl": "./twitch.png",
"id": "c0f315f9-0992-4508-a061-f2738724c331",
"scriptSignature": "",
"scriptPublicKey": "",
"packages": [
"Http"
],
"packagesOptional": [
"HttpImp"
],
"allowEval": false,
"allowUrls": [
"gql.twitch.tv",
"twitch.tv",
"usher.ttvnw.net",
".playlist.ttvnw.net",
".hls.ttvnw.net",
".live-video.net",
"production.assets.clips.twitchcdn.net"
],
"authentication": {
"userAgent": "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.6422.113 Mobile Safari/537.36",
"loginUrl": "https://www.twitch.tv/login",
"headersToFind": [
"Authorization"
],
"domainHeadersToFind": {
".twitch.tv": [
"authorization"
]
}
},
"supportedClaimTypes": [
14
],
"settings": [
{
"variable": "shouldIncludeChannelClips",
"name": "Show channel clips",
"description": "",
"type": "Boolean",
"default": "true"
},
{
"variable": "includeChannelPanels",
"name": "Include channel panel links",
"description": "Merge links from the channel's About panels (may include sponsored / affiliate links).",
"type": "Boolean",
"default": "false"
},
{
"variable": "verboseNotifications",
"name": "Verbose Notifications",
"description": "Show toast notifications for plugin trace messages and failed requests.",
"type": "Boolean",
"default": "false"
},
{
"variable": "livestreamAdsHeader",
"name": "Livestream Ads (Experimental)",
"description": "Filter Twitch-inserted commercial breaks from livestreams.",
"type": "Header"
},
{
"variable": "useLegacyHlsUrl",
"name": "Use Legacy HLS URL",
"description": "Fall back to the pre-v2 usher endpoint with sparse query parameters.",
"type": "Boolean",
"default": "false"
},
{
"variable": "browserImpersonationHeader",
"name": "Browser Impersonation (Experimental)",
"description": "Route requests through a browser-impersonating HTTP client. Enable if Twitch starts blocking the plugin.",
"type": "Header"
},
{
"variable": "impersonateApiRequests",
"name": "Impersonate API Requests",
"description": "Applies to GraphQL queries and the integrity token endpoint.",
"type": "Boolean",
"default": "false"
},
{
"variable": "impersonateMediaRequests",
"name": "Impersonate Media Requests",
"description": "Applies to HLS playlist and segment fetches.",
"type": "Boolean",
"default": "false"
}
],
"changelog": {
"34": [
"Fix: Update thumbnails of livestreams after some time;",
"Fix: Bypass Twitch livestream pre-roll;",
"Fix: Show a clear error for channels that no longer exist;",
"Performance: persist integrity token to state;",
"Feature: Show past livestream chats;",
"Feature: Support channel panel links in channel About tab (opt-in in plugin settings);",
"Feature: Add browser impersonation support (opt-in in plugin settings);"
],
"33": [
"Fix: Channel with query strings;"
],
"32": [
"Fix: Detect subscriber-only VODs and show proper error instead of broken playback;"
],
"31": [
"Fix: Playing clips;",
"Improvement: Support subscriber only content;",
"Improvement: Remove dead code and improve performance;",
"Improvement: Optimize VOD loading from channel pages;"
],
"30": [
"Fix: Playing VODs;"
],
"29": [
"Fix: Home tab;",
"Fix: Search;",
"Fix: Content Details;",
"Fix: Playing saved videos;",
"Fix: Content recommendations;"
],
"28": [
"Improvement: Add 1440p stream support for logged-in users in supported regions;"
],
"27": [
"Fix: Channel social links;",
"Improvement: Initial content recommendation implementation;",
"Improvement: Switch to CBR bitrate to resolve automatic resolution drops"
],
"26": [
"Fix: home error;"
],
"25": [
"Fix: solve playback errors in some clips;"
]
}
}