├── DualSubs.BoxJs.beta.json
├── DualSubs.BoxJs.json
├── LICENSE
├── README.md
├── archive
├── DualSubs.Legacy.beta.boxjs.json
├── DualSubs.Legacy.boxjs.json
├── DualSubs.YouTube.beta.boxjs.json
└── DualSubs.YouTube.boxjs.json
└── biome.json
/DualSubs.BoxJs.beta.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "DualSubs.beta.sub",
3 | "name": "🍿️ DualSubs β",
4 | "author": "@DualSubs",
5 | "description": "双语及增强字幕生成工具",
6 | "icon": "https://avatars.githubusercontent.com/u/100578089?&v=4",
7 | "repo": "https://github.com/DualSubs",
8 | "apps": [
9 | {
10 | "id": "DualSubs.Universal.beta",
11 | "name": "🍿️ DualSubs: 🔣 Universal β",
12 | "descs_html": ["请参照🍿 DualSubs: 🔣 Universal的使用说明进行配置", "填写完成后别忘点击此页面底端右下角的\"保存\"。"],
13 | "keys": ["@DualSubs.Universal.Settings", "@DualSubs.Universal.Caches"],
14 | "settings": [
15 | {
16 | "id": "@DualSubs.Universal.Settings.Types",
17 | "name": "[字幕] 启用类型",
18 | "val": ["Official", "Translate"],
19 | "type": "checkboxes",
20 | "desc": "请选择要添加的字幕选项,如果为标准播放器,则会在字幕选项中新增勾选字幕选项",
21 | "items": [{ "key": "Official", "label": "官方字幕(合成器)" }, { "key": "Translate", "label": "翻译字幕(翻译器)" }, { "key": "External", "label": "外挂字幕(合成器)" }]
22 | },
23 | {
24 | "id": "@DualSubs.Universal.Settings.Languages[0]",
25 | "name": "[字幕] 主语言(源语言)",
26 | "type": "selects",
27 | "val": "AUTO",
28 | "items": [
29 | { "key": "AUTO", "label": "自动 - Automatic" },
30 | { "key": "ZH", "label": "中文(自动)" },
31 | { "key": "ZH-HANS", "label": "中文(简体)" },
32 | { "key": "ZH-HK", "label": "中文(香港)" },
33 | { "key": "ZH-HANT", "label": "中文(繁体)" },
34 | { "key": "EN", "label": "English - 英语(自动)" },
35 | { "key": "EN-US", "label": "英语(美国)" },
36 | { "key": "EN-US SDH", "label": "英语(美国)[CC]" },
37 | { "key": "ES", "label": "Español - 西班牙语(自动)" },
38 | { "key": "ES-ES", "label": "Español - 西班牙语" },
39 | { "key": "ES-ES SDH", "label": "西班牙语[CC]" },
40 | { "key": "ES-419", "label": "西班牙语(拉丁美洲)" },
41 | { "key": "ES-419 SDH", "label": "西班牙语(拉丁美洲)[CC]" },
42 | { "key": "JA", "label": "日本語 - 日语" },
43 | { "key": "KO", "label": "한국어 - 韩语" },
44 | { "key": "DE", "label": "Deutsch - 德语" },
45 | { "key": "FR", "label": "Français - 法语" },
46 | { "key": "TR", "label": "Türkçe - 土耳其语" },
47 | { "key": "KM", "label": "ភាសាខ្មែរ - 高棉语" }
48 | ],
49 | "desc": "当“主语言”字幕存在时,将生成“主语言/副语言(翻译)”与“主语言(外挂)”的字幕或字幕选项。"
50 | },
51 | {
52 | "id": "@DualSubs.Universal.Settings.Languages[1]",
53 | "name": "[字幕] 副语言(目标语言)",
54 | "type": "selects",
55 | "val": "ZH",
56 | "items": [
57 | { "key": "ZH", "label": "中文(自动)" },
58 | { "key": "ZH-HANS", "label": "中文(简体)" },
59 | { "key": "ZH-HK", "label": "中文(香港)" },
60 | { "key": "ZH-HANT", "label": "中文(繁体)" },
61 | { "key": "EN", "label": "English - 英语(自动)" },
62 | { "key": "EN-US", "label": "英语(美国)" },
63 | { "key": "EN-US SDH", "label": "英语(美国)[CC]" },
64 | { "key": "ES", "label": "Español - 西班牙语(自动)" },
65 | { "key": "ES-ES", "label": "Español - 西班牙语" },
66 | { "key": "ES-ES SDH", "label": "西班牙语[CC]" },
67 | { "key": "ES-419", "label": "西班牙语(拉丁美洲)" },
68 | { "key": "ES-419 SDH", "label": "西班牙语(拉丁美洲)[CC]" },
69 | { "key": "JA", "label": "日本語 - 日语" },
70 | { "key": "KO", "label": "한국어 - 韩语" },
71 | { "key": "DE", "label": "Deutsch - 德语" },
72 | { "key": "FR", "label": "Français - 法语" },
73 | { "key": "TR", "label": "Türkçe - 土耳其语" },
74 | { "key": "KM", "label": "ភាសាខ្មែរ - 高棉语" }
75 | ],
76 | "desc": "当“副语言”字幕存在时,将生成“副语言/主语言(官方)”的字幕或字幕选项。"
77 | },
78 | {
79 | "id": "@DualSubs.Universal.Settings.LogLevel",
80 | "name": "[调试] 日志等级",
81 | "type": "selects",
82 | "val": "WARN",
83 | "items": [
84 | { "key": "OFF", "label": "关闭" },
85 | { "key": "ERROR", "label": "❌ 错误" },
86 | { "key": "WARN", "label": "⚠️ 警告" },
87 | { "key": "INFO", "label": "ℹ️ 信息" },
88 | { "key": "DEBUG", "label": "🅱️ 调试" },
89 | { "key": "ALL", "label": "全部" }
90 | ],
91 | "desc": "选择脚本日志的输出等级,低于所选等级的日志将全部输出。"
92 | }
93 | ],
94 | "author": "@DualSubs",
95 | "repo": "https://github.com/DualSubs/Universal/tree/dev",
96 | "icons": ["https://github.com/DualSubs/Universal/raw/dev/src/assets/icon.png", "https://github.com/DualSubs/Universal/raw/dev/src/assets/icon.png"]
97 | },
98 | {
99 | "id": "DualSubs.YouTube.beta",
100 | "name": "🍿️ DualSubs: ▶️ YouTube (Music) β",
101 | "descs_html": ["请参照🍿️ DualSubs: ▶ YouTube的使用说明进行配置", "填写完成后别忘点击此页面底端右下角的\"保存\"。"],
102 | "keys": ["@DualSubs.YouTube.Settings", "@DualSubs.YouTube.Caches"],
103 | "settings": [
104 | {
105 | "id": "@DualSubs.YouTube.Settings.Type",
106 | "name": "[字幕] 启用类型",
107 | "type": "selects",
108 | "val": "Official",
109 | "items": [{ "key": "Official", "label": "官方字幕(合成器)" }, { "key": "Translate", "label": "翻译字幕(翻译器)" }],
110 | "desc": "请选择要使用的字幕,双语字幕将使用您选择类型呈现。"
111 | },
112 | {
113 | "id": "@DualSubs.YouTube.Settings.Types",
114 | "name": "[歌词] 启用类型",
115 | "type": "checkboxes",
116 | "val": ["Translate", "External"],
117 | "items": [{ "key": "Translate", "label": "翻译歌词(翻译器)" }, { "key": "External", "label": "外部歌词(外部源)" }],
118 | "desc": "请选择要添加的歌词选项,如果为多选,则会自动决定提供的歌词类型。"
119 | },
120 | { "id": "@DualSubs.YouTube.Settings.AutoCC", "name": "[字幕] 自动显示", "type": "boolean", "val": true, "desc": "是否总是自动开启字幕显示。" },
121 | { "id": "@DualSubs.YouTube.Settings.ShowOnly", "name": "[翻译器] 只显示“自动翻译”字幕", "type": "boolean", "val": false, "desc": "是否仅显示“自动翻译”字幕,不显示源语言字幕。" },
122 | {
123 | "id": "@DualSubs.YouTube.Settings.LogLevel",
124 | "name": "[调试] 日志等级",
125 | "type": "selects",
126 | "val": "WARN",
127 | "items": [
128 | { "key": "OFF", "label": "关闭" },
129 | { "key": "ERROR", "label": "❌ 错误" },
130 | { "key": "WARN", "label": "⚠️ 警告" },
131 | { "key": "INFO", "label": "ℹ️ 信息" },
132 | { "key": "DEBUG", "label": "🅱️ 调试" },
133 | { "key": "ALL", "label": "全部" }
134 | ],
135 | "desc": "选择脚本日志的输出等级,低于所选等级的日志将全部输出。"
136 | }
137 | ],
138 | "author": "@DualSubs",
139 | "repo": "https://github.com/DualSubs/YouTube/tree/dev",
140 | "icons": ["https://github.com/DualSubs/YouTube/raw/dev/src/assets/icon.png", "https://github.com/DualSubs/YouTube/raw/dev/src/assets/icon.png"]
141 | },
142 | {
143 | "id": "DualSubs.Netflix.beta",
144 | "name": "🍿️ DualSubs: 🇳 Netflix β",
145 | "descs_html": ["请参照🍿 DualSubs: 🇳 Netflix的使用说明进行配置", "填写完成后别忘点击此页面底端右下角的\"保存\"。"],
146 | "keys": ["@DualSubs.Netflix.Settings", "@DualSubs.Netflix.Caches"],
147 | "settings": [
148 | {
149 | "id": "@DualSubs.Netflix.Settings.Type",
150 | "name": "[字幕] 启用类型",
151 | "type": "selects",
152 | "val": "Translate",
153 | "items": [{ "key": "Translate", "label": "翻译字幕(翻译器)" }],
154 | "desc": "请选择要使用的字幕,双语字幕将使用您选择类型呈现。"
155 | },
156 | {
157 | "id": "@DualSubs.Netflix.Settings.Languages[0]",
158 | "name": "[字幕] 主语言(源语言)",
159 | "type": "selects",
160 | "val": "AUTO",
161 | "items": [
162 | { "key": "AUTO", "label": "自动 - Automatic" },
163 | { "key": "ZH", "label": "中文(自动)" },
164 | { "key": "ZH-HANS", "label": "中文(简体)" },
165 | { "key": "ZH-HK", "label": "中文(香港)" },
166 | { "key": "ZH-HANT", "label": "中文(繁体)" },
167 | { "key": "EN", "label": "English - 英语(自动)" },
168 | { "key": "ES", "label": "Español - 西班牙语(自动)" },
169 | { "key": "JA", "label": "日本語 - 日语" },
170 | { "key": "KO", "label": "한국어 - 韩语" },
171 | { "key": "DE", "label": "Deutsch - 德语" },
172 | { "key": "FR", "label": "Français - 法语" },
173 | { "key": "TR", "label": "Türkçe - 土耳其语" },
174 | { "key": "KM", "label": "ភាសាខ្មែរ - 高棉语" }
175 | ],
176 | "desc": "当“主语言”字幕存在时,将生成“主语言/副语言(翻译)”与“主语言(外挂)”的字幕或字幕选项。仅当源语言识别不准确时更改此选项。"
177 | },
178 | {
179 | "id": "@DualSubs.Netflix.Settings.Languages[1]",
180 | "name": "[字幕] 副语言(目标语言)",
181 | "type": "selects",
182 | "val": "ZH",
183 | "items": [
184 | { "key": "ZH", "label": "中文(自动)" },
185 | { "key": "ZH-HANS", "label": "中文(简体)" },
186 | { "key": "ZH-HK", "label": "中文(香港)" },
187 | { "key": "ZH-HANT", "label": "中文(繁体)" },
188 | { "key": "EN", "label": "English - 英语(自动)" },
189 | { "key": "ES", "label": "Español - 西班牙语(自动)" },
190 | { "key": "JA", "label": "日本語 - 日语" },
191 | { "key": "KO", "label": "한국어 - 韩语" },
192 | { "key": "DE", "label": "Deutsch - 德语" },
193 | { "key": "FR", "label": "Français - 法语" },
194 | { "key": "TR", "label": "Türkçe - 土耳其语" },
195 | { "key": "KM", "label": "ភាសាខ្មែរ - 高棉语" }
196 | ],
197 | "desc": "当“副语言”字幕存在时,将生成“副语言/主语言(官方)”的字幕或字幕选项。"
198 | },
199 | {
200 | "id": "@DualSubs.Netflix.Settings.LogLevel",
201 | "name": "[调试] 日志等级",
202 | "type": "selects",
203 | "val": "WARN",
204 | "items": [
205 | { "key": "OFF", "label": "关闭" },
206 | { "key": "ERROR", "label": "❌ 错误" },
207 | { "key": "WARN", "label": "⚠️ 警告" },
208 | { "key": "INFO", "label": "ℹ️ 信息" },
209 | { "key": "DEBUG", "label": "🅱️ 调试" },
210 | { "key": "ALL", "label": "全部" }
211 | ],
212 | "desc": "选择脚本日志的输出等级,低于所选等级的日志将全部输出。"
213 | }
214 | ],
215 | "author": "@DualSubs",
216 | "repo": "https://github.com/DualSubs/Netflix/tree/dev",
217 | "icons": ["https://github.com/DualSubs/Netflix/raw/dev/src/assets/icon.png", "https://github.com/DualSubs/Netflix/raw/dev/src/assets/icon.png"]
218 | },
219 | {
220 | "id": "DualSubs.Spotify.beta",
221 | "name": "🍿️ DualSubs: 🎵 Spotify β",
222 | "descs_html": ["请参照🍿 DualSubs: 🎵 Spotify的使用说明进行配置", "填写完成后别忘点击此页面底端右下角的\"保存\"。"],
223 | "keys": ["@DualSubs.Spotify.Settings", "@DualSubs.Spotify.Caches.Metadatas.Tracks"],
224 | "settings": [
225 | {
226 | "id": "@DualSubs.Spotify.Settings.Types",
227 | "name": "[歌词] 启用类型(多选)",
228 | "type": "checkboxes",
229 | "val": ["Translate", "External"],
230 | "items": [{ "key": "Translate", "label": "翻译歌词(翻译器)" }, { "key": "External", "label": "外部歌词(外部源)" }],
231 | "desc": "请选择要添加的歌词选项,如果为多选,则会自动决定提供的歌词类型。"
232 | },
233 | {
234 | "id": "@DualSubs.Spotify.Settings.Languages[0]",
235 | "name": "[翻译器] 主语言(源语言)",
236 | "type": "selects",
237 | "val": "AUTO",
238 | "items": [
239 | { "key": "AUTO", "label": "自动 - Automatic" },
240 | { "key": "ZH", "label": "中文(自动)" },
241 | { "key": "ZH-HANS", "label": "中文(简体)" },
242 | { "key": "ZH-HK", "label": "中文(香港)" },
243 | { "key": "ZH-HANT", "label": "中文(繁体)" },
244 | { "key": "EN", "label": "English - 英语(自动)" },
245 | { "key": "ES", "label": "Español - 西班牙语(自动)" },
246 | { "key": "JA", "label": "日本語 - 日语" },
247 | { "key": "KO", "label": "한국어 - 韩语" },
248 | { "key": "DE", "label": "Deutsch - 德语" },
249 | { "key": "FR", "label": "Français - 法语" },
250 | { "key": "TR", "label": "Türkçe - 土耳其语" },
251 | { "key": "KM", "label": "ភាសាខ្មែរ - 高棉语" }
252 | ],
253 | "desc": "仅当源语言识别不准确时更改此选项。"
254 | },
255 | {
256 | "id": "@DualSubs.Spotify.Settings.Languages[1]",
257 | "name": "[翻译器] 副语言(目标语言)",
258 | "val": "ZH",
259 | "type": "selects",
260 | "items": [
261 | { "key": "ZH", "label": "中文(自动)" },
262 | { "key": "ZH-HANS", "label": "中文(简体)" },
263 | { "key": "ZH-HK", "label": "中文(香港)" },
264 | { "key": "ZH-HANT", "label": "中文(繁体)" },
265 | { "key": "EN", "label": "English - 英语(自动)" },
266 | { "key": "ES", "label": "Español - 西班牙语(自动)" },
267 | { "key": "JA", "label": "日本語 - 日语" },
268 | { "key": "KO", "label": "한국어 - 韩语" },
269 | { "key": "DE", "label": "Deutsch - 德语" },
270 | { "key": "FR", "label": "Français - 法语" },
271 | { "key": "TR", "label": "Türkçe - 土耳其语" },
272 | { "key": "KM", "label": "ភាសាខ្មែរ - 高棉语" }
273 | ],
274 | "desc": "请指定翻译歌词的目标语言。"
275 | },
276 | {
277 | "id": "@DualSubs.Spotify.Settings.LogLevel",
278 | "name": "[调试] 日志等级",
279 | "type": "selects",
280 | "val": "WARN",
281 | "items": [
282 | { "key": "OFF", "label": "关闭" },
283 | { "key": "ERROR", "label": "❌ 错误" },
284 | { "key": "WARN", "label": "⚠️ 警告" },
285 | { "key": "INFO", "label": "ℹ️ 信息" },
286 | { "key": "DEBUG", "label": "🅱️ 调试" },
287 | { "key": "ALL", "label": "全部" }
288 | ],
289 | "desc": "选择脚本日志的输出等级,低于所选等级的日志将全部输出。"
290 | }
291 | ],
292 | "author": "@DualSubs",
293 | "repo": "https://github.com/DualSubs/Spotify/tree/dev",
294 | "icons": ["https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Spotify.png", "https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Spotify.png"]
295 | },
296 | {
297 | "id": "DualSubs.Composite.beta",
298 | "name": "🍿️ DualSubs: 合成器(官方&外挂字幕)β",
299 | "descs_html": ["请参照DualSubs的使用说明进行配置", "填写完成后别忘点击此页面底端右下角的\"保存\"。"],
300 | "keys": ["@DualSubs.Composite.Settings", "@DualSubs.Composite.Caches.Playlists.Master", "@DualSubs.Composite.Caches.Playlists.Subtitle", "@DualSubs.Composite.Caches.Subtitles"],
301 | "settings": [
302 | {
303 | "id": "@DualSubs.Composite.Settings.CacheSize",
304 | "name": "播放记录缓存数量",
305 | "val": 20,
306 | "type": "number",
307 | "placeholder": "20",
308 | "desc": "此选项决定同网关、同平台、同时处理和播放的数量, 建议设置此数值不小于播放设备数,最大可用值为50"
309 | },
310 | {
311 | "id": "@DualSubs.Composite.Settings.Position",
312 | "name": "主语言(源语言)字幕位置",
313 | "val": "Reverse",
314 | "type": "selects",
315 | "items": [{ "key": "Forward", "label": "上面(第一行)" }, { "key": "Reverse", "label": "下面(第二行)" }],
316 | "desc": "主语言(源语言)字幕的显示位置"
317 | },
318 | { "id": "@DualSubs.Composite.Settings.Offset", "name": "[合成器] 时间偏移量", "val": 0, "type": "number", "placeholder": "0", "desc": "单位:毫秒(ms),正负整数,不懂就别动" },
319 | { "id": "@DualSubs.Composite.Settings.Tolerance", "name": "[合成器] 时间戳公差", "val": 1000, "type": "number", "placeholder": "1000", "desc": "单位:毫秒(ms),正整数,字幕时间戳匹配时容许的误差范围,不懂就别动" }
320 | ],
321 | "author": "@DualSubs",
322 | "icons": ["https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/DomesticMedia.png", "https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/DomesticMedia.png"]
323 | },
324 | {
325 | "id": "DualSubs.Translate.beta",
326 | "name": "🍿️ DualSubs: 翻译器(翻译字幕&歌词) β",
327 | "descs_html": ["请参照DualSubs的使用说明进行配置", "填写完成后别忘点击此页面底端右下角的\"保存\"。"],
328 | "keys": ["@DualSubs.Translate.Settings", "@DualSubs.Translate.Caches.Subtitles"],
329 | "settings": [
330 | {
331 | "id": "@DualSubs.Translate.Settings.Vendor",
332 | "name": "服务商API",
333 | "val": "Google",
334 | "type": "selects",
335 | "desc": "请选择字幕翻译功能所使用的翻译API",
336 | "items": [
337 | { "key": "Baidu", "label": "百度翻译" },
338 | { "key": "BaiduFanyi", "label": "百度 翻译开放平台(需填写API)" },
339 | { "key": "Youdao", "label": "有道翻译" },
340 | { "key": "YoudaoAI", "label": "有道智云 AI开放平台(需填写API)" },
341 | { "key": "Google", "label": "Google Translate" },
342 | { "key": "GoogleCloud", "label": "Google Cloud Translate(需填写API)" },
343 | { "key": "Bing", "label": "Microsoft Bing" },
344 | { "key": "Microsoft", "label": "Microsoft Translator(需填写API)" },
345 | { "key": "DeepL", "label": "DeepL API(需填写API)" },
346 | { "key": "DeepLX", "label": "DeepL X(需填写API)" }
347 | ]
348 | },
349 | { "id": "@DualSubs.Translate.Settings.ShowOnly", "name": "只显示翻译字幕", "type": "boolean", "val": false, "desc": "是否仅显示翻译后字幕,不显示源语言字幕。" },
350 | {
351 | "id": "@DualSubs.Translate.Settings.Position",
352 | "name": "主语言(源语言)字幕位置",
353 | "val": "Forward",
354 | "type": "selects",
355 | "items": [{ "key": "Forward", "label": "上面(第一行)" }, { "key": "Reverse", "label": "下面(第二行)" }],
356 | "desc": "主语言(源语言)字幕的显示位置"
357 | },
358 | {
359 | "id": "@DualSubs.Translate.Settings.Method",
360 | "name": "[翻译器] 翻译方式",
361 | "val": "Part",
362 | "type": "selects",
363 | "items": [
364 | { "key": "Part", "label": "逐段翻译(每50~128句文本合并发送一次翻译请求,对请求次数或频率限制型API友好)" },
365 | { "key": "Row", "label": "逐句翻译(每句文本都发送一次翻译请求,不限量API可选,但会导致翻译缺乏上下文语境)" }
366 | ],
367 | "desc": "翻译器工作方式,不懂就别动"
368 | },
369 | { "id": "@DualSubs.Translate.Settings.Times", "name": "[翻译器] 重试次数", "val": "3", "type": "number", "placeholder": "3", "desc": "单位:次,正整数" },
370 | { "id": "@DualSubs.Translate.Settings.Interval", "name": "[翻译器] 重试间隔时长", "val": "500", "type": "number", "placeholder": "500", "desc": "单位:毫秒(ms),正整数" },
371 | { "id": "@DualSubs.Translate.Settings.Exponential", "name": "[翻译器] 重试间隔时长递增", "val": true, "type": "boolean", "desc": "例如,第一次重试间隔时长1000ms,第二次重试间隔时长2000ms,第三次重试间隔时长4000ms,以此类推" },
372 | { "id": "@DualSubs.Translate.Settings.CacheSize", "name": "[翻译器] 翻译结果缓存数量", "val": 10, "type": "number", "placeholder": "10", "desc": "缓存最后若干个翻译字幕内容,避免频繁请求翻译浪费API用量" }
373 | ],
374 | "author": "@DualSubs",
375 | "icons": ["https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/ForeignMedia.png", "https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/ForeignMedia.png"]
376 | },
377 | {
378 | "id": "DualSubs.External.beta",
379 | "name": "🍿️ DualSubs: 外部源(外部歌词) β",
380 | "descs_html": ["请参照DualSubs的使用说明进行配置", "填写完成后别忘点击此页面底端右下角的\"保存\"。"],
381 | "keys": ["@DualSubs.External.Settings", "@DualSubs.External.Caches.TrackInfo"],
382 | "settings": [
383 | { "id": "@DualSubs.External.Settings.SubVendor", "name": "[外部字幕] 服务商API", "val": "URL", "type": "selects", "desc": "请选择外部字幕功能所使用的服务商API", "items": [{ "key": "URL", "label": "URL - 网页地址" }] },
384 | {
385 | "id": "@DualSubs.External.Settings.LrcVendor",
386 | "name": "[歌词] 服务商API",
387 | "val": "NeteaseMusic",
388 | "type": "selects",
389 | "desc": "请选择外部字幕功能所使用的服务商API",
390 | "items": [{ "key": "NeteaseMusic", "label": "网易云音乐(官方)" }, { "key": "QQMusic", "label": "QQ音乐(官方)" }, { "key": "NeteaseMusicNodeJS", "label": "网易云音乐 NodeJS API" }]
391 | },
392 | { "id": "@DualSubs.External.Settings.CacheSize", "name": "播放记录缓存数量", "val": 50, "type": "number", "placeholder": "50", "desc": "此选项决定同网关、同平台、同时处理和播放的数量, 建议设置此数值不小于播放设备数" }
393 | ],
394 | "author": "@DualSubs",
395 | "icons": ["https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Media.png", "https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Media.png"]
396 | },
397 | {
398 | "id": "DualSubs.API.Translate.beta",
399 | "name": "🍿️ DualSubs: API(翻译器)β",
400 | "descs_html": ["请参照DualSubs的使用说明进行配置", "填写完成后别忘点击此页面底端右下角的\"保存\"。"],
401 | "keys": ["@DualSubs.API.Settings"],
402 | "settings": [
403 | {
404 | "id": "@DualSubs.API.Settings.GoogleCloud.Version",
405 | "name": "[Google Cloud] Translation API 版本",
406 | "val": "v2",
407 | "type": "selects",
408 | "items": [{ "key": "v2", "label": "V2版" }, { "key": "v3", "label": "V3版" }],
409 | "desc": "选择版本"
410 | },
411 | {
412 | "id": "@DualSubs.API.Settings.GoogleCloud.Mode",
413 | "name": "[Google Cloud] Translation API 认证方式",
414 | "val": "Key",
415 | "type": "selects",
416 | "items": [{ "key": "Key", "label": "密钥" }, { "key": "Token", "label": "令牌(暂不支持,别选)" }],
417 | "desc": "认证方式二选一"
418 | },
419 | {
420 | "id": "@DualSubs.API.Settings.GoogleCloud.Auth",
421 | "name": "[Google Cloud] Translation API 认证内容",
422 | "val": "",
423 | "type": "text",
424 | "placeholder": "AIzaSyD6NNneoaqSTL2mE3_S1DNPvzrxwcFLIAY",
425 | "desc": "请填写令牌(Token)或密钥(Key),未提供时不会启用此类型字幕"
426 | },
427 | {
428 | "id": "@DualSubs.API.Settings.Microsoft.Version",
429 | "name": "[Microsoft Translator] API 版本",
430 | "val": "Azure",
431 | "type": "selects",
432 | "items": [{ "key": "Azure", "label": "国际版" }, { "key": "AzureCN", "label": "中国世纪互联版" }, { "key": "AzureUS", "label": "美国政府版" }],
433 | "desc": "选择版本"
434 | },
435 | {
436 | "id": "@DualSubs.API.Settings.Microsoft.Mode",
437 | "name": "[Microsoft Translator] 认证方式",
438 | "val": "Token",
439 | "type": "selects",
440 | "items": [{ "key": "Token", "label": "令牌 (Edge Translator)" }, { "key": "Key", "label": "密钥 (Microsoft Azure)" }],
441 | "desc": "认证方式二选一"
442 | },
443 | {
444 | "id": "@DualSubs.API.Settings.Microsoft.Region",
445 | "name": "[Microsoft Translator] Azure 区域代码 (Key/密钥模式必须)",
446 | "val": "global",
447 | "type": "text",
448 | "placeholder": "global",
449 | "desc": "如果开通Microsoft Azure Translator时没有选择全球global,则需要填写开通的地区代码,如chinanorth, chinaeast2等"
450 | },
451 | {
452 | "id": "@DualSubs.API.Settings.Microsoft.Auth",
453 | "name": "[Microsoft Translator] 认证内容",
454 | "val": "",
455 | "type": "text",
456 | "placeholder": "c3639587ac214f2e917862c80a2b821b",
457 | "desc": "请填写令牌(Token)或密钥(Key),未提供时不会启用此类型字幕"
458 | },
459 | { "id": "@DualSubs.API.Settings.DeepL.Version", "name": "[DeepL] API 版本", "val": "Free", "type": "selects", "items": [{ "key": "Free", "label": "Free" }, { "key": "Pro", "label": "Pro" }], "desc": "选择版本" },
460 | { "id": "@DualSubs.API.Settings.DeepL.Auth", "name": "[DeepL] API 认证内容", "val": "", "type": "text", "placeholder": "df4385c2-33de-e423-4134-ca1f7b3ea8b7", "desc": "请填写令牌(Token)或密钥(Key),未提供时不会启用此类型字幕" },
461 | { "id": "@DualSubs.API.Settings.DeepLX.Endpoint", "name": "[DeepL X] API 终结点", "val": "", "type": "text", "placeholder": "http://localhost:1188/translate", "desc": "未提供时不会启用此类型字幕" },
462 | { "id": "@DualSubs.API.Settings.DeepLX.Auth", "name": "[DeepL X] API 认证内容", "val": "", "type": "text", "placeholder": "1234567", "desc": "请填写令牌(Token)或密钥(Key),没有设置密钥时,请留空" }
463 | ],
464 | "author": "@DualSubs",
465 | "icons": ["https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Unlock.png", "https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Unlock.png"]
466 | },
467 | {
468 | "id": "DualSubs.API.External.beta",
469 | "name": "🍿️ DualSubs: API(外部源)β",
470 | "descs_html": ["请参照DualSubs的使用说明进行配置", "填写完成后别忘点击此页面底端右下角的\"保存\"。"],
471 | "keys": ["@DualSubs.API.Settings"],
472 | "settings": [
473 | { "id": "@DualSubs.API.Settings.NeteaseMusic.PhoneNumber", "name": "[网易云音乐] 手机号码", "val": "", "type": "text", "placeholder": "12312341234", "desc": "请填写您的网易云音乐账号手机号,未提供时不会启用功能" },
474 | { "id": "@DualSubs.API.Settings.NeteaseMusic.Password", "name": "[网易云音乐] 密码", "val": "", "type": "text", "placeholder": "12345678", "desc": "请填写您的网易云音乐账号密码,未提供时不会启用此功能" }
475 | ],
476 | "author": "@DualSubs",
477 | "icons": ["https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Unlock.png", "https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Unlock.png"]
478 | }
479 | ]
480 | }
481 |
--------------------------------------------------------------------------------
/DualSubs.BoxJs.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "DualSubs.sub",
3 | "name": "🍿️ DualSubs",
4 | "author": "@DualSubs",
5 | "description": "双语及增强字幕生成工具",
6 | "icon": "https://avatars.githubusercontent.com/u/100578089?&v=4",
7 | "repo": "https://github.com/DualSubs",
8 | "apps": [
9 | {
10 | "id": "DualSubs.Universal",
11 | "name": "🍿️ DualSubs: 🔣 Universal",
12 | "descs_html": ["请参照🍿 DualSubs: 🔣 Universal的使用说明进行配置", "填写完成后别忘点击此页面底端右下角的\"保存\"。"],
13 | "keys": ["@DualSubs.Universal.Settings", "@DualSubs.Universal.Caches"],
14 | "settings": [
15 | {
16 | "id": "@DualSubs.Universal.Settings.Types",
17 | "name": "[字幕] 启用类型",
18 | "type": "checkboxes",
19 | "val": ["Official", "Translate"],
20 | "items": [{ "key": "Official", "label": "官方字幕(合成器)" }, { "key": "Translate", "label": "翻译字幕(翻译器)" }],
21 | "desc": "请选择要添加的字幕选项,如果为标准播放器,则会在字幕选项中新增勾选字幕选项。"
22 | },
23 | {
24 | "id": "@DualSubs.Universal.Settings.Languages[0]",
25 | "name": "[字幕] 主语言(源语言)",
26 | "type": "selects",
27 | "val": "AUTO",
28 | "items": [
29 | { "key": "AUTO", "label": "自动 - Automatic" },
30 | { "key": "ZH", "label": "中文(自动)" },
31 | { "key": "ZH-HANS", "label": "中文(简体)" },
32 | { "key": "ZH-HK", "label": "中文(香港)" },
33 | { "key": "ZH-HANT", "label": "中文(繁体)" },
34 | { "key": "EN", "label": "English - 英语(自动)" },
35 | { "key": "ES", "label": "Español - 西班牙语(自动)" },
36 | { "key": "JA", "label": "日本語 - 日语" },
37 | { "key": "KO", "label": "한국어 - 韩语" },
38 | { "key": "DE", "label": "Deutsch - 德语" },
39 | { "key": "FR", "label": "Français - 法语" },
40 | { "key": "TR", "label": "Türkçe - 土耳其语" },
41 | { "key": "KM", "label": "ភាសាខ្មែរ - 高棉语" }
42 | ],
43 | "desc": "当“主语言”字幕存在时,将生成“主语言/副语言(翻译)”与“主语言(外挂)”的字幕或字幕选项。"
44 | },
45 | {
46 | "id": "@DualSubs.Universal.Settings.Languages[1]",
47 | "name": "[字幕] 副语言(目标语言)",
48 | "type": "selects",
49 | "val": "ZH",
50 | "items": [
51 | { "key": "ZH", "label": "中文(自动)" },
52 | { "key": "ZH-HANS", "label": "中文(简体)" },
53 | { "key": "ZH-HK", "label": "中文(香港)" },
54 | { "key": "ZH-HANT", "label": "中文(繁体)" },
55 | { "key": "EN", "label": "English - 英语(自动)" },
56 | { "key": "ES", "label": "Español - 西班牙语(自动)" },
57 | { "key": "JA", "label": "日本語 - 日语" },
58 | { "key": "KO", "label": "한국어 - 韩语" },
59 | { "key": "DE", "label": "Deutsch - 德语" },
60 | { "key": "FR", "label": "Français - 法语" },
61 | { "key": "TR", "label": "Türkçe - 土耳其语" },
62 | { "key": "KM", "label": "ភាសាខ្មែរ - 高棉语" }
63 | ],
64 | "desc": "当“副语言”字幕存在时,将生成“副语言/主语言(官方)”的字幕或字幕选项。"
65 | },
66 | {
67 | "id": "@DualSubs.Universal.Settings.LogLevel",
68 | "name": "[调试] 日志等级",
69 | "type": "selects",
70 | "val": "WARN",
71 | "items": [
72 | { "key": "OFF", "label": "关闭" },
73 | { "key": "ERROR", "label": "❌ 错误" },
74 | { "key": "WARN", "label": "⚠️ 警告" },
75 | { "key": "INFO", "label": "ℹ️ 信息" },
76 | { "key": "DEBUG", "label": "🅱️ 调试" },
77 | { "key": "ALL", "label": "全部" }
78 | ],
79 | "desc": "选择脚本日志的输出等级,低于所选等级的日志将全部输出。"
80 | }
81 | ],
82 | "author": "@DualSubs",
83 | "repo": "https://github.com/DualSubs/Universal",
84 | "icons": ["https://github.com/DualSubs/Universal/raw/main/src/assets/icon.png", "https://github.com/DualSubs/Universal/raw/main/src/assets/icon.png"]
85 | },
86 | {
87 | "id": "DualSubs.YouTube",
88 | "name": "🍿️ DualSubs: ▶️ YouTube (Music)",
89 | "descs_html": ["请参照▶️ YouTube (Music)的使用说明进行配置", "填写完成后别忘点击此页面底端右下角的\"保存\"。"],
90 | "keys": ["@DualSubs.YouTube.Settings", "@DualSubs.YouTube.Caches"],
91 | "settings": [
92 | {
93 | "id": "@DualSubs.YouTube.Settings.Type",
94 | "name": "[字幕] 启用类型",
95 | "type": "selects",
96 | "val": "Official",
97 | "items": [{ "key": "Official", "label": "官方字幕(合成器)" }, { "key": "Translate", "label": "翻译字幕(翻译器)" }],
98 | "desc": "请选择要使用的字幕,双语字幕将使用您选择类型呈现。"
99 | },
100 | {
101 | "id": "@DualSubs.YouTube.Settings.Types",
102 | "name": "[歌词] 启用类型",
103 | "type": "checkboxes",
104 | "val": ["Translate"],
105 | "items": [{ "key": "Translate", "label": "翻译歌词(翻译器)" }],
106 | "desc": "请选择要添加的歌词选项,如果为多选,则会自动决定提供的歌词类型。"
107 | },
108 | { "id": "@DualSubs.YouTube.Settings.AutoCC", "name": "[字幕] 自动显示", "type": "boolean", "val": true, "desc": "是否总是自动开启字幕显示。" },
109 | { "id": "@DualSubs.YouTube.Settings.ShowOnly", "name": "[翻译器] 只显示“自动翻译”字幕", "type": "boolean", "val": false, "desc": "是否仅显示“自动翻译”字幕,不显示源语言字幕。" },
110 | {
111 | "id": "@DualSubs.YouTube.Settings.LogLevel",
112 | "name": "[调试] 日志等级",
113 | "type": "selects",
114 | "val": "WARN",
115 | "items": [
116 | { "key": "OFF", "label": "关闭" },
117 | { "key": "ERROR", "label": "❌ 错误" },
118 | { "key": "WARN", "label": "⚠️ 警告" },
119 | { "key": "INFO", "label": "ℹ️ 信息" },
120 | { "key": "DEBUG", "label": "🅱️ 调试" },
121 | { "key": "ALL", "label": "全部" }
122 | ],
123 | "desc": "选择脚本日志的输出等级,低于所选等级的日志将全部输出。"
124 | }
125 | ],
126 | "author": "@DualSubs",
127 | "repo": "https://github.com/DualSubs/YouTube",
128 | "icons": ["https://github.com/DualSubs/YouTube/raw/main/src/assets/icon.png", "https://github.com/DualSubs/YouTube/raw/main/src/assets/icon.png"]
129 | },
130 | {
131 | "id": "DualSubs.Netflix",
132 | "name": "🍿️ DualSubs: 🇳 Netflix",
133 | "descs_html": ["请参照🍿 DualSubs: 🇳 Netflix的使用说明进行配置", "填写完成后别忘点击此页面底端右下角的\"保存\"。"],
134 | "keys": ["@DualSubs.Netflix.Settings", "@DualSubs.Netflix.Caches"],
135 | "settings": [
136 | {
137 | "id": "@DualSubs.Netflix.Settings.Type",
138 | "name": "[字幕] 启用类型",
139 | "type": "selects",
140 | "val": "Translate",
141 | "items": [{ "key": "Translate", "label": "翻译字幕(翻译器)" }],
142 | "desc": "请选择要使用的字幕,双语字幕将使用您选择类型呈现。"
143 | },
144 | {
145 | "id": "@DualSubs.Netflix.Settings.Languages[0]",
146 | "name": "[字幕] 主语言(源语言)",
147 | "type": "selects",
148 | "val": "AUTO",
149 | "items": [
150 | { "key": "AUTO", "label": "自动 - Automatic" },
151 | { "key": "ZH", "label": "中文(自动)" },
152 | { "key": "ZH-HANS", "label": "中文(简体)" },
153 | { "key": "ZH-HK", "label": "中文(香港)" },
154 | { "key": "ZH-HANT", "label": "中文(繁体)" },
155 | { "key": "EN", "label": "English - 英语(自动)" },
156 | { "key": "ES", "label": "Español - 西班牙语(自动)" },
157 | { "key": "JA", "label": "日本語 - 日语" },
158 | { "key": "KO", "label": "한국어 - 韩语" },
159 | { "key": "DE", "label": "Deutsch - 德语" },
160 | { "key": "FR", "label": "Français - 法语" },
161 | { "key": "TR", "label": "Türkçe - 土耳其语" },
162 | { "key": "KM", "label": "ភាសាខ្មែរ - 高棉语" }
163 | ],
164 | "desc": "当“主语言”字幕存在时,将生成“主语言/副语言(翻译)”与“主语言(外挂)”的字幕或字幕选项。仅当源语言识别不准确时更改此选项。"
165 | },
166 | {
167 | "id": "@DualSubs.Netflix.Settings.Languages[1]",
168 | "name": "[字幕] 副语言(目标语言)",
169 | "type": "selects",
170 | "val": "ZH",
171 | "items": [
172 | { "key": "ZH", "label": "中文(自动)" },
173 | { "key": "ZH-HANS", "label": "中文(简体)" },
174 | { "key": "ZH-HK", "label": "中文(香港)" },
175 | { "key": "ZH-HANT", "label": "中文(繁体)" },
176 | { "key": "EN", "label": "English - 英语(自动)" },
177 | { "key": "ES", "label": "Español - 西班牙语(自动)" },
178 | { "key": "JA", "label": "日本語 - 日语" },
179 | { "key": "KO", "label": "한국어 - 韩语" },
180 | { "key": "DE", "label": "Deutsch - 德语" },
181 | { "key": "FR", "label": "Français - 法语" },
182 | { "key": "TR", "label": "Türkçe - 土耳其语" },
183 | { "key": "KM", "label": "ភាសាខ្មែរ - 高棉语" }
184 | ],
185 | "desc": "当“副语言”字幕存在时,将生成“副语言/主语言(官方)”的字幕或字幕选项。"
186 | },
187 | {
188 | "id": "@DualSubs.Netflix.Settings.LogLevel",
189 | "name": "[调试] 日志等级",
190 | "type": "selects",
191 | "val": "WARN",
192 | "items": [
193 | { "key": "OFF", "label": "关闭" },
194 | { "key": "ERROR", "label": "❌ 错误" },
195 | { "key": "WARN", "label": "⚠️ 警告" },
196 | { "key": "INFO", "label": "ℹ️ 信息" },
197 | { "key": "DEBUG", "label": "🅱️ 调试" },
198 | { "key": "ALL", "label": "全部" }
199 | ],
200 | "desc": "选择脚本日志的输出等级,低于所选等级的日志将全部输出。"
201 | }
202 | ],
203 | "author": "@DualSubs",
204 | "repo": "https://github.com/DualSubs/Netflix",
205 | "icons": ["https://github.com/DualSubs/Netflix/raw/main/src/assets/icon.png", "https://github.com/DualSubs/Netflix/raw/main/src/assets/icon.png"]
206 | },
207 | {
208 | "id": "DualSubs.Spotify",
209 | "name": "🍿️ DualSubs: 🎵 Spotify",
210 | "descs_html": ["请参照🍿 DualSubs: 🎵 Spotify的使用说明进行配置", "填写完成后别忘点击此页面底端右下角的\"保存\"。"],
211 | "keys": ["@DualSubs.Spotify.Settings", "@DualSubs.Spotify.Caches.Metadatas.Tracks"],
212 | "settings": [
213 | {
214 | "id": "@DualSubs.Spotify.Settings.Types",
215 | "name": "[歌词] 启用类型(多选)",
216 | "type": "checkboxes",
217 | "val": ["Translate", "External"],
218 | "items": [{ "key": "Translate", "label": "翻译歌词(翻译器)" }, { "key": "External", "label": "外部歌词(外部源)" }],
219 | "desc": "请选择要添加的歌词选项,如果为多选,则会自动决定提供的歌词类型。"
220 | },
221 | {
222 | "id": "@DualSubs.Spotify.Settings.Languages[0]",
223 | "name": "[翻译器] 主语言(源语言)",
224 | "type": "selects",
225 | "val": "AUTO",
226 | "items": [
227 | { "key": "AUTO", "label": "自动 - Automatic" },
228 | { "key": "ZH", "label": "中文(自动)" },
229 | { "key": "ZH-HANS", "label": "中文(简体)" },
230 | { "key": "ZH-HK", "label": "中文(香港)" },
231 | { "key": "ZH-HANT", "label": "中文(繁体)" },
232 | { "key": "EN", "label": "English - 英语(自动)" },
233 | { "key": "ES", "label": "Español - 西班牙语(自动)" },
234 | { "key": "JA", "label": "日本語 - 日语" },
235 | { "key": "KO", "label": "한국어 - 韩语" },
236 | { "key": "DE", "label": "Deutsch - 德语" },
237 | { "key": "FR", "label": "Français - 法语" },
238 | { "key": "TR", "label": "Türkçe - 土耳其语" },
239 | { "key": "KM", "label": "ភាសាខ្មែរ - 高棉语" }
240 | ],
241 | "desc": "仅当源语言识别不准确时更改此选项。"
242 | },
243 | {
244 | "id": "@DualSubs.Spotify.Settings.Languages[1]",
245 | "name": "[翻译器] 副语言(目标语言)",
246 | "type": "selects",
247 | "val": "ZH",
248 | "items": [
249 | { "key": "ZH", "label": "中文(自动)" },
250 | { "key": "ZH-HANS", "label": "中文(简体)" },
251 | { "key": "ZH-HK", "label": "中文(香港)" },
252 | { "key": "ZH-HANT", "label": "中文(繁体)" },
253 | { "key": "EN", "label": "English - 英语(自动)" },
254 | { "key": "ES", "label": "Español - 西班牙语(自动)" },
255 | { "key": "JA", "label": "日本語 - 日语" },
256 | { "key": "KO", "label": "한국어 - 韩语" },
257 | { "key": "DE", "label": "Deutsch - 德语" },
258 | { "key": "FR", "label": "Français - 法语" },
259 | { "key": "TR", "label": "Türkçe - 土耳其语" },
260 | { "key": "KM", "label": "ភាសាខ្មែរ - 高棉语" }
261 | ],
262 | "desc": "请指定翻译歌词的目标语言。"
263 | },
264 | {
265 | "id": "@DualSubs.Spotify.Settings.LogLevel",
266 | "name": "[调试] 日志等级",
267 | "type": "selects",
268 | "val": "WARN",
269 | "items": [
270 | { "key": "OFF", "label": "关闭" },
271 | { "key": "ERROR", "label": "❌ 错误" },
272 | { "key": "WARN", "label": "⚠️ 警告" },
273 | { "key": "INFO", "label": "ℹ️ 信息" },
274 | { "key": "DEBUG", "label": "🅱️ 调试" },
275 | { "key": "ALL", "label": "全部" }
276 | ],
277 | "desc": "选择脚本日志的输出等级,低于所选等级的日志将全部输出。"
278 | }
279 | ],
280 | "author": "@DualSubs",
281 | "repo": "https://github.com/DualSubs/Spotify",
282 | "icons": ["https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Spotify.png", "https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Spotify.png"]
283 | },
284 | {
285 | "id": "DualSubs.Composite",
286 | "name": "🍿️ DualSubs: 合成器(官方&外挂字幕)",
287 | "descs_html": ["请参照DualSubs的使用说明进行配置", "填写完成后别忘点击此页面底端右下角的\"保存\"。"],
288 | "keys": ["@DualSubs.Composite.Settings", "@DualSubs.Composite.Caches.Playlists.Master", "@DualSubs.Composite.Caches.Playlists.Subtitle", "@DualSubs.Composite.Caches.Subtitles"],
289 | "settings": [
290 | {
291 | "id": "@DualSubs.Composite.Settings.CacheSize",
292 | "name": "播放记录缓存数量",
293 | "val": 20,
294 | "type": "number",
295 | "placeholder": "20",
296 | "desc": "此选项决定同网关、同平台、同时处理和播放的数量, 建议设置此数值不小于播放设备数,最大可用值为50"
297 | },
298 | {
299 | "id": "@DualSubs.Composite.Settings.Position",
300 | "name": "主语言(源语言)字幕位置",
301 | "val": "Reverse",
302 | "type": "selects",
303 | "items": [{ "key": "Forward", "label": "上面(第一行)" }, { "key": "Reverse", "label": "下面(第二行)" }],
304 | "desc": "主语言(源语言)字幕的显示位置"
305 | },
306 | { "id": "@DualSubs.Composite.Settings.Offset", "name": "[合成器] 时间偏移量", "val": 0, "type": "number", "placeholder": "0", "desc": "单位:毫秒(ms),正负整数,不懂就别动" },
307 | { "id": "@DualSubs.Composite.Settings.Tolerance", "name": "[合成器] 时间戳公差", "val": 1000, "type": "number", "placeholder": "1000", "desc": "单位:毫秒(ms),正整数,字幕时间戳匹配时容许的误差范围,不懂就别动" }
308 | ],
309 | "author": "@DualSubs",
310 | "icons": ["https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/DomesticMedia.png", "https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/DomesticMedia.png"]
311 | },
312 | {
313 | "id": "DualSubs.Translate",
314 | "name": "🍿️ DualSubs: 翻译器(翻译字幕&歌词)",
315 | "descs_html": ["请参照DualSubs的使用说明进行配置", "填写完成后别忘点击此页面底端右下角的\"保存\"。"],
316 | "keys": ["@DualSubs.Translate.Settings", "@DualSubs.Translate.Caches.Subtitles"],
317 | "settings": [
318 | {
319 | "id": "@DualSubs.Translate.Settings.Vendor",
320 | "name": "服务商API",
321 | "val": "Google",
322 | "type": "selects",
323 | "desc": "请选择字幕翻译功能所使用的翻译API",
324 | "items": [
325 | { "key": "Google", "label": "Google Translate" },
326 | { "key": "GoogleCloud", "label": "Google Cloud Translate(需填写API)" },
327 | { "key": "Microsoft", "label": "Microsoft Translator(需填写API)" },
328 | { "key": "DeepL", "label": "DeepL API(需填写API)" }
329 | ]
330 | },
331 | { "id": "@DualSubs.Translate.Settings.ShowOnly", "name": "只显示翻译字幕", "type": "boolean", "val": false, "desc": "是否仅显示翻译后字幕,不显示源语言字幕。" },
332 | {
333 | "id": "@DualSubs.Translate.Settings.Position",
334 | "name": "主语言(源语言)字幕位置",
335 | "val": "Forward",
336 | "type": "selects",
337 | "items": [{ "key": "Forward", "label": "上面(第一行)" }, { "key": "Reverse", "label": "下面(第二行)" }],
338 | "desc": "主语言(源语言)字幕的显示位置"
339 | },
340 | {
341 | "id": "@DualSubs.Translate.Settings.Method",
342 | "name": "[翻译器] 翻译方式",
343 | "val": "Part",
344 | "type": "selects",
345 | "items": [
346 | { "key": "Part", "label": "逐段翻译(每50~128句文本合并发送一次翻译请求,对请求次数或频率限制型API友好)" },
347 | { "key": "Row", "label": "逐句翻译(每句文本都发送一次翻译请求,不限量API可选,但会导致翻译缺乏上下文语境)" }
348 | ],
349 | "desc": "翻译器工作方式,不懂就别动"
350 | },
351 | { "id": "@DualSubs.Translate.Settings.Times", "name": "[翻译器] 重试次数", "val": "3", "type": "number", "placeholder": "3", "desc": "单位:次,正整数" },
352 | { "id": "@DualSubs.Translate.Settings.Interval", "name": "[翻译器] 重试间隔时长", "val": "500", "type": "number", "placeholder": "500", "desc": "单位:毫秒(ms),正整数" },
353 | { "id": "@DualSubs.Translate.Settings.Exponential", "name": "[翻译器] 重试间隔时长递增", "val": true, "type": "boolean", "desc": "例如,第一次重试间隔时长1000ms,第二次重试间隔时长2000ms,第三次重试间隔时长4000ms,以此类推" }
354 | ],
355 | "author": "@DualSubs",
356 | "icons": ["https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/ForeignMedia.png", "https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/ForeignMedia.png"]
357 | },
358 | {
359 | "id": "DualSubs.External",
360 | "name": "🍿️ DualSubs: 外部源(外部歌词)",
361 | "descs_html": ["请参照DualSubs的使用说明进行配置", "填写完成后别忘点击此页面底端右下角的\"保存\"。"],
362 | "keys": ["@DualSubs.External.Settings", "@DualSubs.External.Caches.TrackInfo"],
363 | "settings": [
364 | {
365 | "id": "@DualSubs.External.Settings.LrcVendor",
366 | "name": "[歌词] 服务商API",
367 | "val": "NeteaseMusic",
368 | "type": "selects",
369 | "desc": "请选择外部字幕功能所使用的服务商API",
370 | "items": [{ "key": "NeteaseMusic", "label": "网易云音乐(官方)" }, { "key": "QQMusic", "label": "QQ音乐(官方)" }, { "key": "NeteaseMusicNodeJS", "label": "网易云音乐 NodeJS API" }]
371 | },
372 | { "id": "@DualSubs.External.Settings.CacheSize", "name": "播放记录缓存数量", "val": 50, "type": "number", "placeholder": "50", "desc": "此选项决定同网关、同平台、同时处理和播放的数量, 建议设置此数值不小于播放设备数" }
373 | ],
374 | "author": "@DualSubs",
375 | "icons": ["https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Media.png", "https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Media.png"]
376 | },
377 | {
378 | "id": "DualSubs.API.Translate",
379 | "name": "🍿️ DualSubs: API(翻译器)",
380 | "descs_html": ["请参照DualSubs的使用说明进行配置", "填写完成后别忘点击此页面底端右下角的\"保存\"。"],
381 | "keys": ["@DualSubs.API.Settings"],
382 | "settings": [
383 | {
384 | "id": "@DualSubs.API.Settings.GoogleCloud.Version",
385 | "name": "[Google Cloud] Translation API 版本",
386 | "val": "v2",
387 | "type": "selects",
388 | "items": [{ "key": "v2", "label": "V2版" }, { "key": "v3", "label": "V3版" }],
389 | "desc": "选择版本"
390 | },
391 | {
392 | "id": "@DualSubs.API.Settings.GoogleCloud.Mode",
393 | "name": "[Google Cloud] Translation API 认证方式",
394 | "val": "Key",
395 | "type": "selects",
396 | "items": [{ "key": "Key", "label": "密钥" }, { "key": "Token", "label": "令牌(暂不支持,别选)" }],
397 | "desc": "认证方式二选一"
398 | },
399 | {
400 | "id": "@DualSubs.API.Settings.GoogleCloud.Auth",
401 | "name": "[Google Cloud] Translation API 认证内容",
402 | "val": "",
403 | "type": "text",
404 | "placeholder": "AIzaSyD6NNneoaqSTL2mE3_S1DNPvzrxwcFLIAY",
405 | "desc": "请填写令牌(Token)或密钥(Key),未提供时不会启用此类型字幕"
406 | },
407 | {
408 | "id": "@DualSubs.API.Settings.Microsoft.Version",
409 | "name": "[Microsoft Translator] API 版本",
410 | "val": "Azure",
411 | "type": "selects",
412 | "items": [{ "key": "Azure", "label": "国际版" }, { "key": "AzureCN", "label": "中国世纪互联版" }, { "key": "AzureUS", "label": "美国政府版" }],
413 | "desc": "选择版本"
414 | },
415 | {
416 | "id": "@DualSubs.API.Settings.Microsoft.Mode",
417 | "name": "[Microsoft Translator] 认证方式",
418 | "val": "Token",
419 | "type": "selects",
420 | "items": [{ "key": "Token", "label": "令牌 (Edge Translator)" }, { "key": "Key", "label": "密钥 (Microsoft Azure)" }],
421 | "desc": "认证方式二选一"
422 | },
423 | {
424 | "id": "@DualSubs.API.Settings.Microsoft.Region",
425 | "name": "[Microsoft Translator] Azure 区域代码 (Key/密钥模式必须)",
426 | "val": "global",
427 | "type": "text",
428 | "placeholder": "global",
429 | "desc": "如果开通Microsoft Azure Translator时没有选择全球global,则需要填写开通的地区代码,如chinanorth, chinaeast2等"
430 | },
431 | {
432 | "id": "@DualSubs.API.Settings.Microsoft.Auth",
433 | "name": "[Microsoft Translator] 认证内容",
434 | "val": "",
435 | "type": "text",
436 | "placeholder": "c3639587ac214f2e917862c80a2b821b",
437 | "desc": "请填写令牌(Token)或密钥(Key),未提供时不会启用此类型字幕"
438 | },
439 | { "id": "@DualSubs.API.Settings.DeepL.Version", "name": "[DeepL] API 版本", "val": "Free", "type": "selects", "items": [{ "key": "Free", "label": "Free" }, { "key": "Pro", "label": "Pro" }], "desc": "选择版本" },
440 | { "id": "@DualSubs.API.Settings.DeepL.Auth", "name": "[DeepL] API 认证内容", "val": "", "type": "text", "placeholder": "df4385c2-33de-e423-4134-ca1f7b3ea8b7", "desc": "请填写令牌(Token)或密钥(Key),未提供时不会启用此类型字幕" }
441 | ],
442 | "author": "@DualSubs",
443 | "icons": ["https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Unlock.png", "https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Unlock.png"]
444 | }
445 | ]
446 | }
447 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | GNU GENERAL PUBLIC LICENSE
2 | Version 3, 29 June 2007
3 |
4 | Copyright (C) 2007 Free Software Foundation, Inc.
5 | Everyone is permitted to copy and distribute verbatim copies
6 | of this license document, but changing it is not allowed.
7 |
8 | Preamble
9 |
10 | The GNU General Public License is a free, copyleft license for
11 | software and other kinds of works.
12 |
13 | The licenses for most software and other practical works are designed
14 | to take away your freedom to share and change the works. By contrast,
15 | the GNU General Public License is intended to guarantee your freedom to
16 | share and change all versions of a program--to make sure it remains free
17 | software for all its users. We, the Free Software Foundation, use the
18 | GNU General Public License for most of our software; it applies also to
19 | any other work released this way by its authors. You can apply it to
20 | your programs, too.
21 |
22 | When we speak of free software, we are referring to freedom, not
23 | price. Our General Public Licenses are designed to make sure that you
24 | have the freedom to distribute copies of free software (and charge for
25 | them if you wish), that you receive source code or can get it if you
26 | want it, that you can change the software or use pieces of it in new
27 | free programs, and that you know you can do these things.
28 |
29 | To protect your rights, we need to prevent others from denying you
30 | these rights or asking you to surrender the rights. Therefore, you have
31 | certain responsibilities if you distribute copies of the software, or if
32 | you modify it: responsibilities to respect the freedom of others.
33 |
34 | For example, if you distribute copies of such a program, whether
35 | gratis or for a fee, you must pass on to the recipients the same
36 | freedoms that you received. You must make sure that they, too, receive
37 | or can get the source code. And you must show them these terms so they
38 | know their rights.
39 |
40 | Developers that use the GNU GPL protect your rights with two steps:
41 | (1) assert copyright on the software, and (2) offer you this License
42 | giving you legal permission to copy, distribute and/or modify it.
43 |
44 | For the developers' and authors' protection, the GPL clearly explains
45 | that there is no warranty for this free software. For both users' and
46 | authors' sake, the GPL requires that modified versions be marked as
47 | changed, so that their problems will not be attributed erroneously to
48 | authors of previous versions.
49 |
50 | Some devices are designed to deny users access to install or run
51 | modified versions of the software inside them, although the manufacturer
52 | can do so. This is fundamentally incompatible with the aim of
53 | protecting users' freedom to change the software. The systematic
54 | pattern of such abuse occurs in the area of products for individuals to
55 | use, which is precisely where it is most unacceptable. Therefore, we
56 | have designed this version of the GPL to prohibit the practice for those
57 | products. If such problems arise substantially in other domains, we
58 | stand ready to extend this provision to those domains in future versions
59 | of the GPL, as needed to protect the freedom of users.
60 |
61 | Finally, every program is threatened constantly by software patents.
62 | States should not allow patents to restrict development and use of
63 | software on general-purpose computers, but in those that do, we wish to
64 | avoid the special danger that patents applied to a free program could
65 | make it effectively proprietary. To prevent this, the GPL assures that
66 | patents cannot be used to render the program non-free.
67 |
68 | The precise terms and conditions for copying, distribution and
69 | modification follow.
70 |
71 | TERMS AND CONDITIONS
72 |
73 | 0. Definitions.
74 |
75 | "This License" refers to version 3 of the GNU General Public License.
76 |
77 | "Copyright" also means copyright-like laws that apply to other kinds of
78 | works, such as semiconductor masks.
79 |
80 | "The Program" refers to any copyrightable work licensed under this
81 | License. Each licensee is addressed as "you". "Licensees" and
82 | "recipients" may be individuals or organizations.
83 |
84 | To "modify" a work means to copy from or adapt all or part of the work
85 | in a fashion requiring copyright permission, other than the making of an
86 | exact copy. The resulting work is called a "modified version" of the
87 | earlier work or a work "based on" the earlier work.
88 |
89 | A "covered work" means either the unmodified Program or a work based
90 | on the Program.
91 |
92 | To "propagate" a work means to do anything with it that, without
93 | permission, would make you directly or secondarily liable for
94 | infringement under applicable copyright law, except executing it on a
95 | computer or modifying a private copy. Propagation includes copying,
96 | distribution (with or without modification), making available to the
97 | public, and in some countries other activities as well.
98 |
99 | To "convey" a work means any kind of propagation that enables other
100 | parties to make or receive copies. Mere interaction with a user through
101 | a computer network, with no transfer of a copy, is not conveying.
102 |
103 | An interactive user interface displays "Appropriate Legal Notices"
104 | to the extent that it includes a convenient and prominently visible
105 | feature that (1) displays an appropriate copyright notice, and (2)
106 | tells the user that there is no warranty for the work (except to the
107 | extent that warranties are provided), that licensees may convey the
108 | work under this License, and how to view a copy of this License. If
109 | the interface presents a list of user commands or options, such as a
110 | menu, a prominent item in the list meets this criterion.
111 |
112 | 1. Source Code.
113 |
114 | The "source code" for a work means the preferred form of the work
115 | for making modifications to it. "Object code" means any non-source
116 | form of a work.
117 |
118 | A "Standard Interface" means an interface that either is an official
119 | standard defined by a recognized standards body, or, in the case of
120 | interfaces specified for a particular programming language, one that
121 | is widely used among developers working in that language.
122 |
123 | The "System Libraries" of an executable work include anything, other
124 | than the work as a whole, that (a) is included in the normal form of
125 | packaging a Major Component, but which is not part of that Major
126 | Component, and (b) serves only to enable use of the work with that
127 | Major Component, or to implement a Standard Interface for which an
128 | implementation is available to the public in source code form. A
129 | "Major Component", in this context, means a major essential component
130 | (kernel, window system, and so on) of the specific operating system
131 | (if any) on which the executable work runs, or a compiler used to
132 | produce the work, or an object code interpreter used to run it.
133 |
134 | The "Corresponding Source" for a work in object code form means all
135 | the source code needed to generate, install, and (for an executable
136 | work) run the object code and to modify the work, including scripts to
137 | control those activities. However, it does not include the work's
138 | System Libraries, or general-purpose tools or generally available free
139 | programs which are used unmodified in performing those activities but
140 | which are not part of the work. For example, Corresponding Source
141 | includes interface definition files associated with source files for
142 | the work, and the source code for shared libraries and dynamically
143 | linked subprograms that the work is specifically designed to require,
144 | such as by intimate data communication or control flow between those
145 | subprograms and other parts of the work.
146 |
147 | The Corresponding Source need not include anything that users
148 | can regenerate automatically from other parts of the Corresponding
149 | Source.
150 |
151 | The Corresponding Source for a work in source code form is that
152 | same work.
153 |
154 | 2. Basic Permissions.
155 |
156 | All rights granted under this License are granted for the term of
157 | copyright on the Program, and are irrevocable provided the stated
158 | conditions are met. This License explicitly affirms your unlimited
159 | permission to run the unmodified Program. The output from running a
160 | covered work is covered by this License only if the output, given its
161 | content, constitutes a covered work. This License acknowledges your
162 | rights of fair use or other equivalent, as provided by copyright law.
163 |
164 | You may make, run and propagate covered works that you do not
165 | convey, without conditions so long as your license otherwise remains
166 | in force. You may convey covered works to others for the sole purpose
167 | of having them make modifications exclusively for you, or provide you
168 | with facilities for running those works, provided that you comply with
169 | the terms of this License in conveying all material for which you do
170 | not control copyright. Those thus making or running the covered works
171 | for you must do so exclusively on your behalf, under your direction
172 | and control, on terms that prohibit them from making any copies of
173 | your copyrighted material outside their relationship with you.
174 |
175 | Conveying under any other circumstances is permitted solely under
176 | the conditions stated below. Sublicensing is not allowed; section 10
177 | makes it unnecessary.
178 |
179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
180 |
181 | No covered work shall be deemed part of an effective technological
182 | measure under any applicable law fulfilling obligations under article
183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or
184 | similar laws prohibiting or restricting circumvention of such
185 | measures.
186 |
187 | When you convey a covered work, you waive any legal power to forbid
188 | circumvention of technological measures to the extent such circumvention
189 | is effected by exercising rights under this License with respect to
190 | the covered work, and you disclaim any intention to limit operation or
191 | modification of the work as a means of enforcing, against the work's
192 | users, your or third parties' legal rights to forbid circumvention of
193 | technological measures.
194 |
195 | 4. Conveying Verbatim Copies.
196 |
197 | You may convey verbatim copies of the Program's source code as you
198 | receive it, in any medium, provided that you conspicuously and
199 | appropriately publish on each copy an appropriate copyright notice;
200 | keep intact all notices stating that this License and any
201 | non-permissive terms added in accord with section 7 apply to the code;
202 | keep intact all notices of the absence of any warranty; and give all
203 | recipients a copy of this License along with the Program.
204 |
205 | You may charge any price or no price for each copy that you convey,
206 | and you may offer support or warranty protection for a fee.
207 |
208 | 5. Conveying Modified Source Versions.
209 |
210 | You may convey a work based on the Program, or the modifications to
211 | produce it from the Program, in the form of source code under the
212 | terms of section 4, provided that you also meet all of these conditions:
213 |
214 | a) The work must carry prominent notices stating that you modified
215 | it, and giving a relevant date.
216 |
217 | b) The work must carry prominent notices stating that it is
218 | released under this License and any conditions added under section
219 | 7. This requirement modifies the requirement in section 4 to
220 | "keep intact all notices".
221 |
222 | c) You must license the entire work, as a whole, under this
223 | License to anyone who comes into possession of a copy. This
224 | License will therefore apply, along with any applicable section 7
225 | additional terms, to the whole of the work, and all its parts,
226 | regardless of how they are packaged. This License gives no
227 | permission to license the work in any other way, but it does not
228 | invalidate such permission if you have separately received it.
229 |
230 | d) If the work has interactive user interfaces, each must display
231 | Appropriate Legal Notices; however, if the Program has interactive
232 | interfaces that do not display Appropriate Legal Notices, your
233 | work need not make them do so.
234 |
235 | A compilation of a covered work with other separate and independent
236 | works, which are not by their nature extensions of the covered work,
237 | and which are not combined with it such as to form a larger program,
238 | in or on a volume of a storage or distribution medium, is called an
239 | "aggregate" if the compilation and its resulting copyright are not
240 | used to limit the access or legal rights of the compilation's users
241 | beyond what the individual works permit. Inclusion of a covered work
242 | in an aggregate does not cause this License to apply to the other
243 | parts of the aggregate.
244 |
245 | 6. Conveying Non-Source Forms.
246 |
247 | You may convey a covered work in object code form under the terms
248 | of sections 4 and 5, provided that you also convey the
249 | machine-readable Corresponding Source under the terms of this License,
250 | in one of these ways:
251 |
252 | a) Convey the object code in, or embodied in, a physical product
253 | (including a physical distribution medium), accompanied by the
254 | Corresponding Source fixed on a durable physical medium
255 | customarily used for software interchange.
256 |
257 | b) Convey the object code in, or embodied in, a physical product
258 | (including a physical distribution medium), accompanied by a
259 | written offer, valid for at least three years and valid for as
260 | long as you offer spare parts or customer support for that product
261 | model, to give anyone who possesses the object code either (1) a
262 | copy of the Corresponding Source for all the software in the
263 | product that is covered by this License, on a durable physical
264 | medium customarily used for software interchange, for a price no
265 | more than your reasonable cost of physically performing this
266 | conveying of source, or (2) access to copy the
267 | Corresponding Source from a network server at no charge.
268 |
269 | c) Convey individual copies of the object code with a copy of the
270 | written offer to provide the Corresponding Source. This
271 | alternative is allowed only occasionally and noncommercially, and
272 | only if you received the object code with such an offer, in accord
273 | with subsection 6b.
274 |
275 | d) Convey the object code by offering access from a designated
276 | place (gratis or for a charge), and offer equivalent access to the
277 | Corresponding Source in the same way through the same place at no
278 | further charge. You need not require recipients to copy the
279 | Corresponding Source along with the object code. If the place to
280 | copy the object code is a network server, the Corresponding Source
281 | may be on a different server (operated by you or a third party)
282 | that supports equivalent copying facilities, provided you maintain
283 | clear directions next to the object code saying where to find the
284 | Corresponding Source. Regardless of what server hosts the
285 | Corresponding Source, you remain obligated to ensure that it is
286 | available for as long as needed to satisfy these requirements.
287 |
288 | e) Convey the object code using peer-to-peer transmission, provided
289 | you inform other peers where the object code and Corresponding
290 | Source of the work are being offered to the general public at no
291 | charge under subsection 6d.
292 |
293 | A separable portion of the object code, whose source code is excluded
294 | from the Corresponding Source as a System Library, need not be
295 | included in conveying the object code work.
296 |
297 | A "User Product" is either (1) a "consumer product", which means any
298 | tangible personal property which is normally used for personal, family,
299 | or household purposes, or (2) anything designed or sold for incorporation
300 | into a dwelling. In determining whether a product is a consumer product,
301 | doubtful cases shall be resolved in favor of coverage. For a particular
302 | product received by a particular user, "normally used" refers to a
303 | typical or common use of that class of product, regardless of the status
304 | of the particular user or of the way in which the particular user
305 | actually uses, or expects or is expected to use, the product. A product
306 | is a consumer product regardless of whether the product has substantial
307 | commercial, industrial or non-consumer uses, unless such uses represent
308 | the only significant mode of use of the product.
309 |
310 | "Installation Information" for a User Product means any methods,
311 | procedures, authorization keys, or other information required to install
312 | and execute modified versions of a covered work in that User Product from
313 | a modified version of its Corresponding Source. The information must
314 | suffice to ensure that the continued functioning of the modified object
315 | code is in no case prevented or interfered with solely because
316 | modification has been made.
317 |
318 | If you convey an object code work under this section in, or with, or
319 | specifically for use in, a User Product, and the conveying occurs as
320 | part of a transaction in which the right of possession and use of the
321 | User Product is transferred to the recipient in perpetuity or for a
322 | fixed term (regardless of how the transaction is characterized), the
323 | Corresponding Source conveyed under this section must be accompanied
324 | by the Installation Information. But this requirement does not apply
325 | if neither you nor any third party retains the ability to install
326 | modified object code on the User Product (for example, the work has
327 | been installed in ROM).
328 |
329 | The requirement to provide Installation Information does not include a
330 | requirement to continue to provide support service, warranty, or updates
331 | for a work that has been modified or installed by the recipient, or for
332 | the User Product in which it has been modified or installed. Access to a
333 | network may be denied when the modification itself materially and
334 | adversely affects the operation of the network or violates the rules and
335 | protocols for communication across the network.
336 |
337 | Corresponding Source conveyed, and Installation Information provided,
338 | in accord with this section must be in a format that is publicly
339 | documented (and with an implementation available to the public in
340 | source code form), and must require no special password or key for
341 | unpacking, reading or copying.
342 |
343 | 7. Additional Terms.
344 |
345 | "Additional permissions" are terms that supplement the terms of this
346 | License by making exceptions from one or more of its conditions.
347 | Additional permissions that are applicable to the entire Program shall
348 | be treated as though they were included in this License, to the extent
349 | that they are valid under applicable law. If additional permissions
350 | apply only to part of the Program, that part may be used separately
351 | under those permissions, but the entire Program remains governed by
352 | this License without regard to the additional permissions.
353 |
354 | When you convey a copy of a covered work, you may at your option
355 | remove any additional permissions from that copy, or from any part of
356 | it. (Additional permissions may be written to require their own
357 | removal in certain cases when you modify the work.) You may place
358 | additional permissions on material, added by you to a covered work,
359 | for which you have or can give appropriate copyright permission.
360 |
361 | Notwithstanding any other provision of this License, for material you
362 | add to a covered work, you may (if authorized by the copyright holders of
363 | that material) supplement the terms of this License with terms:
364 |
365 | a) Disclaiming warranty or limiting liability differently from the
366 | terms of sections 15 and 16 of this License; or
367 |
368 | b) Requiring preservation of specified reasonable legal notices or
369 | author attributions in that material or in the Appropriate Legal
370 | Notices displayed by works containing it; or
371 |
372 | c) Prohibiting misrepresentation of the origin of that material, or
373 | requiring that modified versions of such material be marked in
374 | reasonable ways as different from the original version; or
375 |
376 | d) Limiting the use for publicity purposes of names of licensors or
377 | authors of the material; or
378 |
379 | e) Declining to grant rights under trademark law for use of some
380 | trade names, trademarks, or service marks; or
381 |
382 | f) Requiring indemnification of licensors and authors of that
383 | material by anyone who conveys the material (or modified versions of
384 | it) with contractual assumptions of liability to the recipient, for
385 | any liability that these contractual assumptions directly impose on
386 | those licensors and authors.
387 |
388 | All other non-permissive additional terms are considered "further
389 | restrictions" within the meaning of section 10. If the Program as you
390 | received it, or any part of it, contains a notice stating that it is
391 | governed by this License along with a term that is a further
392 | restriction, you may remove that term. If a license document contains
393 | a further restriction but permits relicensing or conveying under this
394 | License, you may add to a covered work material governed by the terms
395 | of that license document, provided that the further restriction does
396 | not survive such relicensing or conveying.
397 |
398 | If you add terms to a covered work in accord with this section, you
399 | must place, in the relevant source files, a statement of the
400 | additional terms that apply to those files, or a notice indicating
401 | where to find the applicable terms.
402 |
403 | Additional terms, permissive or non-permissive, may be stated in the
404 | form of a separately written license, or stated as exceptions;
405 | the above requirements apply either way.
406 |
407 | 8. Termination.
408 |
409 | You may not propagate or modify a covered work except as expressly
410 | provided under this License. Any attempt otherwise to propagate or
411 | modify it is void, and will automatically terminate your rights under
412 | this License (including any patent licenses granted under the third
413 | paragraph of section 11).
414 |
415 | However, if you cease all violation of this License, then your
416 | license from a particular copyright holder is reinstated (a)
417 | provisionally, unless and until the copyright holder explicitly and
418 | finally terminates your license, and (b) permanently, if the copyright
419 | holder fails to notify you of the violation by some reasonable means
420 | prior to 60 days after the cessation.
421 |
422 | Moreover, your license from a particular copyright holder is
423 | reinstated permanently if the copyright holder notifies you of the
424 | violation by some reasonable means, this is the first time you have
425 | received notice of violation of this License (for any work) from that
426 | copyright holder, and you cure the violation prior to 30 days after
427 | your receipt of the notice.
428 |
429 | Termination of your rights under this section does not terminate the
430 | licenses of parties who have received copies or rights from you under
431 | this License. If your rights have been terminated and not permanently
432 | reinstated, you do not qualify to receive new licenses for the same
433 | material under section 10.
434 |
435 | 9. Acceptance Not Required for Having Copies.
436 |
437 | You are not required to accept this License in order to receive or
438 | run a copy of the Program. Ancillary propagation of a covered work
439 | occurring solely as a consequence of using peer-to-peer transmission
440 | to receive a copy likewise does not require acceptance. However,
441 | nothing other than this License grants you permission to propagate or
442 | modify any covered work. These actions infringe copyright if you do
443 | not accept this License. Therefore, by modifying or propagating a
444 | covered work, you indicate your acceptance of this License to do so.
445 |
446 | 10. Automatic Licensing of Downstream Recipients.
447 |
448 | Each time you convey a covered work, the recipient automatically
449 | receives a license from the original licensors, to run, modify and
450 | propagate that work, subject to this License. You are not responsible
451 | for enforcing compliance by third parties with this License.
452 |
453 | An "entity transaction" is a transaction transferring control of an
454 | organization, or substantially all assets of one, or subdividing an
455 | organization, or merging organizations. If propagation of a covered
456 | work results from an entity transaction, each party to that
457 | transaction who receives a copy of the work also receives whatever
458 | licenses to the work the party's predecessor in interest had or could
459 | give under the previous paragraph, plus a right to possession of the
460 | Corresponding Source of the work from the predecessor in interest, if
461 | the predecessor has it or can get it with reasonable efforts.
462 |
463 | You may not impose any further restrictions on the exercise of the
464 | rights granted or affirmed under this License. For example, you may
465 | not impose a license fee, royalty, or other charge for exercise of
466 | rights granted under this License, and you may not initiate litigation
467 | (including a cross-claim or counterclaim in a lawsuit) alleging that
468 | any patent claim is infringed by making, using, selling, offering for
469 | sale, or importing the Program or any portion of it.
470 |
471 | 11. Patents.
472 |
473 | A "contributor" is a copyright holder who authorizes use under this
474 | License of the Program or a work on which the Program is based. The
475 | work thus licensed is called the contributor's "contributor version".
476 |
477 | A contributor's "essential patent claims" are all patent claims
478 | owned or controlled by the contributor, whether already acquired or
479 | hereafter acquired, that would be infringed by some manner, permitted
480 | by this License, of making, using, or selling its contributor version,
481 | but do not include claims that would be infringed only as a
482 | consequence of further modification of the contributor version. For
483 | purposes of this definition, "control" includes the right to grant
484 | patent sublicenses in a manner consistent with the requirements of
485 | this License.
486 |
487 | Each contributor grants you a non-exclusive, worldwide, royalty-free
488 | patent license under the contributor's essential patent claims, to
489 | make, use, sell, offer for sale, import and otherwise run, modify and
490 | propagate the contents of its contributor version.
491 |
492 | In the following three paragraphs, a "patent license" is any express
493 | agreement or commitment, however denominated, not to enforce a patent
494 | (such as an express permission to practice a patent or covenant not to
495 | sue for patent infringement). To "grant" such a patent license to a
496 | party means to make such an agreement or commitment not to enforce a
497 | patent against the party.
498 |
499 | If you convey a covered work, knowingly relying on a patent license,
500 | and the Corresponding Source of the work is not available for anyone
501 | to copy, free of charge and under the terms of this License, through a
502 | publicly available network server or other readily accessible means,
503 | then you must either (1) cause the Corresponding Source to be so
504 | available, or (2) arrange to deprive yourself of the benefit of the
505 | patent license for this particular work, or (3) arrange, in a manner
506 | consistent with the requirements of this License, to extend the patent
507 | license to downstream recipients. "Knowingly relying" means you have
508 | actual knowledge that, but for the patent license, your conveying the
509 | covered work in a country, or your recipient's use of the covered work
510 | in a country, would infringe one or more identifiable patents in that
511 | country that you have reason to believe are valid.
512 |
513 | If, pursuant to or in connection with a single transaction or
514 | arrangement, you convey, or propagate by procuring conveyance of, a
515 | covered work, and grant a patent license to some of the parties
516 | receiving the covered work authorizing them to use, propagate, modify
517 | or convey a specific copy of the covered work, then the patent license
518 | you grant is automatically extended to all recipients of the covered
519 | work and works based on it.
520 |
521 | A patent license is "discriminatory" if it does not include within
522 | the scope of its coverage, prohibits the exercise of, or is
523 | conditioned on the non-exercise of one or more of the rights that are
524 | specifically granted under this License. You may not convey a covered
525 | work if you are a party to an arrangement with a third party that is
526 | in the business of distributing software, under which you make payment
527 | to the third party based on the extent of your activity of conveying
528 | the work, and under which the third party grants, to any of the
529 | parties who would receive the covered work from you, a discriminatory
530 | patent license (a) in connection with copies of the covered work
531 | conveyed by you (or copies made from those copies), or (b) primarily
532 | for and in connection with specific products or compilations that
533 | contain the covered work, unless you entered into that arrangement,
534 | or that patent license was granted, prior to 28 March 2007.
535 |
536 | Nothing in this License shall be construed as excluding or limiting
537 | any implied license or other defenses to infringement that may
538 | otherwise be available to you under applicable patent law.
539 |
540 | 12. No Surrender of Others' Freedom.
541 |
542 | If conditions are imposed on you (whether by court order, agreement or
543 | otherwise) that contradict the conditions of this License, they do not
544 | excuse you from the conditions of this License. If you cannot convey a
545 | covered work so as to satisfy simultaneously your obligations under this
546 | License and any other pertinent obligations, then as a consequence you may
547 | not convey it at all. For example, if you agree to terms that obligate you
548 | to collect a royalty for further conveying from those to whom you convey
549 | the Program, the only way you could satisfy both those terms and this
550 | License would be to refrain entirely from conveying the Program.
551 |
552 | 13. Use with the GNU Affero General Public License.
553 |
554 | Notwithstanding any other provision of this License, you have
555 | permission to link or combine any covered work with a work licensed
556 | under version 3 of the GNU Affero General Public License into a single
557 | combined work, and to convey the resulting work. The terms of this
558 | License will continue to apply to the part which is the covered work,
559 | but the special requirements of the GNU Affero General Public License,
560 | section 13, concerning interaction through a network will apply to the
561 | combination as such.
562 |
563 | 14. Revised Versions of this License.
564 |
565 | The Free Software Foundation may publish revised and/or new versions of
566 | the GNU General Public License from time to time. Such new versions will
567 | be similar in spirit to the present version, but may differ in detail to
568 | address new problems or concerns.
569 |
570 | Each version is given a distinguishing version number. If the
571 | Program specifies that a certain numbered version of the GNU General
572 | Public License "or any later version" applies to it, you have the
573 | option of following the terms and conditions either of that numbered
574 | version or of any later version published by the Free Software
575 | Foundation. If the Program does not specify a version number of the
576 | GNU General Public License, you may choose any version ever published
577 | by the Free Software Foundation.
578 |
579 | If the Program specifies that a proxy can decide which future
580 | versions of the GNU General Public License can be used, that proxy's
581 | public statement of acceptance of a version permanently authorizes you
582 | to choose that version for the Program.
583 |
584 | Later license versions may give you additional or different
585 | permissions. However, no additional obligations are imposed on any
586 | author or copyright holder as a result of your choosing to follow a
587 | later version.
588 |
589 | 15. Disclaimer of Warranty.
590 |
591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
599 |
600 | 16. Limitation of Liability.
601 |
602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
610 | SUCH DAMAGES.
611 |
612 | 17. Interpretation of Sections 15 and 16.
613 |
614 | If the disclaimer of warranty and limitation of liability provided
615 | above cannot be given local legal effect according to their terms,
616 | reviewing courts shall apply local law that most closely approximates
617 | an absolute waiver of all civil liability in connection with the
618 | Program, unless a warranty or assumption of liability accompanies a
619 | copy of the Program in return for a fee.
620 |
621 | END OF TERMS AND CONDITIONS
622 |
623 | How to Apply These Terms to Your New Programs
624 |
625 | If you develop a new program, and you want it to be of the greatest
626 | possible use to the public, the best way to achieve this is to make it
627 | free software which everyone can redistribute and change under these terms.
628 |
629 | To do so, attach the following notices to the program. It is safest
630 | to attach them to the start of each source file to most effectively
631 | state the exclusion of warranty; and each file should have at least
632 | the "copyright" line and a pointer to where the full notice is found.
633 |
634 |
635 | Copyright (C)
636 |
637 | This program is free software: you can redistribute it and/or modify
638 | it under the terms of the GNU General Public License as published by
639 | the Free Software Foundation, either version 3 of the License, or
640 | (at your option) any later version.
641 |
642 | This program is distributed in the hope that it will be useful,
643 | but WITHOUT ANY WARRANTY; without even the implied warranty of
644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
645 | GNU General Public License for more details.
646 |
647 | You should have received a copy of the GNU General Public License
648 | along with this program. If not, see .
649 |
650 | Also add information on how to contact you by electronic and paper mail.
651 |
652 | If the program does terminal interaction, make it output a short
653 | notice like this when it starts in an interactive mode:
654 |
655 | Copyright (C)
656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657 | This is free software, and you are welcome to redistribute it
658 | under certain conditions; type `show c' for details.
659 |
660 | The hypothetical commands `show w' and `show c' should show the appropriate
661 | parts of the General Public License. Of course, your program's commands
662 | might be different; for a GUI interface, you would use an "about box".
663 |
664 | You should also get your employer (if you work as a programmer) or school,
665 | if any, to sign a "copyright disclaimer" for the program, if necessary.
666 | For more information on this, and how to apply and follow the GNU GPL, see
667 | .
668 |
669 | The GNU General Public License does not permit incorporating your program
670 | into proprietary programs. If your program is a subroutine library, you
671 | may consider it more useful to permit linking proprietary applications with
672 | the library. If this is what you want to do, use the GNU Lesser General
673 | Public License instead of this License. But first, please read
674 | .
675 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # 🍿 DualSubs: 🧰 BoxJs
2 | ```
3 | ⚠️注意:BoxJs仅用于可视化配置,请搭配模块/插件/覆写使用
4 | ```
5 | # 使用说明
6 | * [BoxJs官方说明文档](https://chavyleung.gitbook.io/boxjs/)
7 |
8 | # BoxJs安装链接
9 | * Loon:
10 | * 🆕点击一键安装: [boxjs.rewrite.loon.plugin](https://api.boxjs.app/loon-install "🧰 BoxJs")
11 | * `插件`链接: [boxjs.rewrite.loon.plugin](https://github.com/chavyleung/scripts/raw/master/box/rewrite/boxjs.rewrite.loon.plugin "🧰 BoxJs")
12 | * Quantumult X:
13 | * 🆕点击一键安装: [boxjs.rewrite.quanx.conf](https://api.boxjs.app/quanx-install "🧰 BoxJs")
14 | * `重写`链接: [boxjs.rewrite.quanx.conf](https://github.com/chavyleung/scripts/raw/master/box/rewrite/boxjs.rewrite.quanx.conf "🧰 BoxJs")
15 | * Surge (Shadowrocket):
16 | * 🆕点击一键安装(Shadowrocket): [boxjs.rewrite.surge.sgmodule](http://api.boxjs.app/shadowrocket-install "🧰 BoxJs")
17 | * `模块`链接: [boxjs.rewrite.surge.sgmodule](https://github.com/chavyleung/scripts/raw/master/box/rewrite/boxjs.rewrite.surge.sgmodule "🧰 BoxJs")
18 | * Stash:
19 | * ~~🆕点击一键安装: [boxjs.rewrite.stash.stoverride](http://api.boxjs.app/stash-install "🧰 BoxJs")~~ (未发布)
20 | * `覆写`链接: [boxjs.rewrite.stash.stoverride](https://github.com/chavyleung/scripts/raw/master/box/rewrite/boxjs.rewrite.stash.stoverride "🧰 BoxJs")
21 |
22 | # 订阅链接
23 | ## 🆕新版(v0.8.0+)
24 | * 方法一: 🆕点击一键订阅(推荐,安装`BoxJs`后点击导入)
25 | * 完整版: [🍿️ DualSubs](http://boxjs.com/#/sub/add/https%3A%2F%2Fgithub.com%2FDualSubs%2FBoxJs%2Fraw%2Fmain%2FDualSubs.BoxJs.json "🍿️ DualSubs")
26 | * 方法二: 复制粘贴导入(传统,安装`BoxJs`后复制导入)
27 | * 浏览器访问[BoxJs.com](http://boxjs.com),在[`订阅`](http://boxjs.com/#/sub)页面点击`+`复制粘贴添加本项目订阅链接
28 | * 完整版: [DualSubs.BoxJs.json](../../raw/main/DualSubs.BoxJs.json "🍿️ DualSubs")
29 | ## 旧版(v0.1.x~v0.7.x)
30 | * 方法一: 🆕点击一键订阅(推荐,安装`BoxJs`后点击导入)
31 | * 完整版: [🍿️ DualSubs Legacy](http://boxjs.com/#/sub/add/https%3A%2F%2Fgithub.com%2FDualSubs%2FBoxJs%2Fraw%2Fmain%2FDualSubs.Legacy.boxjs.json "🍿️ DualSubs Legacy")
32 | * 仅`YouTube`配置面板: [🍿️ DualSubs: ▶ YouTube](http://boxjs.com/#/sub/add/https%3A%2F%2Fgithub.com%2FDualSubs%2FBoxJs%2Fraw%2Fmain%2FDualSubs.YouTube.boxjs.json "🍿️ DualSubs: ▶ YouTube")
33 | * 方法二: 复制粘贴导入(传统,安装`BoxJs`后复制导入)
34 | * 浏览器访问[BoxJs.com](http://boxjs.com),在[`订阅`](http://boxjs.com/#/sub)页面点击`+`复制粘贴添加本项目订阅链接
35 | * 完整版: [DualSubs.boxjs.json](../../raw/main/DualSubs.Legacy.boxjs.json "🍿️ DualSubs")
36 | * 仅`YouTube`配置面板: [DualSubs.YouTube.boxjs.json](../../raw/main/DualSubs.YouTube.boxjs.json "🍿️ DualSubs: ▶ YouTube")
37 |
--------------------------------------------------------------------------------
/archive/DualSubs.Legacy.boxjs.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "DualSubs.Legacy.app.sub",
3 | "name": "🍿️ DualSubs Legacy",
4 | "author": "@DualSubs",
5 | "description": "流媒体平台字幕增强及双语模块",
6 | "icon": "https://avatars.githubusercontent.com/u/100578089?&v=4",
7 | "repo": "https://github.com/DualSubs",
8 | "apps": [
9 | {
10 | "id": "DualSubs.Universal",
11 | "name": "🍿️ DualSubs: 通用",
12 | "descs_html": [
13 | "请参照DualSubs的使用说明进行配置",
14 | "填写完成后别忘点击此页面底端右下角的\"保存\"。"
15 | ],
16 | "keys": [
17 | "@DualSubs.Universal.Settings",
18 | "@DualSubs.Universal.Caches"
19 | ],
20 | "settings": [
21 | {
22 | "id": "@DualSubs.Universal.Settings.Switch",
23 | "name": "功能开关",
24 | "val": true,
25 | "type": "boolean",
26 | "desc": "是否启用此平台修改功能"
27 | },
28 | {
29 | "id": "@DualSubs.Universal.Settings.Type",
30 | "name": "字幕类型(兼容)",
31 | "val": "Google",
32 | "type": "selects",
33 | "desc": "请选择要替换的字幕类型,会为不兼容的播放器替换为此字幕类型",
34 | "items": [
35 | {
36 | "key": "Official",
37 | "label": "官方"
38 | },
39 | {
40 | "key": "Google",
41 | "label": "Google Translate"
42 | },
43 | {
44 | "key": "GoogleCloud",
45 | "label": "Google Cloud Translate API"
46 | },
47 | {
48 | "key": "Azure",
49 | "label": "Microsoft Azure Translator"
50 | },
51 | {
52 | "key": "DeepL",
53 | "label": "DeepL API"
54 | },
55 | {
56 | "key": "External",
57 | "label": "外挂字幕"
58 | }
59 | ]
60 | },
61 | {
62 | "id": "@DualSubs.Universal.Settings.Language",
63 | "name": "首选语言(兼容):",
64 | "val": "ZH",
65 | "type": "selects",
66 | "desc": "选择后会将此语言添加为额外的字幕语言",
67 | "items": [
68 | {
69 | "key": "ZH",
70 | "label": "中文(自动)"
71 | },
72 | {
73 | "key": "ZH-HANS",
74 | "label": "中文(简体)"
75 | },
76 | {
77 | "key": "ZH-HK",
78 | "label": "中文(香港)"
79 | },
80 | {
81 | "key": "ZH-HANT",
82 | "label": "中文(繁体)"
83 | },
84 | {
85 | "key": "EN",
86 | "label": "英语(自动)"
87 | },
88 | {
89 | "key": "EN-US",
90 | "label": "英语(美国)"
91 | },
92 | {
93 | "key": "EN-US SDH",
94 | "label": "英语(美国)[CC]"
95 | },
96 | {
97 | "key": "ES",
98 | "label": "西班牙语(自动)"
99 | },
100 | {
101 | "key": "ES-ES",
102 | "label": "西班牙语"
103 | },
104 | {
105 | "key": "ES-ES SDH",
106 | "label": "西班牙语[CC]"
107 | },
108 | {
109 | "key": "ES-419",
110 | "label": "西班牙语(拉丁美洲)"
111 | },
112 | {
113 | "key": "ES-419 SDH",
114 | "label": "西班牙语(拉丁美洲)[CC]"
115 | },
116 | {
117 | "key": "JA",
118 | "label": "日文"
119 | },
120 | {
121 | "key": "KO",
122 | "label": "韩文"
123 | }
124 | ]
125 | },
126 | {
127 | "id": "@DualSubs.Universal.Settings.Types",
128 | "name": "字幕类型",
129 | "val": "Official",
130 | "type": "checkboxes",
131 | "desc": "请选择要添加的字幕类型,会为标准播放器添加以下字幕选项",
132 | "items": [
133 | {
134 | "key": "Official",
135 | "label": "官方"
136 | },
137 | {
138 | "key": "Google",
139 | "label": "Google Translate"
140 | },
141 | {
142 | "key": "GoogleCloud",
143 | "label": "Google Cloud Translate API"
144 | },
145 | {
146 | "key": "Azure",
147 | "label": "Microsoft Azure Translator"
148 | },
149 | {
150 | "key": "DeepL",
151 | "label": "DeepL API"
152 | },
153 | {
154 | "key": "External",
155 | "label": "外挂字幕"
156 | }
157 | ]
158 | },
159 | {
160 | "id": "@DualSubs.Universal.Settings.Languages[0]",
161 | "name": "首选语言:",
162 | "val": "ZH",
163 | "type": "selects",
164 | "items": [
165 | {
166 | "key": "ZH",
167 | "label": "中文(自动)"
168 | },
169 | {
170 | "key": "ZH-HANS",
171 | "label": "中文(简体)"
172 | },
173 | {
174 | "key": "ZH-HK",
175 | "label": "中文(香港)"
176 | },
177 | {
178 | "key": "ZH-HANT",
179 | "label": "中文(繁体)"
180 | },
181 | {
182 | "key": "EN",
183 | "label": "英语(自动)"
184 | },
185 | {
186 | "key": "EN-US",
187 | "label": "英语(美国)"
188 | },
189 | {
190 | "key": "EN-US SDH",
191 | "label": "英语(美国)[CC]"
192 | },
193 | {
194 | "key": "ES",
195 | "label": "西班牙语(自动)"
196 | },
197 | {
198 | "key": "ES-ES",
199 | "label": "西班牙语"
200 | },
201 | {
202 | "key": "ES-ES SDH",
203 | "label": "西班牙语[CC]"
204 | },
205 | {
206 | "key": "ES-419",
207 | "label": "西班牙语(拉丁美洲)"
208 | },
209 | {
210 | "key": "ES-419 SDH",
211 | "label": "西班牙语(拉丁美洲)[CC]"
212 | },
213 | {
214 | "key": "JA",
215 | "label": "日文"
216 | },
217 | {
218 | "key": "KO",
219 | "label": "韩文"
220 | }
221 | ],
222 | "desc": "选择后将为此语言添加额外字幕选项"
223 | },
224 | {
225 | "id": "@DualSubs.Universal.Settings.Languages[1]",
226 | "name": "次选语言:",
227 | "val": "EN",
228 | "type": "selects",
229 | "items": [
230 | {
231 | "key": "ZH",
232 | "label": "中文(自动)"
233 | },
234 | {
235 | "key": "ZH-HANS",
236 | "label": "中文(简体)"
237 | },
238 | {
239 | "key": "ZH-HK",
240 | "label": "中文(香港)"
241 | },
242 | {
243 | "key": "ZH-HANT",
244 | "label": "中文(繁体)"
245 | },
246 | {
247 | "key": "EN",
248 | "label": "英语(自动)"
249 | },
250 | {
251 | "key": "EN-US",
252 | "label": "英语(美国)"
253 | },
254 | {
255 | "key": "EN-US SDH",
256 | "label": "英语(美国)[CC]"
257 | },
258 | {
259 | "key": "ES",
260 | "label": "西班牙语(自动)"
261 | },
262 | {
263 | "key": "ES-ES",
264 | "label": "西班牙语"
265 | },
266 | {
267 | "key": "ES-ES SDH",
268 | "label": "西班牙语[CC]"
269 | },
270 | {
271 | "key": "ES-419",
272 | "label": "西班牙语(拉丁美洲)"
273 | },
274 | {
275 | "key": "ES-419 SDH",
276 | "label": "西班牙语(拉丁美洲)[CC]"
277 | },
278 | {
279 | "key": "JA",
280 | "label": "日文"
281 | },
282 | {
283 | "key": "KO",
284 | "label": "韩文"
285 | }
286 | ],
287 | "desc": "选择后会将此语言添加为额外的字幕语言"
288 | },
289 | {
290 | "id": "@DualSubs.Universal.Settings.External.URL",
291 | "name": "外挂字幕: URL",
292 | "val": null,
293 | "type": "text",
294 | "placeholder": "https://www.example.com/subs/123.srt",
295 | "desc": "兼容WebVTT和SRT格式字幕"
296 | },
297 | {
298 | "id": "@DualSubs.Universal.Settings.External.Offset",
299 | "name": "外挂字幕: 时间偏移量",
300 | "val": 0,
301 | "type": "number",
302 | "placeholder": "0",
303 | "desc": "单位:毫秒(ms),正负整数"
304 | },
305 | {
306 | "id": "@DualSubs.Universal.Settings.External.ShowOnly",
307 | "name": "外挂字幕: 只显示外挂字幕",
308 | "val": false,
309 | "type": "boolean",
310 | "desc": "开启后仅显示外挂字幕,不做字幕合并操作"
311 | },
312 | {
313 | "id": "@DualSubs.Universal.Settings.Position",
314 | "name": "双语字幕位置",
315 | "val": "Forward",
316 | "type": "radios",
317 | "items": [
318 | {
319 | "key": "Forward",
320 | "label": "第二行"
321 | },
322 | {
323 | "key": "Reverse",
324 | "label": "第一行"
325 | }
326 | ],
327 | "desc": "次要字幕的位置"
328 | },
329 | {
330 | "id": "@DualSubs.Universal.Settings.CacheSize",
331 | "name": "播放记录缓存数量",
332 | "val": 2,
333 | "type": "number",
334 | "placeholder": "2",
335 | "desc": "此选项决定同网关、同平台、同时处理和播放的数量如果仅供本机使用,可以设置为1,Disney+因为自身客户端缓存,建议设置为5以上,如果本机作为网关处理局域网多台设备同时观看播放,建议设置此数值不小于播放设备数"
336 | },
337 | {
338 | "id": "@DualSubs.Universal.Settings.Tolerance",
339 | "name": "时间戳公差",
340 | "val": 1000,
341 | "type": "number",
342 | "placeholder": "1000",
343 | "desc": "单位:毫秒(ms),正整数,字幕时间戳匹配时容许的误差范围"
344 | }
345 | ],
346 | "author": "@DualSubs",
347 | "repo": "https://github.com/DualSubs/DualSubs/tree/beta",
348 | "icons": [
349 | "https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/ForeignMedia.png",
350 | "https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/ForeignMedia.png"
351 | ]
352 | },
353 | {
354 | "id": "DualSubs.Verify",
355 | "name": "🍿️ DualSubs: Verify",
356 | "descs_html": [
357 | "请参照DualSubs的使用说明进行配置",
358 | "填写完成后别忘点击此页面底端右下角的\"保存\"。"
359 | ],
360 | "keys": [
361 | "@DualSubs.Verify.Settings"
362 | ],
363 | "settings": [
364 | {
365 | "id": "@DualSubs.Verify.Settings.GoogleCloud.Method",
366 | "name": "[Google Cloud] Translation API 翻译方式",
367 | "val": "Part",
368 | "type": "radios",
369 | "items": [
370 | {
371 | "key": "Part",
372 | "label": "逐段翻译"
373 | },
374 | {
375 | "key": "Row",
376 | "label": "逐句翻译"
377 | }
378 | ],
379 | "desc": "逐段翻译:每128句文本合并发送一次翻译请求,对请求次数或频率限制型API友好,且翻译时会参考上下文;逐句翻译:每句文本都发送一次翻译请求;"
380 | },
381 | {
382 | "id": "@DualSubs.Verify.Settings.GoogleCloud.Mode",
383 | "name": "[Google Cloud] Translation API 认证方式",
384 | "val": "Key",
385 | "type": "radios",
386 | "items": [
387 | {
388 | "key": "Key",
389 | "label": "密钥"
390 | },
391 | {
392 | "key": "Token",
393 | "label": "令牌"
394 | }
395 | ],
396 | "desc": "验证方式二选一"
397 | },
398 | {
399 | "id": "@DualSubs.Verify.Settings.GoogleCloud.Auth",
400 | "name": "[Google Cloud] Translation API 认证密钥",
401 | "val": "",
402 | "type": "text",
403 | "placeholder": "AIzaSyD6NNneoaqSTL2mE3_S1DNPvzrxwcFLIAY",
404 | "desc": "未提供时不会启用此类型字幕"
405 | },
406 | {
407 | "id": "@DualSubs.Verify.Settings.Azure.Method",
408 | "name": "[Microsoft Azure] Translator 翻译方式",
409 | "val": "Part",
410 | "type": "radios",
411 | "items": [
412 | {
413 | "key": "Part",
414 | "label": "逐段翻译"
415 | },
416 | {
417 | "key": "Row",
418 | "label": "逐句翻译"
419 | }
420 | ],
421 | "desc": "逐段翻译:每100句文本合并发送一次翻译请求,对请求次数或频率限制型API友好,且翻译时会参考上下文;逐句翻译:每句文本都发送一次翻译请求;"
422 | },
423 | {
424 | "id": "@DualSubs.Verify.Settings.Azure.Version",
425 | "name": "[Microsoft Azure] Translator 版本",
426 | "val": "Azure",
427 | "type": "radios",
428 | "items": [
429 | {
430 | "key": "Azure",
431 | "label": "国际版"
432 | },
433 | {
434 | "key": "AzureCN",
435 | "label": "中国版"
436 | }
437 | ],
438 | "desc": "版本二选一"
439 | },
440 | {
441 | "id": "@DualSubs.Verify.Settings.Azure.Region",
442 | "name": "[Microsoft Azure] Translator 区域代码",
443 | "val": "global",
444 | "type": "text",
445 | "placeholder": "global",
446 | "desc": "如果开通Microsoft Azure Translator时没有选择全球global,则需要填写开通的地区代码,如chinanorth, chinaeast2等"
447 | },
448 | {
449 | "id": "@DualSubs.Verify.Settings.Azure.Mode",
450 | "name": "[Microsoft Azure] Translator 认证方式",
451 | "val": "Key",
452 | "type": "radios",
453 | "items": [
454 | {
455 | "key": "Key",
456 | "label": "密钥"
457 | },
458 | {
459 | "key": "Token",
460 | "label": "令牌"
461 | }
462 | ],
463 | "desc": "验证方式二选一"
464 | },
465 | {
466 | "id": "@DualSubs.Verify.Settings.Azure.Auth",
467 | "name": "[Microsoft Azure] Translator 认证密钥",
468 | "val": "",
469 | "type": "text",
470 | "placeholder": "c3639587ac214f2e917862c80a2b821b",
471 | "desc": "未提供时不会启用此类型字幕"
472 | },
473 | {
474 | "id": "@DualSubs.Verify.Settings.DeepL.Method",
475 | "name": "[DeepL] API 翻译方式",
476 | "val": "Part",
477 | "type": "radios",
478 | "items": [
479 | {
480 | "key": "Part",
481 | "label": "逐段翻译"
482 | },
483 | {
484 | "key": "Row",
485 | "label": "逐句翻译"
486 | }
487 | ],
488 | "desc": "逐段翻译:每50句文本合并发送一次翻译请求,对请求次数或频率限制型API友好,且翻译时会参考上下文;逐句翻译:每句文本都发送一次翻译请求;"
489 | },
490 | {
491 | "id": "@DualSubs.Verify.Settings.DeepL.Version",
492 | "name": "[DeepL] API 模式",
493 | "val": "Free",
494 | "type": "radios",
495 | "items": [
496 | {
497 | "key": "Free",
498 | "label": "Free"
499 | },
500 | {
501 | "key": "Pro",
502 | "label": "Pro"
503 | }
504 | ],
505 | "desc": "模式二选一"
506 | },
507 | {
508 | "id": "@DualSubs.Verify.Settings.DeepL.Auth",
509 | "name": "[DeepL] API 认证密钥",
510 | "val": "",
511 | "type": "text",
512 | "placeholder": "df4385c2-33de-e423-4134-ca1f7b3ea8b7",
513 | "desc": "未提供时不会启用此类型字幕"
514 | }
515 | ],
516 | "author": "@DualSubs",
517 | "repo": "https://github.com/DualSubs/DualSubs/tree/main",
518 | "icons": [
519 | "https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Unlock.png",
520 | "https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Unlock.png"
521 | ]
522 | },
523 | {
524 | "id": "DualSubs.Advanced",
525 | "name": "🍿️ DualSubs: Advanced Options",
526 | "descs_html": [
527 | "请参照DualSubs的使用说明进行配置",
528 | "填写完成后别忘点击此页面底端右下角的\"保存\"。"
529 | ],
530 | "keys": [
531 | "@DualSubs.Advanced.Settings"
532 | ],
533 | "settings": [
534 | {
535 | "id": "@DualSubs.Advanced.Settings.Translator.Times",
536 | "name": "翻译器: 重试次数",
537 | "val": "3",
538 | "type": "number",
539 | "placeholder": "3",
540 | "desc": "单位:次,正整数"
541 | },
542 | {
543 | "id": "@DualSubs.Advanced.Settings.Translator.Interval",
544 | "name": "翻译器: 重试间隔时长",
545 | "val": "100",
546 | "type": "number",
547 | "placeholder": "100",
548 | "desc": "单位:毫秒(ms),正整数"
549 | },
550 | {
551 | "id": "@DualSubs.Advanced.Settings.Translator.Exponential",
552 | "name": "翻译器: 重试间隔时长递增",
553 | "val": true,
554 | "type": "boolean",
555 | "desc": "例如,第一次重试间隔时长1000ms,第二次重试间隔时长2000ms,第三次重试间隔时长4000ms,以此类推"
556 | }
557 | ],
558 | "author": "@DualSubs",
559 | "repo": "https://github.com/DualSubs/DualSubs/tree/main",
560 | "icons": [
561 | "https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Server.png",
562 | "https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Server.png"
563 | ]
564 | },
565 | {
566 | "id": "DualSubs.YouTube",
567 | "name": "🍿️ DualSubs: ▶ YouTube",
568 | "descs_html": [
569 | "请参照🍿️ DualSubs: ▶ YouTube的使用说明进行配置",
570 | "填写完成后别忘点击此页面底端右下角的\"保存\"。"
571 | ],
572 | "keys": [
573 | "@DualSubs.YouTube.Settings",
574 | "@DualSubs.YouTube.Caches"
575 | ],
576 | "settings": [
577 | {
578 | "id": "@DualSubs.YouTube.Settings.Switch",
579 | "name": "功能开关",
580 | "val": true,
581 | "type": "boolean",
582 | "desc": "是否启用此平台修改功能"
583 | },
584 | {
585 | "id": "@DualSubs.YouTube.Settings.Language",
586 | "name": "首选语言(兼容):",
587 | "val": "AUTO",
588 | "type": "selects",
589 | "desc": "选择后会将此语言添加为额外的字幕语言",
590 | "items": [
591 | {
592 | "key": "OFF",
593 | "label": "关闭"
594 | },
595 | {
596 | "key": "AUTO",
597 | "label": "自动"
598 | },
599 | {
600 | "key": "ZH",
601 | "label": "中文(自动)"
602 | },
603 | {
604 | "key": "ZH-HANS",
605 | "label": "中文(简体)"
606 | },
607 | {
608 | "key": "ZH-HK",
609 | "label": "中文(香港)"
610 | },
611 | {
612 | "key": "ZH-HANT",
613 | "label": "中文(繁体)"
614 | },
615 | {
616 | "key": "EN",
617 | "label": "英语(自动)"
618 | },
619 | {
620 | "key": "EN-US",
621 | "label": "英语(美国)"
622 | },
623 | {
624 | "key": "EN-US SDH",
625 | "label": "英语(美国)[CC]"
626 | },
627 | {
628 | "key": "ES",
629 | "label": "西班牙语(自动)"
630 | },
631 | {
632 | "key": "ES-ES",
633 | "label": "西班牙语"
634 | },
635 | {
636 | "key": "ES-ES SDH",
637 | "label": "西班牙语[CC]"
638 | },
639 | {
640 | "key": "ES-419",
641 | "label": "西班牙语(拉丁美洲)"
642 | },
643 | {
644 | "key": "ES-419 SDH",
645 | "label": "西班牙语(拉丁美洲)[CC]"
646 | },
647 | {
648 | "key": "JA",
649 | "label": "日文"
650 | },
651 | {
652 | "key": "KO",
653 | "label": "韩文"
654 | }
655 | ]
656 | },
657 | {
658 | "id": "@DualSubs.YouTube.Settings.Type",
659 | "name": "字幕类型(兼容)",
660 | "val": "Google",
661 | "type": "selects",
662 | "desc": "请选择要替换的字幕类型,会为不兼容的播放器替换为此字幕类型",
663 | "items": [
664 | {
665 | "key": "Official",
666 | "label": "官方"
667 | }
668 | ]
669 | },
670 | {
671 | "id": "@DualSubs.YouTube.Settings.Translate.ShowOnly",
672 | "name": "翻译字幕: 只显示翻译字幕",
673 | "val": false,
674 | "type": "boolean",
675 | "desc": "开启后仅显示翻译字幕,不做字幕合并操作"
676 | },
677 | {
678 | "id": "@DualSubs.YouTube.Settings.Position",
679 | "name": "双语字幕位置",
680 | "val": "Forward",
681 | "type": "radios",
682 | "items": [
683 | {
684 | "key": "Forward",
685 | "label": "第二行"
686 | },
687 | {
688 | "key": "Reverse",
689 | "label": "第一行"
690 | }
691 | ],
692 | "desc": "首选语言所在的行数"
693 | }
694 | ],
695 | "author": "@DualSubs",
696 | "repo": "https://github.com/DualSubs/DualSubs/tree/main",
697 | "icons": [
698 | "https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/YouTube.png",
699 | "https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/YouTube.png"
700 | ]
701 | },
702 | {
703 | "id": "DualSubs.Apple_TV",
704 | "name": "🍿️ DualSubs: Apple TV",
705 | "descs_html": [
706 | "请参照DualSubs的使用说明进行配置",
707 | "填写完成后别忘点击此页面底端右下角的\"保存\"。"
708 | ],
709 | "keys": [
710 | "@DualSubs.Apple_TV.Settings",
711 | "@DualSubs.Apple.Caches"
712 | ],
713 | "settings": [
714 | {
715 | "id": "@DualSubs.Apple_TV.Settings.Switch",
716 | "name": "功能开关",
717 | "val": true,
718 | "type": "boolean",
719 | "desc": "是否启用此平台修改功能"
720 | },
721 | {
722 | "id": "@DualSubs.Apple_TV.Settings.Types",
723 | "name": "字幕类型",
724 | "val": "Official",
725 | "type": "checkboxes",
726 | "desc": "请选择要添加的字幕类型,会为标准播放器添加以下字幕选项",
727 | "items": [
728 | {
729 | "key": "Official",
730 | "label": "官方"
731 | },
732 | {
733 | "key": "Google",
734 | "label": "Google Translate"
735 | },
736 | {
737 | "key": "GoogleCloud",
738 | "label": "Google Cloud Translate API"
739 | },
740 | {
741 | "key": "Azure",
742 | "label": "Microsoft Azure Translator"
743 | },
744 | {
745 | "key": "DeepL",
746 | "label": "DeepL API"
747 | },
748 | {
749 | "key": "External",
750 | "label": "外挂字幕"
751 | }
752 | ]
753 | },
754 | {
755 | "id": "@DualSubs.Apple_TV.Settings.Languages[0]",
756 | "name": "首选语言:",
757 | "val": "ZH",
758 | "type": "selects",
759 | "items": [
760 | {
761 | "key": "ZH",
762 | "label": "中文(自动)"
763 | },
764 | {
765 | "key": "ZH-HANS",
766 | "label": "中文(简体)"
767 | },
768 | {
769 | "key": "ZH-HK",
770 | "label": "中文(香港)"
771 | },
772 | {
773 | "key": "ZH-HANT",
774 | "label": "中文(繁体)"
775 | },
776 | {
777 | "key": "EN",
778 | "label": "英语(自动)"
779 | },
780 | {
781 | "key": "EN-US",
782 | "label": "英语(美国)"
783 | },
784 | {
785 | "key": "EN-US SDH",
786 | "label": "英语(美国)[CC]"
787 | },
788 | {
789 | "key": "ES",
790 | "label": "西班牙语(自动)"
791 | },
792 | {
793 | "key": "ES-ES",
794 | "label": "西班牙语"
795 | },
796 | {
797 | "key": "ES-ES SDH",
798 | "label": "西班牙语[CC]"
799 | },
800 | {
801 | "key": "ES-419",
802 | "label": "西班牙语(拉丁美洲)"
803 | },
804 | {
805 | "key": "ES-419 SDH",
806 | "label": "西班牙语(拉丁美洲)[CC]"
807 | },
808 | {
809 | "key": "JA",
810 | "label": "日文"
811 | },
812 | {
813 | "key": "KO",
814 | "label": "韩文"
815 | }
816 | ],
817 | "desc": "选择后将为此语言添加额外字幕选项"
818 | },
819 | {
820 | "id": "@DualSubs.Apple_TV.Settings.Languages[1]",
821 | "name": "次选语言:",
822 | "val": "EN",
823 | "type": "selects",
824 | "items": [
825 | {
826 | "key": "ZH",
827 | "label": "中文(自动)"
828 | },
829 | {
830 | "key": "ZH-HANS",
831 | "label": "中文(简体)"
832 | },
833 | {
834 | "key": "ZH-HK",
835 | "label": "中文(香港)"
836 | },
837 | {
838 | "key": "ZH-HANT",
839 | "label": "中文(繁体)"
840 | },
841 | {
842 | "key": "EN",
843 | "label": "英语(自动)"
844 | },
845 | {
846 | "key": "EN-US",
847 | "label": "英语(美国)"
848 | },
849 | {
850 | "key": "EN-US SDH",
851 | "label": "英语(美国)[CC]"
852 | },
853 | {
854 | "key": "ES",
855 | "label": "西班牙语(自动)"
856 | },
857 | {
858 | "key": "ES-ES",
859 | "label": "西班牙语"
860 | },
861 | {
862 | "key": "ES-ES SDH",
863 | "label": "西班牙语[CC]"
864 | },
865 | {
866 | "key": "ES-419",
867 | "label": "西班牙语(拉丁美洲)"
868 | },
869 | {
870 | "key": "ES-419 SDH",
871 | "label": "西班牙语(拉丁美洲)[CC]"
872 | },
873 | {
874 | "key": "JA",
875 | "label": "日文"
876 | },
877 | {
878 | "key": "KO",
879 | "label": "韩文"
880 | }
881 | ],
882 | "desc": "选择后会将此语言添加为额外的字幕语言"
883 | },
884 | {
885 | "id": "@DualSubs.Apple_TV.Settings.External.URL",
886 | "name": "外挂字幕: URL",
887 | "val": null,
888 | "type": "text",
889 | "placeholder": "https://www.example.com/subs/123.srt",
890 | "desc": "兼容WebVTT和SRT格式字幕"
891 | },
892 | {
893 | "id": "@DualSubs.Apple_TV.Settings.External.Offset",
894 | "name": "外挂字幕: 时间偏移量",
895 | "val": 0,
896 | "type": "number",
897 | "placeholder": "0",
898 | "desc": "单位:毫秒(ms),正负整数"
899 | },
900 | {
901 | "id": "@DualSubs.Apple_TV.Settings.External.ShowOnly",
902 | "name": "外挂字幕: 只显示外挂字幕",
903 | "val": false,
904 | "type": "boolean",
905 | "desc": "开启后仅显示外挂字幕,不做字幕合并操作"
906 | },
907 | {
908 | "id": "@DualSubs.Apple_TV.Settings.Position",
909 | "name": "双语字幕位置",
910 | "val": "Forward",
911 | "type": "radios",
912 | "items": [
913 | {
914 | "key": "Forward",
915 | "label": "第二行"
916 | },
917 | {
918 | "key": "Reverse",
919 | "label": "第一行"
920 | }
921 | ],
922 | "desc": "次要字幕的位置"
923 | },
924 | {
925 | "id": "@DualSubs.Apple_TV.Settings.CacheSize",
926 | "name": "播放记录缓存数量",
927 | "val": 2,
928 | "type": "number",
929 | "placeholder": "2",
930 | "desc": "此选项决定同网关、同平台、同时处理和播放的数量如果仅供本机使用,可以设置为1,Disney+因为自身客户端缓存,建议设置为5以上,如果本机作为网关处理局域网多台设备同时观看播放,建议设置此数值不小于播放设备数"
931 | },
932 | {
933 | "id": "@DualSubs.Apple_TV.Settings.Tolerance",
934 | "name": "时间戳公差",
935 | "val": 1000,
936 | "type": "number",
937 | "placeholder": "1000",
938 | "desc": "单位:毫秒(ms),正整数,字幕时间戳匹配时容许的误差范围"
939 | }
940 | ],
941 | "author": "@DualSubs",
942 | "repo": "https://github.com/DualSubs/DualSubs/tree/main",
943 | "icons": [
944 | "https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Apple_TV.png",
945 | "https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Apple_TV.png"
946 | ]
947 | },
948 | {
949 | "id": "DualSubs.Apple_TV_Plus",
950 | "name": "🍿️ DualSubs: Apple TV+",
951 | "descs_html": [
952 | "请参照DualSubs的使用说明进行配置",
953 | "填写完成后别忘点击此页面底端右下角的\"保存\"。"
954 | ],
955 | "keys": [
956 | "@DualSubs.Apple_TV_Plus.Settings",
957 | "@DualSubs.Apple.Caches"
958 | ],
959 | "settings": [
960 | {
961 | "id": "@DualSubs.Apple_TV_Plus.Settings.Switch",
962 | "name": "功能开关",
963 | "val": true,
964 | "type": "boolean",
965 | "desc": "是否启用此平台修改功能"
966 | },
967 | {
968 | "id": "@DualSubs.Apple_TV_Plus.Settings.Types",
969 | "name": "字幕类型",
970 | "val": "Official",
971 | "type": "checkboxes",
972 | "desc": "请选择要添加的字幕类型,会为标准播放器添加以下字幕选项",
973 | "items": [
974 | {
975 | "key": "Official",
976 | "label": "官方"
977 | },
978 | {
979 | "key": "Google",
980 | "label": "Google Translate"
981 | },
982 | {
983 | "key": "GoogleCloud",
984 | "label": "Google Cloud Translate API"
985 | },
986 | {
987 | "key": "Azure",
988 | "label": "Microsoft Azure Translator"
989 | },
990 | {
991 | "key": "DeepL",
992 | "label": "DeepL API"
993 | },
994 | {
995 | "key": "External",
996 | "label": "外挂字幕"
997 | }
998 | ]
999 | },
1000 | {
1001 | "id": "@DualSubs.Apple_TV_Plus.Settings.Languages[0]",
1002 | "name": "首选语言:",
1003 | "val": "ZH",
1004 | "type": "selects",
1005 | "items": [
1006 | {
1007 | "key": "ZH",
1008 | "label": "中文(自动)"
1009 | },
1010 | {
1011 | "key": "ZH-HANS",
1012 | "label": "中文(简体)"
1013 | },
1014 | {
1015 | "key": "ZH-HK",
1016 | "label": "中文(香港)"
1017 | },
1018 | {
1019 | "key": "ZH-HANT",
1020 | "label": "中文(繁体)"
1021 | },
1022 | {
1023 | "key": "EN",
1024 | "label": "英语(自动)"
1025 | },
1026 | {
1027 | "key": "EN-US",
1028 | "label": "英语(美国)"
1029 | },
1030 | {
1031 | "key": "EN-US SDH",
1032 | "label": "英语(美国)[CC]"
1033 | },
1034 | {
1035 | "key": "ES",
1036 | "label": "西班牙语(自动)"
1037 | },
1038 | {
1039 | "key": "ES-ES",
1040 | "label": "西班牙语"
1041 | },
1042 | {
1043 | "key": "ES-ES SDH",
1044 | "label": "西班牙语[CC]"
1045 | },
1046 | {
1047 | "key": "ES-419",
1048 | "label": "西班牙语(拉丁美洲)"
1049 | },
1050 | {
1051 | "key": "ES-419 SDH",
1052 | "label": "西班牙语(拉丁美洲)[CC]"
1053 | },
1054 | {
1055 | "key": "JA",
1056 | "label": "日文"
1057 | },
1058 | {
1059 | "key": "KO",
1060 | "label": "韩文"
1061 | }
1062 | ],
1063 | "desc": "选择后将为此语言添加额外字幕选项"
1064 | },
1065 | {
1066 | "id": "@DualSubs.Apple_TV_Plus.Settings.Languages[1]",
1067 | "name": "次选语言:",
1068 | "val": "EN",
1069 | "type": "selects",
1070 | "items": [
1071 | {
1072 | "key": "ZH",
1073 | "label": "中文(自动)"
1074 | },
1075 | {
1076 | "key": "ZH-HANS",
1077 | "label": "中文(简体)"
1078 | },
1079 | {
1080 | "key": "ZH-HK",
1081 | "label": "中文(香港)"
1082 | },
1083 | {
1084 | "key": "ZH-HANT",
1085 | "label": "中文(繁体)"
1086 | },
1087 | {
1088 | "key": "EN",
1089 | "label": "英语(自动)"
1090 | },
1091 | {
1092 | "key": "EN-US",
1093 | "label": "英语(美国)"
1094 | },
1095 | {
1096 | "key": "EN-US SDH",
1097 | "label": "英语(美国)[CC]"
1098 | },
1099 | {
1100 | "key": "ES",
1101 | "label": "西班牙语(自动)"
1102 | },
1103 | {
1104 | "key": "ES-ES",
1105 | "label": "西班牙语"
1106 | },
1107 | {
1108 | "key": "ES-ES SDH",
1109 | "label": "西班牙语[CC]"
1110 | },
1111 | {
1112 | "key": "ES-419",
1113 | "label": "西班牙语(拉丁美洲)"
1114 | },
1115 | {
1116 | "key": "ES-419 SDH",
1117 | "label": "西班牙语(拉丁美洲)[CC]"
1118 | },
1119 | {
1120 | "key": "JA",
1121 | "label": "日文"
1122 | },
1123 | {
1124 | "key": "KO",
1125 | "label": "韩文"
1126 | }
1127 | ],
1128 | "desc": "选择后会将此语言添加为额外的字幕语言"
1129 | },
1130 | {
1131 | "id": "@DualSubs.Apple_TV_Plus.Settings.External.URL",
1132 | "name": "外挂字幕: URL",
1133 | "val": null,
1134 | "type": "text",
1135 | "placeholder": "https://www.example.com/subs/123.srt",
1136 | "desc": "兼容WebVTT和SRT格式字幕"
1137 | },
1138 | {
1139 | "id": "@DualSubs.Apple_TV_Plus.Settings.External.Offset",
1140 | "name": "外挂字幕: 时间偏移量",
1141 | "val": 0,
1142 | "type": "number",
1143 | "placeholder": "0",
1144 | "desc": "单位:毫秒(ms),正负整数"
1145 | },
1146 | {
1147 | "id": "@DualSubs.Apple_TV_Plus.Settings.External.ShowOnly",
1148 | "name": "外挂字幕: 只显示外挂字幕",
1149 | "val": false,
1150 | "type": "boolean",
1151 | "desc": "开启后仅显示外挂字幕,不做字幕合并操作"
1152 | },
1153 | {
1154 | "id": "@DualSubs.Apple_TV_Plus.Settings.Position",
1155 | "name": "双语字幕位置",
1156 | "val": "Forward",
1157 | "type": "radios",
1158 | "items": [
1159 | {
1160 | "key": "Forward",
1161 | "label": "第二行"
1162 | },
1163 | {
1164 | "key": "Reverse",
1165 | "label": "第一行"
1166 | }
1167 | ],
1168 | "desc": "次要字幕的位置"
1169 | },
1170 | {
1171 | "id": "@DualSubs.Apple_TV_Plus.Settings.CacheSize",
1172 | "name": "播放记录缓存数量",
1173 | "val": 2,
1174 | "type": "number",
1175 | "placeholder": "2",
1176 | "desc": "此选项决定同网关、同平台、同时处理和播放的数量如果仅供本机使用,可以设置为1,Disney+因为自身客户端缓存,建议设置为5以上,如果本机作为网关处理局域网多台设备同时观看播放,建议设置此数值不小于播放设备数"
1177 | },
1178 | {
1179 | "id": "@DualSubs.Apple_TV_Plus.Settings.Tolerance",
1180 | "name": "时间戳公差",
1181 | "val": 1000,
1182 | "type": "number",
1183 | "placeholder": "1000",
1184 | "desc": "单位:毫秒(ms),正整数,字幕时间戳匹配时容许的误差范围"
1185 | }
1186 | ],
1187 | "author": "@DualSubs",
1188 | "repo": "https://github.com/DualSubs/DualSubs/tree/main",
1189 | "icons": [
1190 | "https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Apple_TV_Plus.png",
1191 | "https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Apple_TV_Plus.png"
1192 | ]
1193 | },
1194 | {
1195 | "id": "DualSubs.Apple_Fitness",
1196 | "name": "🍿️ DualSubs: Apple Fitness",
1197 | "descs_html": [
1198 | "请参照DualSubs的使用说明进行配置",
1199 | "填写完成后别忘点击此页面底端右下角的\"保存\"。"
1200 | ],
1201 | "keys": [
1202 | "@DualSubs.Apple_Fitness.Settings",
1203 | "@DualSubs.Apple.Caches"
1204 | ],
1205 | "settings": [
1206 | {
1207 | "id": "@DualSubs.Apple_Fitness.Settings.Switch",
1208 | "name": "功能开关",
1209 | "val": true,
1210 | "type": "boolean",
1211 | "desc": "是否启用此平台修改功能"
1212 | },
1213 | {
1214 | "id": "@DualSubs.Apple_Fitness.Settings.Types",
1215 | "name": "字幕类型",
1216 | "val": "Official,Google",
1217 | "type": "checkboxes",
1218 | "desc": "请选择要添加的字幕类型,会为标准播放器添加以下字幕选项",
1219 | "items": [
1220 | {
1221 | "key": "Official",
1222 | "label": "官方"
1223 | },
1224 | {
1225 | "key": "Google",
1226 | "label": "Google Translate"
1227 | },
1228 | {
1229 | "key": "GoogleCloud",
1230 | "label": "Google Cloud Translate API"
1231 | },
1232 | {
1233 | "key": "Azure",
1234 | "label": "Microsoft Azure Translator"
1235 | },
1236 | {
1237 | "key": "DeepL",
1238 | "label": "DeepL API"
1239 | },
1240 | {
1241 | "key": "External",
1242 | "label": "外挂字幕"
1243 | }
1244 | ]
1245 | },
1246 | {
1247 | "id": "@DualSubs.Apple_Fitness.Settings.Languages[0]",
1248 | "name": "首选语言:",
1249 | "val": "ZH",
1250 | "type": "selects",
1251 | "items": [
1252 | {
1253 | "key": "ZH",
1254 | "label": "中文(自动)"
1255 | },
1256 | {
1257 | "key": "ZH-HANS",
1258 | "label": "中文(简体)"
1259 | },
1260 | {
1261 | "key": "ZH-HK",
1262 | "label": "中文(香港)"
1263 | },
1264 | {
1265 | "key": "ZH-HANT",
1266 | "label": "中文(繁体)"
1267 | },
1268 | {
1269 | "key": "EN",
1270 | "label": "英语(自动)"
1271 | },
1272 | {
1273 | "key": "EN-US",
1274 | "label": "英语(美国)"
1275 | },
1276 | {
1277 | "key": "EN-US SDH",
1278 | "label": "英语(美国)[CC]"
1279 | },
1280 | {
1281 | "key": "ES",
1282 | "label": "西班牙语(自动)"
1283 | },
1284 | {
1285 | "key": "ES-ES",
1286 | "label": "西班牙语"
1287 | },
1288 | {
1289 | "key": "ES-ES SDH",
1290 | "label": "西班牙语[CC]"
1291 | },
1292 | {
1293 | "key": "ES-419",
1294 | "label": "西班牙语(拉丁美洲)"
1295 | },
1296 | {
1297 | "key": "ES-419 SDH",
1298 | "label": "西班牙语(拉丁美洲)[CC]"
1299 | },
1300 | {
1301 | "key": "JA",
1302 | "label": "日文"
1303 | },
1304 | {
1305 | "key": "KO",
1306 | "label": "韩文"
1307 | }
1308 | ],
1309 | "desc": "选择后将为此语言添加额外字幕选项"
1310 | },
1311 | {
1312 | "id": "@DualSubs.Apple_Fitness.Settings.Languages[1]",
1313 | "name": "次选语言:",
1314 | "val": "EN",
1315 | "type": "selects",
1316 | "items": [
1317 | {
1318 | "key": "ZH",
1319 | "label": "中文(自动)"
1320 | },
1321 | {
1322 | "key": "ZH-HANS",
1323 | "label": "中文(简体)"
1324 | },
1325 | {
1326 | "key": "ZH-HK",
1327 | "label": "中文(香港)"
1328 | },
1329 | {
1330 | "key": "ZH-HANT",
1331 | "label": "中文(繁体)"
1332 | },
1333 | {
1334 | "key": "EN",
1335 | "label": "英语(自动)"
1336 | },
1337 | {
1338 | "key": "EN-US",
1339 | "label": "英语(美国)"
1340 | },
1341 | {
1342 | "key": "EN-US SDH",
1343 | "label": "英语(美国)[CC]"
1344 | },
1345 | {
1346 | "key": "ES",
1347 | "label": "西班牙语(自动)"
1348 | },
1349 | {
1350 | "key": "ES-ES",
1351 | "label": "西班牙语"
1352 | },
1353 | {
1354 | "key": "ES-ES SDH",
1355 | "label": "西班牙语[CC]"
1356 | },
1357 | {
1358 | "key": "ES-419",
1359 | "label": "西班牙语(拉丁美洲)"
1360 | },
1361 | {
1362 | "key": "ES-419 SDH",
1363 | "label": "西班牙语(拉丁美洲)[CC]"
1364 | },
1365 | {
1366 | "key": "JA",
1367 | "label": "日文"
1368 | },
1369 | {
1370 | "key": "KO",
1371 | "label": "韩文"
1372 | }
1373 | ],
1374 | "desc": "选择后会将此语言添加为额外的字幕语言"
1375 | },
1376 | {
1377 | "id": "@DualSubs.Apple_Fitness.Settings.External.URL",
1378 | "name": "外挂字幕: URL",
1379 | "val": null,
1380 | "type": "text",
1381 | "placeholder": "https://www.example.com/subs/123.srt",
1382 | "desc": "兼容WebVTT和SRT格式字幕"
1383 | },
1384 | {
1385 | "id": "@DualSubs.Apple_Fitness.Settings.External.Offset",
1386 | "name": "外挂字幕: 时间偏移量",
1387 | "val": 0,
1388 | "type": "number",
1389 | "placeholder": "0",
1390 | "desc": "单位:毫秒(ms),正负整数"
1391 | },
1392 | {
1393 | "id": "@DualSubs.Apple_Fitness.Settings.External.ShowOnly",
1394 | "name": "外挂字幕: 只显示外挂字幕",
1395 | "val": false,
1396 | "type": "boolean",
1397 | "desc": "开启后仅显示外挂字幕,不做字幕合并操作"
1398 | },
1399 | {
1400 | "id": "@DualSubs.Apple_Fitness.Settings.Position",
1401 | "name": "双语字幕位置",
1402 | "val": "Forward",
1403 | "type": "radios",
1404 | "items": [
1405 | {
1406 | "key": "Forward",
1407 | "label": "第二行"
1408 | },
1409 | {
1410 | "key": "Reverse",
1411 | "label": "第一行"
1412 | }
1413 | ],
1414 | "desc": "次要字幕的位置"
1415 | },
1416 | {
1417 | "id": "@DualSubs.Apple_Fitness.Settings.CacheSize",
1418 | "name": "播放记录缓存数量",
1419 | "val": 2,
1420 | "type": "number",
1421 | "placeholder": "2",
1422 | "desc": "此选项决定同网关、同平台、同时处理和播放的数量如果仅供本机使用,可以设置为1,Disney+因为自身客户端缓存,建议设置为5以上,如果本机作为网关处理局域网多台设备同时观看播放,建议设置此数值不小于播放设备数"
1423 | },
1424 | {
1425 | "id": "@DualSubs.Apple_Fitness.Settings.Tolerance",
1426 | "name": "时间戳公差",
1427 | "val": 1000,
1428 | "type": "number",
1429 | "placeholder": "1000",
1430 | "desc": "单位:毫秒(ms),正整数,字幕时间戳匹配时容许的误差范围"
1431 | }
1432 | ],
1433 | "author": "@DualSubs",
1434 | "repo": "https://github.com/DualSubs/DualSubs/tree/main",
1435 | "icons": [
1436 | "https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Apple_Fitness.png",
1437 | "https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Apple_Fitness.png"
1438 | ]
1439 | },
1440 | {
1441 | "id": "DualSubs.Disney_Plus",
1442 | "name": "🍿️ DualSubs: Disney+",
1443 | "descs_html": [
1444 | "请参照DualSubs的使用说明进行配置",
1445 | "填写完成后别忘点击此页面底端右下角的\"保存\"。"
1446 | ],
1447 | "keys": [
1448 | "@DualSubs.Disney_Plus.Settings",
1449 | "@DualSubs.Disney_Plus.Caches"
1450 | ],
1451 | "settings": [
1452 | {
1453 | "id": "@DualSubs.Disney_Plus.Settings.Switch",
1454 | "name": "功能开关",
1455 | "val": true,
1456 | "type": "boolean",
1457 | "desc": "是否启用此平台修改功能"
1458 | },
1459 | {
1460 | "id": "@DualSubs.Disney_Plus.Settings.Types",
1461 | "name": "字幕类型",
1462 | "val": "Official",
1463 | "type": "checkboxes",
1464 | "desc": "请选择要添加的字幕类型,会为标准播放器添加以下字幕选项",
1465 | "items": [
1466 | {
1467 | "key": "Official",
1468 | "label": "官方"
1469 | },
1470 | {
1471 | "key": "Google",
1472 | "label": "Google Translate"
1473 | },
1474 | {
1475 | "key": "GoogleCloud",
1476 | "label": "Google Cloud Translate API"
1477 | },
1478 | {
1479 | "key": "Azure",
1480 | "label": "Microsoft Azure Translator"
1481 | },
1482 | {
1483 | "key": "DeepL",
1484 | "label": "DeepL API"
1485 | },
1486 | {
1487 | "key": "External",
1488 | "label": "外挂字幕"
1489 | }
1490 | ]
1491 | },
1492 | {
1493 | "id": "@DualSubs.Disney_Plus.Settings.Languages[0]",
1494 | "name": "首选语言:",
1495 | "val": "ZH",
1496 | "type": "selects",
1497 | "items": [
1498 | {
1499 | "key": "ZH",
1500 | "label": "中文(自动)"
1501 | },
1502 | {
1503 | "key": "ZH-HANS",
1504 | "label": "中文(简体)"
1505 | },
1506 | {
1507 | "key": "ZH-HK",
1508 | "label": "中文(香港)"
1509 | },
1510 | {
1511 | "key": "ZH-HANT",
1512 | "label": "中文(繁体)"
1513 | },
1514 | {
1515 | "key": "EN",
1516 | "label": "英语(自动)"
1517 | },
1518 | {
1519 | "key": "EN-US",
1520 | "label": "英语(美国)"
1521 | },
1522 | {
1523 | "key": "EN-US SDH",
1524 | "label": "英语(美国)[CC]"
1525 | },
1526 | {
1527 | "key": "ES",
1528 | "label": "西班牙语(自动)"
1529 | },
1530 | {
1531 | "key": "ES-ES",
1532 | "label": "西班牙语"
1533 | },
1534 | {
1535 | "key": "ES-ES SDH",
1536 | "label": "西班牙语[CC]"
1537 | },
1538 | {
1539 | "key": "ES-419",
1540 | "label": "西班牙语(拉丁美洲)"
1541 | },
1542 | {
1543 | "key": "ES-419 SDH",
1544 | "label": "西班牙语(拉丁美洲)[CC]"
1545 | },
1546 | {
1547 | "key": "JA",
1548 | "label": "日文"
1549 | },
1550 | {
1551 | "key": "KO",
1552 | "label": "韩文"
1553 | }
1554 | ],
1555 | "desc": "选择后将为此语言添加额外字幕选项"
1556 | },
1557 | {
1558 | "id": "@DualSubs.Disney_Plus.Settings.Languages[1]",
1559 | "name": "次选语言:",
1560 | "val": "EN",
1561 | "type": "selects",
1562 | "items": [
1563 | {
1564 | "key": "ZH",
1565 | "label": "中文(自动)"
1566 | },
1567 | {
1568 | "key": "ZH-HANS",
1569 | "label": "中文(简体)"
1570 | },
1571 | {
1572 | "key": "ZH-HK",
1573 | "label": "中文(香港)"
1574 | },
1575 | {
1576 | "key": "ZH-HANT",
1577 | "label": "中文(繁体)"
1578 | },
1579 | {
1580 | "key": "EN",
1581 | "label": "英语(自动)"
1582 | },
1583 | {
1584 | "key": "EN-US",
1585 | "label": "英语(美国)"
1586 | },
1587 | {
1588 | "key": "EN-US SDH",
1589 | "label": "英语(美国)[CC]"
1590 | },
1591 | {
1592 | "key": "ES",
1593 | "label": "西班牙语(自动)"
1594 | },
1595 | {
1596 | "key": "ES-ES",
1597 | "label": "西班牙语"
1598 | },
1599 | {
1600 | "key": "ES-ES SDH",
1601 | "label": "西班牙语[CC]"
1602 | },
1603 | {
1604 | "key": "ES-419",
1605 | "label": "西班牙语(拉丁美洲)"
1606 | },
1607 | {
1608 | "key": "ES-419 SDH",
1609 | "label": "西班牙语(拉丁美洲)[CC]"
1610 | },
1611 | {
1612 | "key": "JA",
1613 | "label": "日文"
1614 | },
1615 | {
1616 | "key": "KO",
1617 | "label": "韩文"
1618 | }
1619 | ],
1620 | "desc": "选择后会将此语言添加为额外的字幕语言"
1621 | },
1622 | {
1623 | "id": "@DualSubs.Disney_Plus.Settings.External.URL",
1624 | "name": "外挂字幕: URL",
1625 | "val": null,
1626 | "type": "text",
1627 | "placeholder": "https://www.example.com/subs/123.srt",
1628 | "desc": "兼容WebVTT和SRT格式字幕"
1629 | },
1630 | {
1631 | "id": "@DualSubs.Disney_Plus.Settings.External.Offset",
1632 | "name": "外挂字幕: 时间偏移量",
1633 | "val": 0,
1634 | "type": "number",
1635 | "placeholder": "0",
1636 | "desc": "单位:毫秒(ms),正负整数"
1637 | },
1638 | {
1639 | "id": "@DualSubs.Disney_Plus.Settings.External.ShowOnly",
1640 | "name": "外挂字幕: 只显示外挂字幕",
1641 | "val": false,
1642 | "type": "boolean",
1643 | "desc": "开启后仅显示外挂字幕,不做字幕合并操作"
1644 | },
1645 | {
1646 | "id": "@DualSubs.Disney_Plus.Settings.Position",
1647 | "name": "双语字幕位置",
1648 | "val": "Forward",
1649 | "type": "radios",
1650 | "items": [
1651 | {
1652 | "key": "Forward",
1653 | "label": "第二行"
1654 | },
1655 | {
1656 | "key": "Reverse",
1657 | "label": "第一行"
1658 | }
1659 | ],
1660 | "desc": "次要字幕的位置"
1661 | },
1662 | {
1663 | "id": "@DualSubs.Disney_Plus.Settings.CacheSize",
1664 | "name": "播放记录缓存数量",
1665 | "val": 5,
1666 | "type": "number",
1667 | "placeholder": "5",
1668 | "desc": "此选项决定同网关、同平台、同时处理和播放的数量如果仅供本机使用,可以设置为1,Disney+因为自身客户端缓存,建议设置为5以上,如果本机作为网关处理局域网多台设备同时观看播放,建议设置此数值不小于播放设备数"
1669 | },
1670 | {
1671 | "id": "@DualSubs.Disney_Plus.Settings.Tolerance",
1672 | "name": "时间戳公差",
1673 | "val": 1000,
1674 | "type": "number",
1675 | "placeholder": "1000",
1676 | "desc": "单位:毫秒(ms),正整数,字幕时间戳匹配时容许的误差范围"
1677 | }
1678 | ],
1679 | "author": "@DualSubs",
1680 | "repo": "https://github.com/DualSubs/DualSubs/tree/main",
1681 | "icons": [
1682 | "https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Disney+.png",
1683 | "https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Disney+.png"
1684 | ]
1685 | },
1686 | {
1687 | "id": "DualSubs.Prime_Video",
1688 | "name": "🍿️ DualSubs: Prime Video",
1689 | "descs_html": [
1690 | "请参照DualSubs的使用说明进行配置",
1691 | "填写完成后别忘点击此页面底端右下角的\"保存\"。"
1692 | ],
1693 | "keys": [
1694 | "@DualSubs.Prime_Video.Settings",
1695 | "@DualSubs.Prime_Video.Caches"
1696 | ],
1697 | "settings": [
1698 | {
1699 | "id": "@DualSubs.Prime_Video.Settings.Switch",
1700 | "name": "功能开关",
1701 | "val": true,
1702 | "type": "boolean",
1703 | "desc": "是否启用此平台修改功能"
1704 | },
1705 | {
1706 | "id": "@DualSubs.Prime_Video.Settings.Types",
1707 | "name": "字幕类型",
1708 | "val": "Official,Google",
1709 | "type": "checkboxes",
1710 | "desc": "请选择要添加的字幕类型,会为标准播放器添加以下字幕选项",
1711 | "items": [
1712 | {
1713 | "key": "Official",
1714 | "label": "官方"
1715 | },
1716 | {
1717 | "key": "Google",
1718 | "label": "Google Translate"
1719 | },
1720 | {
1721 | "key": "GoogleCloud",
1722 | "label": "Google Cloud Translate API"
1723 | },
1724 | {
1725 | "key": "Azure",
1726 | "label": "Microsoft Azure Translator"
1727 | },
1728 | {
1729 | "key": "DeepL",
1730 | "label": "DeepL API"
1731 | },
1732 | {
1733 | "key": "External",
1734 | "label": "外挂字幕"
1735 | }
1736 | ]
1737 | },
1738 | {
1739 | "id": "@DualSubs.Prime_Video.Settings.Languages[0]",
1740 | "name": "首选语言:",
1741 | "val": "ZH",
1742 | "type": "selects",
1743 | "items": [
1744 | {
1745 | "key": "ZH",
1746 | "label": "中文(自动)"
1747 | },
1748 | {
1749 | "key": "ZH-HANS",
1750 | "label": "中文(简体)"
1751 | },
1752 | {
1753 | "key": "ZH-HK",
1754 | "label": "中文(香港)"
1755 | },
1756 | {
1757 | "key": "ZH-HANT",
1758 | "label": "中文(繁体)"
1759 | },
1760 | {
1761 | "key": "EN",
1762 | "label": "英语(自动)"
1763 | },
1764 | {
1765 | "key": "EN-US",
1766 | "label": "英语(美国)"
1767 | },
1768 | {
1769 | "key": "EN-US SDH",
1770 | "label": "英语(美国)[CC]"
1771 | },
1772 | {
1773 | "key": "ES",
1774 | "label": "西班牙语(自动)"
1775 | },
1776 | {
1777 | "key": "ES-ES",
1778 | "label": "西班牙语"
1779 | },
1780 | {
1781 | "key": "ES-ES SDH",
1782 | "label": "西班牙语[CC]"
1783 | },
1784 | {
1785 | "key": "ES-419",
1786 | "label": "西班牙语(拉丁美洲)"
1787 | },
1788 | {
1789 | "key": "ES-419 SDH",
1790 | "label": "西班牙语(拉丁美洲)[CC]"
1791 | },
1792 | {
1793 | "key": "JA",
1794 | "label": "日文"
1795 | },
1796 | {
1797 | "key": "KO",
1798 | "label": "韩文"
1799 | }
1800 | ],
1801 | "desc": "选择后将为此语言添加额外字幕选项"
1802 | },
1803 | {
1804 | "id": "@DualSubs.Prime_Video.Settings.Languages[1]",
1805 | "name": "次选语言:",
1806 | "val": "EN",
1807 | "type": "selects",
1808 | "items": [
1809 | {
1810 | "key": "ZH",
1811 | "label": "中文(自动)"
1812 | },
1813 | {
1814 | "key": "ZH-HANS",
1815 | "label": "中文(简体)"
1816 | },
1817 | {
1818 | "key": "ZH-HK",
1819 | "label": "中文(香港)"
1820 | },
1821 | {
1822 | "key": "ZH-HANT",
1823 | "label": "中文(繁体)"
1824 | },
1825 | {
1826 | "key": "EN",
1827 | "label": "英语(自动)"
1828 | },
1829 | {
1830 | "key": "EN-US",
1831 | "label": "英语(美国)"
1832 | },
1833 | {
1834 | "key": "EN-US SDH",
1835 | "label": "英语(美国)[CC]"
1836 | },
1837 | {
1838 | "key": "ES",
1839 | "label": "西班牙语(自动)"
1840 | },
1841 | {
1842 | "key": "ES-ES",
1843 | "label": "西班牙语"
1844 | },
1845 | {
1846 | "key": "ES-ES SDH",
1847 | "label": "西班牙语[CC]"
1848 | },
1849 | {
1850 | "key": "ES-419",
1851 | "label": "西班牙语(拉丁美洲)"
1852 | },
1853 | {
1854 | "key": "ES-419 SDH",
1855 | "label": "西班牙语(拉丁美洲)[CC]"
1856 | },
1857 | {
1858 | "key": "JA",
1859 | "label": "日文"
1860 | },
1861 | {
1862 | "key": "KO",
1863 | "label": "韩文"
1864 | }
1865 | ],
1866 | "desc": "选择后会将此语言添加为额外的字幕语言"
1867 | },
1868 | {
1869 | "id": "@DualSubs.Prime_Video.Settings.External.URL",
1870 | "name": "外挂字幕: URL",
1871 | "val": null,
1872 | "type": "text",
1873 | "placeholder": "https://www.example.com/subs/123.srt",
1874 | "desc": "兼容WebVTT和SRT格式字幕"
1875 | },
1876 | {
1877 | "id": "@DualSubs.Prime_Video.Settings.External.Offset",
1878 | "name": "外挂字幕: 时间偏移量",
1879 | "val": 0,
1880 | "type": "number",
1881 | "placeholder": "0",
1882 | "desc": "单位:毫秒(ms),正负整数"
1883 | },
1884 | {
1885 | "id": "@DualSubs.Prime_Video.Settings.External.ShowOnly",
1886 | "name": "外挂字幕: 只显示外挂字幕",
1887 | "val": false,
1888 | "type": "boolean",
1889 | "desc": "开启后仅显示外挂字幕,不做字幕合并操作"
1890 | },
1891 | {
1892 | "id": "@DualSubs.Prime_Video.Settings.Position",
1893 | "name": "双语字幕位置",
1894 | "val": "Forward",
1895 | "type": "radios",
1896 | "items": [
1897 | {
1898 | "key": "Forward",
1899 | "label": "第二行"
1900 | },
1901 | {
1902 | "key": "Reverse",
1903 | "label": "第一行"
1904 | }
1905 | ],
1906 | "desc": ""
1907 | },
1908 | {
1909 | "id": "@DualSubs.Prime_Video.Settings.CacheSize",
1910 | "name": "播放记录缓存数量",
1911 | "val": 2,
1912 | "type": "number",
1913 | "placeholder": "2",
1914 | "desc": "此选项决定同网关、同平台、同时处理和播放的数量,如果仅供本机使用,可以设置为1,如果本机作为网关处理局域网多台设备同时观看播放,建议设置此数值不小于播放设备数"
1915 | },
1916 | {
1917 | "id": "@DualSubs.Prime_Video.Settings.Tolerance",
1918 | "name": "时间戳公差",
1919 | "val": 1000,
1920 | "type": "number",
1921 | "placeholder": "1000",
1922 | "desc": "单位:毫秒(ms),正整数,字幕时间戳匹配时容许的误差范围"
1923 | }
1924 | ],
1925 | "author": "@DualSubs",
1926 | "repo": "https://github.com/DualSubs/DualSubs/tree/main",
1927 | "icons": [
1928 | "https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Prime_Video.png",
1929 | "https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Prime_Video.png"
1930 | ]
1931 | },
1932 | {
1933 | "id": "DualSubs.HBO_Max",
1934 | "name": "🍿️ DualSubs: HBO Max",
1935 | "descs_html": [
1936 | "请参照DualSubs的使用说明进行配置",
1937 | "填写完成后别忘点击此页面底端右下角的\"保存\"。"
1938 | ],
1939 | "keys": [
1940 | "@DualSubs.HBO_Max.Settings",
1941 | "@DualSubs.HBO_Max.Caches"
1942 | ],
1943 | "settings": [
1944 | {
1945 | "id": "@DualSubs.HBO_Max.Settings.Switch",
1946 | "name": "功能开关",
1947 | "val": true,
1948 | "type": "boolean",
1949 | "desc": "是否启用此平台修改功能"
1950 | },
1951 | {
1952 | "id": "@DualSubs.HBO_Max.Settings.Types",
1953 | "name": "字幕类型",
1954 | "val": "Google",
1955 | "type": "checkboxes",
1956 | "desc": "请选择要添加的字幕类型,会为标准播放器添加以下字幕选项",
1957 | "items": [
1958 | {
1959 | "key": "Official",
1960 | "label": "官方"
1961 | },
1962 | {
1963 | "key": "Google",
1964 | "label": "Google Translate"
1965 | },
1966 | {
1967 | "key": "GoogleCloud",
1968 | "label": "Google Cloud Translate API"
1969 | },
1970 | {
1971 | "key": "Azure",
1972 | "label": "Microsoft Azure Translator"
1973 | },
1974 | {
1975 | "key": "DeepL",
1976 | "label": "DeepL API"
1977 | },
1978 | {
1979 | "key": "External",
1980 | "label": "外挂字幕"
1981 | }
1982 | ]
1983 | },
1984 | {
1985 | "id": "@DualSubs.HBO_Max.Settings.Type",
1986 | "name": "字幕类型(兼容)",
1987 | "val": "Google",
1988 | "type": "selects",
1989 | "desc": "请选择要替换的字幕类型,会为不兼容的播放器替换为此字幕类型",
1990 | "items": [
1991 | {
1992 | "key": "Official",
1993 | "label": "官方"
1994 | },
1995 | {
1996 | "key": "Google",
1997 | "label": "Google Translate"
1998 | },
1999 | {
2000 | "key": "GoogleCloud",
2001 | "label": "Google Cloud Translate API"
2002 | },
2003 | {
2004 | "key": "Azure",
2005 | "label": "Microsoft Azure Translator"
2006 | },
2007 | {
2008 | "key": "DeepL",
2009 | "label": "DeepL API"
2010 | },
2011 | {
2012 | "key": "External",
2013 | "label": "外挂字幕"
2014 | }
2015 | ]
2016 | },
2017 | {
2018 | "id": "@DualSubs.HBO_Max.Settings.Languages[0]",
2019 | "name": "首选语言:",
2020 | "val": "ZH",
2021 | "type": "selects",
2022 | "items": [
2023 | {
2024 | "key": "ZH",
2025 | "label": "中文(自动)"
2026 | },
2027 | {
2028 | "key": "ZH-HANS",
2029 | "label": "中文(简体)"
2030 | },
2031 | {
2032 | "key": "ZH-HK",
2033 | "label": "中文(香港)"
2034 | },
2035 | {
2036 | "key": "ZH-HANT",
2037 | "label": "中文(繁体)"
2038 | },
2039 | {
2040 | "key": "EN",
2041 | "label": "英语(自动)"
2042 | },
2043 | {
2044 | "key": "EN-US",
2045 | "label": "英语(美国)"
2046 | },
2047 | {
2048 | "key": "EN-US SDH",
2049 | "label": "英语(美国)[CC]"
2050 | },
2051 | {
2052 | "key": "ES",
2053 | "label": "西班牙语(自动)"
2054 | },
2055 | {
2056 | "key": "ES-ES",
2057 | "label": "西班牙语"
2058 | },
2059 | {
2060 | "key": "ES-ES SDH",
2061 | "label": "西班牙语[CC]"
2062 | },
2063 | {
2064 | "key": "ES-419",
2065 | "label": "西班牙语(拉丁美洲)"
2066 | },
2067 | {
2068 | "key": "ES-419 SDH",
2069 | "label": "西班牙语(拉丁美洲)[CC]"
2070 | },
2071 | {
2072 | "key": "ES-419",
2073 | "label": "西班牙语(拉丁美洲)"
2074 | },
2075 | {
2076 | "key": "ES-419 SDH",
2077 | "label": "西班牙语(拉丁美洲)[CC]"
2078 | },
2079 | {
2080 | "key": "JA",
2081 | "label": "日文"
2082 | },
2083 | {
2084 | "key": "KO",
2085 | "label": "韩文"
2086 | }
2087 | ],
2088 | "desc": "选择后将为此语言添加额外字幕选项"
2089 | },
2090 | {
2091 | "id": "@DualSubs.HBO_Max.Settings.Languages[1]",
2092 | "name": "次选语言:",
2093 | "val": "EN",
2094 | "type": "selects",
2095 | "items": [
2096 | {
2097 | "key": "ZH",
2098 | "label": "中文(自动)"
2099 | },
2100 | {
2101 | "key": "ZH-HANS",
2102 | "label": "中文(简体)"
2103 | },
2104 | {
2105 | "key": "ZH-HK",
2106 | "label": "中文(香港)"
2107 | },
2108 | {
2109 | "key": "ZH-HANT",
2110 | "label": "中文(繁体)"
2111 | },
2112 | {
2113 | "key": "EN",
2114 | "label": "英语(自动)"
2115 | },
2116 | {
2117 | "key": "EN-US",
2118 | "label": "英语(美国)"
2119 | },
2120 | {
2121 | "key": "EN-US SDH",
2122 | "label": "英语(美国)[CC]"
2123 | },
2124 | {
2125 | "key": "ES",
2126 | "label": "西班牙语(自动)"
2127 | },
2128 | {
2129 | "key": "ES-ES",
2130 | "label": "西班牙语"
2131 | },
2132 | {
2133 | "key": "ES-ES SDH",
2134 | "label": "西班牙语[CC]"
2135 | },
2136 | {
2137 | "key": "ES-419",
2138 | "label": "西班牙语(拉丁美洲)"
2139 | },
2140 | {
2141 | "key": "ES-419 SDH",
2142 | "label": "西班牙语(拉丁美洲)[CC]"
2143 | },
2144 | {
2145 | "key": "ES-419",
2146 | "label": "西班牙语(拉丁美洲)"
2147 | },
2148 | {
2149 | "key": "ES-419 SDH",
2150 | "label": "西班牙语(拉丁美洲)[CC]"
2151 | },
2152 | {
2153 | "key": "JA",
2154 | "label": "日文"
2155 | },
2156 | {
2157 | "key": "KO",
2158 | "label": "韩文"
2159 | }
2160 | ],
2161 | "desc": "选择后会将此语言添加为额外的字幕语言"
2162 | },
2163 | {
2164 | "id": "@DualSubs.HBO_Max.Settings.External.URL",
2165 | "name": "外挂字幕: URL",
2166 | "val": null,
2167 | "type": "text",
2168 | "placeholder": "https://www.example.com/subs/123.srt",
2169 | "desc": "兼容WebVTT和SRT格式字幕"
2170 | },
2171 | {
2172 | "id": "@DualSubs.HBO_Max.Settings.External.Offset",
2173 | "name": "外挂字幕: 时间偏移量",
2174 | "val": 0,
2175 | "type": "number",
2176 | "placeholder": "0",
2177 | "desc": "单位:毫秒(ms),正负整数"
2178 | },
2179 | {
2180 | "id": "@DualSubs.HBO_Max.Settings.External.ShowOnly",
2181 | "name": "外挂字幕: 只显示外挂字幕",
2182 | "val": false,
2183 | "type": "boolean",
2184 | "desc": "开启后仅显示外挂字幕,不做字幕合并操作"
2185 | },
2186 | {
2187 | "id": "@DualSubs.HBO_Max.Settings.Position",
2188 | "name": "双语字幕位置",
2189 | "val": "Forward",
2190 | "type": "radios",
2191 | "items": [
2192 | {
2193 | "key": "Forward",
2194 | "label": "第二行"
2195 | },
2196 | {
2197 | "key": "Reverse",
2198 | "label": "第一行"
2199 | }
2200 | ],
2201 | "desc": ""
2202 | },
2203 | {
2204 | "id": "@DualSubs.HBO_Max.Settings.CacheSize",
2205 | "name": "播放记录缓存数量",
2206 | "val": 2,
2207 | "type": "number",
2208 | "placeholder": "2",
2209 | "desc": "此选项决定同网关、同平台、同时处理和播放的数量,如果仅供本机使用,可以设置为1,如果本机作为网关处理局域网多台设备同时观看播放,建议设置此数值不小于播放设备数"
2210 | },
2211 | {
2212 | "id": "@DualSubs.HBO_Max.Settings.Tolerance",
2213 | "name": "时间戳公差",
2214 | "val": 1000,
2215 | "type": "number",
2216 | "placeholder": "1000",
2217 | "desc": "单位:毫秒(ms),正整数,字幕时间戳匹配时容许的误差范围"
2218 | }
2219 | ],
2220 | "author": "@DualSubs",
2221 | "repo": "https://github.com/DualSubs/DualSubs/tree/main",
2222 | "icons": [
2223 | "https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/HBO_Max.png",
2224 | "https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/HBO_Max.png"
2225 | ]
2226 | },
2227 | {
2228 | "id": "DualSubs.Hulu",
2229 | "name": "🍿️ DualSubs: Hulu",
2230 | "descs_html": [
2231 | "请参照DualSubs的使用说明进行配置",
2232 | "填写完成后别忘点击此页面底端右下角的\"保存\"。"
2233 | ],
2234 | "keys": [
2235 | "@DualSubs.Hulu.Settings",
2236 | "@DualSubs.Hulu.Caches"
2237 | ],
2238 | "settings": [
2239 | {
2240 | "id": "@DualSubs.Hulu.Settings.Switch",
2241 | "name": "功能开关",
2242 | "val": true,
2243 | "type": "boolean",
2244 | "desc": "是否启用此平台修改功能"
2245 | },
2246 | {
2247 | "id": "@DualSubs.Hulu.Settings.Types",
2248 | "name": "字幕类型",
2249 | "val": "Google",
2250 | "type": "checkboxes",
2251 | "desc": "请选择要添加的字幕类型,会为标准播放器添加以下字幕选项",
2252 | "items": [
2253 | {
2254 | "key": "Official",
2255 | "label": "官方"
2256 | },
2257 | {
2258 | "key": "Google",
2259 | "label": "Google Translate"
2260 | },
2261 | {
2262 | "key": "GoogleCloud",
2263 | "label": "Google Cloud Translate API"
2264 | },
2265 | {
2266 | "key": "Azure",
2267 | "label": "Microsoft Azure Translator"
2268 | },
2269 | {
2270 | "key": "DeepL",
2271 | "label": "DeepL API"
2272 | },
2273 | {
2274 | "key": "External",
2275 | "label": "外挂字幕"
2276 | }
2277 | ]
2278 | },
2279 | {
2280 | "id": "@DualSubs.Hulu.Settings.Languages[0]",
2281 | "name": "首选语言:",
2282 | "val": "ZH",
2283 | "type": "selects",
2284 | "items": [
2285 | {
2286 | "key": "ZH",
2287 | "label": "中文(自动)"
2288 | },
2289 | {
2290 | "key": "ZH-HANS",
2291 | "label": "中文(简体)"
2292 | },
2293 | {
2294 | "key": "ZH-HK",
2295 | "label": "中文(香港)"
2296 | },
2297 | {
2298 | "key": "ZH-HANT",
2299 | "label": "中文(繁体)"
2300 | },
2301 | {
2302 | "key": "EN",
2303 | "label": "英语(自动)"
2304 | },
2305 | {
2306 | "key": "EN-US",
2307 | "label": "英语(美国)"
2308 | },
2309 | {
2310 | "key": "EN-US SDH",
2311 | "label": "英语(美国)[CC]"
2312 | },
2313 | {
2314 | "key": "ES",
2315 | "label": "西班牙语(自动)"
2316 | },
2317 | {
2318 | "key": "ES-ES",
2319 | "label": "西班牙语"
2320 | },
2321 | {
2322 | "key": "ES-ES SDH",
2323 | "label": "西班牙语[CC]"
2324 | },
2325 | {
2326 | "key": "ES-419",
2327 | "label": "西班牙语(拉丁美洲)"
2328 | },
2329 | {
2330 | "key": "ES-419 SDH",
2331 | "label": "西班牙语(拉丁美洲)[CC]"
2332 | },
2333 | {
2334 | "key": "JA",
2335 | "label": "日文"
2336 | },
2337 | {
2338 | "key": "KO",
2339 | "label": "韩文"
2340 | }
2341 | ],
2342 | "desc": "选择后将为此语言添加额外字幕选项"
2343 | },
2344 | {
2345 | "id": "@DualSubs.Hulu.Settings.Languages[1]",
2346 | "name": "次选语言:",
2347 | "val": "EN",
2348 | "type": "selects",
2349 | "items": [
2350 | {
2351 | "key": "ZH",
2352 | "label": "中文(自动)"
2353 | },
2354 | {
2355 | "key": "ZH-HANS",
2356 | "label": "中文(简体)"
2357 | },
2358 | {
2359 | "key": "ZH-HK",
2360 | "label": "中文(香港)"
2361 | },
2362 | {
2363 | "key": "ZH-HANT",
2364 | "label": "中文(繁体)"
2365 | },
2366 | {
2367 | "key": "EN",
2368 | "label": "英语(自动)"
2369 | },
2370 | {
2371 | "key": "EN-US",
2372 | "label": "英语(美国)"
2373 | },
2374 | {
2375 | "key": "EN-US SDH",
2376 | "label": "英语(美国)[CC]"
2377 | },
2378 | {
2379 | "key": "ES",
2380 | "label": "西班牙语(自动)"
2381 | },
2382 | {
2383 | "key": "ES-ES",
2384 | "label": "西班牙语"
2385 | },
2386 | {
2387 | "key": "ES-ES SDH",
2388 | "label": "西班牙语[CC]"
2389 | },
2390 | {
2391 | "key": "ES-419",
2392 | "label": "西班牙语(拉丁美洲)"
2393 | },
2394 | {
2395 | "key": "ES-419 SDH",
2396 | "label": "西班牙语(拉丁美洲)[CC]"
2397 | },
2398 | {
2399 | "key": "JA",
2400 | "label": "日文"
2401 | },
2402 | {
2403 | "key": "KO",
2404 | "label": "韩文"
2405 | }
2406 | ],
2407 | "desc": "选择后会将此语言添加为额外的字幕语言"
2408 | },
2409 | {
2410 | "id": "@DualSubs.Hulu.Settings.External.URL",
2411 | "name": "外挂字幕: URL",
2412 | "val": null,
2413 | "type": "text",
2414 | "placeholder": "https://www.example.com/subs/123.srt",
2415 | "desc": "兼容WebVTT和SRT格式字幕"
2416 | },
2417 | {
2418 | "id": "@DualSubs.Hulu.Settings.External.Offset",
2419 | "name": "外挂字幕: 时间偏移量",
2420 | "val": 0,
2421 | "type": "number",
2422 | "placeholder": "0",
2423 | "desc": "单位:毫秒(ms),正负整数"
2424 | },
2425 | {
2426 | "id": "@DualSubs.Hulu.Settings.External.ShowOnly",
2427 | "name": "外挂字幕: 只显示外挂字幕",
2428 | "val": false,
2429 | "type": "boolean",
2430 | "desc": "开启后仅显示外挂字幕,不做字幕合并操作"
2431 | },
2432 | {
2433 | "id": "@DualSubs.Hulu.Settings.Position",
2434 | "name": "双语字幕位置",
2435 | "val": "Forward",
2436 | "type": "radios",
2437 | "items": [
2438 | {
2439 | "key": "Forward",
2440 | "label": "第二行"
2441 | },
2442 | {
2443 | "key": "Reverse",
2444 | "label": "第一行"
2445 | }
2446 | ],
2447 | "desc": ""
2448 | },
2449 | {
2450 | "id": "@DualSubs.Hulu.Settings.CacheSize",
2451 | "name": "播放记录缓存数量",
2452 | "val": 2,
2453 | "type": "number",
2454 | "placeholder": "2",
2455 | "desc": "此选项决定同网关、同平台、同时处理和播放的数量,如果仅供本机使用,可以设置为1,如果本机作为网关处理局域网多台设备同时观看播放,建议设置此数值不小于播放设备数"
2456 | },
2457 | {
2458 | "id": "@DualSubs.Hulu.Settings.Tolerance",
2459 | "name": "时间戳公差",
2460 | "val": 1000,
2461 | "type": "number",
2462 | "placeholder": "1000",
2463 | "desc": "单位:毫秒(ms),正整数,字幕时间戳匹配时容许的误差范围"
2464 | }
2465 | ],
2466 | "author": "@DualSubs",
2467 | "repo": "https://github.com/DualSubs/DualSubs/tree/main",
2468 | "icons": [
2469 | "https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Hulu.png",
2470 | "https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Hulu.png"
2471 | ]
2472 | },
2473 | {
2474 | "id": "DualSubs.Paramount_Plus",
2475 | "name": "🍿️ DualSubs: Paramount+",
2476 | "descs_html": [
2477 | "请参照DualSubs的使用说明进行配置",
2478 | "填写完成后别忘点击此页面底端右下角的\"保存\"。"
2479 | ],
2480 | "keys": [
2481 | "@DualSubs.Paramount_Plus.Settings",
2482 | "@DualSubs.Paramount_Plus.Caches"
2483 | ],
2484 | "settings": [
2485 | {
2486 | "id": "@DualSubs.Paramount_Plus.Settings.Switch",
2487 | "name": "功能开关",
2488 | "val": true,
2489 | "type": "boolean",
2490 | "desc": "是否启用此平台修改功能"
2491 | },
2492 | {
2493 | "id": "@DualSubs.Paramount_Plus.Settings.Types",
2494 | "name": "字幕类型",
2495 | "val": "Official,Google,DeepL,External",
2496 | "type": "checkboxes",
2497 | "desc": "请选择要添加的字幕类型,会为标准播放器添加以下字幕选项",
2498 | "items": [
2499 | {
2500 | "key": "Official",
2501 | "label": "官方"
2502 | },
2503 | {
2504 | "key": "Google",
2505 | "label": "Google Translate"
2506 | },
2507 | {
2508 | "key": "GoogleCloud",
2509 | "label": "Google Cloud Translate API"
2510 | },
2511 | {
2512 | "key": "Azure",
2513 | "label": "Microsoft Azure Translator"
2514 | },
2515 | {
2516 | "key": "DeepL",
2517 | "label": "DeepL API"
2518 | },
2519 | {
2520 | "key": "External",
2521 | "label": "外挂字幕"
2522 | }
2523 | ]
2524 | },
2525 | {
2526 | "id": "@DualSubs.Paramount_Plus.Settings.Languages[0]",
2527 | "name": "首选语言:",
2528 | "val": "ZH",
2529 | "type": "selects",
2530 | "items": [
2531 | {
2532 | "key": "ZH",
2533 | "label": "中文(自动)"
2534 | },
2535 | {
2536 | "key": "ZH-HANS",
2537 | "label": "中文(简体)"
2538 | },
2539 | {
2540 | "key": "ZH-HK",
2541 | "label": "中文(香港)"
2542 | },
2543 | {
2544 | "key": "ZH-HANT",
2545 | "label": "中文(繁体)"
2546 | },
2547 | {
2548 | "key": "EN",
2549 | "label": "英语(自动)"
2550 | },
2551 | {
2552 | "key": "EN-US",
2553 | "label": "英语(美国)"
2554 | },
2555 | {
2556 | "key": "EN-US SDH",
2557 | "label": "英语(美国)[CC]"
2558 | },
2559 | {
2560 | "key": "ES",
2561 | "label": "西班牙语(自动)"
2562 | },
2563 | {
2564 | "key": "ES-ES",
2565 | "label": "西班牙语"
2566 | },
2567 | {
2568 | "key": "ES-ES SDH",
2569 | "label": "西班牙语[CC]"
2570 | },
2571 | {
2572 | "key": "ES-419",
2573 | "label": "西班牙语(拉丁美洲)"
2574 | },
2575 | {
2576 | "key": "ES-419 SDH",
2577 | "label": "西班牙语(拉丁美洲)[CC]"
2578 | },
2579 | {
2580 | "key": "JA",
2581 | "label": "日文"
2582 | },
2583 | {
2584 | "key": "KO",
2585 | "label": "韩文"
2586 | }
2587 | ],
2588 | "desc": "选择后将为此语言添加额外字幕选项"
2589 | },
2590 | {
2591 | "id": "@DualSubs.Paramount_Plus.Settings.Languages[1]",
2592 | "name": "次选语言:",
2593 | "val": "EN",
2594 | "type": "selects",
2595 | "items": [
2596 | {
2597 | "key": "ZH",
2598 | "label": "中文(自动)"
2599 | },
2600 | {
2601 | "key": "ZH-HANS",
2602 | "label": "中文(简体)"
2603 | },
2604 | {
2605 | "key": "ZH-HK",
2606 | "label": "中文(香港)"
2607 | },
2608 | {
2609 | "key": "ZH-HANT",
2610 | "label": "中文(繁体)"
2611 | },
2612 | {
2613 | "key": "EN",
2614 | "label": "英语(自动)"
2615 | },
2616 | {
2617 | "key": "EN-US",
2618 | "label": "英语(美国)"
2619 | },
2620 | {
2621 | "key": "EN-US SDH",
2622 | "label": "英语(美国)[CC]"
2623 | },
2624 | {
2625 | "key": "ES",
2626 | "label": "西班牙语(自动)"
2627 | },
2628 | {
2629 | "key": "ES-ES",
2630 | "label": "西班牙语"
2631 | },
2632 | {
2633 | "key": "ES-ES SDH",
2634 | "label": "西班牙语[CC]"
2635 | },
2636 | {
2637 | "key": "ES-419",
2638 | "label": "西班牙语(拉丁美洲)"
2639 | },
2640 | {
2641 | "key": "ES-419 SDH",
2642 | "label": "西班牙语(拉丁美洲)[CC]"
2643 | },
2644 | {
2645 | "key": "JA",
2646 | "label": "日文"
2647 | },
2648 | {
2649 | "key": "KO",
2650 | "label": "韩文"
2651 | }
2652 | ],
2653 | "desc": "选择后会将此语言添加为额外的字幕语言"
2654 | },
2655 | {
2656 | "id": "@DualSubs.Paramount_Plus.Settings.External.URL",
2657 | "name": "外挂字幕: URL",
2658 | "val": null,
2659 | "type": "text",
2660 | "placeholder": "https://www.example.com/subs/123.srt",
2661 | "desc": "兼容WebVTT和SRT格式字幕"
2662 | },
2663 | {
2664 | "id": "@DualSubs.Paramount_Plus.Settings.External.Offset",
2665 | "name": "外挂字幕: 时间偏移量",
2666 | "val": 0,
2667 | "type": "number",
2668 | "placeholder": "0",
2669 | "desc": "单位:毫秒(ms),正负整数"
2670 | },
2671 | {
2672 | "id": "@DualSubs.Paramount_Plus.Settings.External.ShowOnly",
2673 | "name": "外挂字幕: 只显示外挂字幕",
2674 | "val": false,
2675 | "type": "boolean",
2676 | "desc": "开启后仅显示外挂字幕,不做字幕合并操作"
2677 | },
2678 | {
2679 | "id": "@DualSubs.Paramount_Plus.Settings.Position",
2680 | "name": "双语字幕位置",
2681 | "val": "Forward",
2682 | "type": "radios",
2683 | "items": [
2684 | {
2685 | "key": "Forward",
2686 | "label": "第二行"
2687 | },
2688 | {
2689 | "key": "Reverse",
2690 | "label": "第一行"
2691 | }
2692 | ],
2693 | "desc": ""
2694 | },
2695 | {
2696 | "id": "@DualSubs.Paramount_Plus.Settings.CacheSize",
2697 | "name": "播放记录缓存数量",
2698 | "val": 2,
2699 | "type": "number",
2700 | "placeholder": "2",
2701 | "desc": "此选项决定同网关、同平台、同时处理和播放的数量,如果仅供本机使用,可以设置为1,如果本机作为网关处理局域网多台设备同时观看播放,建议设置此数值不小于播放设备数"
2702 | },
2703 | {
2704 | "id": "@DualSubs.Paramount_Plus.Settings.Tolerance",
2705 | "name": "时间戳公差",
2706 | "val": 1000,
2707 | "type": "number",
2708 | "placeholder": "1000",
2709 | "desc": "单位:毫秒(ms),正整数,字幕时间戳匹配时容许的误差范围"
2710 | }
2711 | ],
2712 | "author": "@DualSubs",
2713 | "repo": "https://github.com/DualSubs/DualSubs/tree/main",
2714 | "icons": [
2715 | "https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Paramount.png",
2716 | "https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Paramount.png"
2717 | ]
2718 | },
2719 | {
2720 | "id": "DualSubs.Discovery_Plus_Ph",
2721 | "name": "🍿️ DualSubs: Discovery+ Philippines",
2722 | "descs_html": [
2723 | "请参照DualSubs的使用说明进行配置",
2724 | "填写完成后别忘点击此页面底端右下角的\"保存\"。"
2725 | ],
2726 | "keys": [
2727 | "@DualSubs.Discovery_Plus_Ph.Settings",
2728 | "@DualSubs.Discovery_Plus_Ph.Caches"
2729 | ],
2730 | "settings": [
2731 | {
2732 | "id": "@DualSubs.Discovery_Plus_Ph.Settings.Switch",
2733 | "name": "功能开关",
2734 | "val": true,
2735 | "type": "boolean",
2736 | "desc": "是否启用此平台修改功能"
2737 | },
2738 | {
2739 | "id": "@DualSubs.Discovery_Plus_Ph.Settings.Types",
2740 | "name": "字幕类型",
2741 | "val": "Google",
2742 | "type": "checkboxes",
2743 | "desc": "请选择要添加的字幕类型,会为标准播放器添加以下字幕选项",
2744 | "items": [
2745 | {
2746 | "key": "Official",
2747 | "label": "官方"
2748 | },
2749 | {
2750 | "key": "Google",
2751 | "label": "Google Translate"
2752 | },
2753 | {
2754 | "key": "GoogleCloud",
2755 | "label": "Google Cloud Translate API"
2756 | },
2757 | {
2758 | "key": "Azure",
2759 | "label": "Microsoft Azure Translator"
2760 | },
2761 | {
2762 | "key": "DeepL",
2763 | "label": "DeepL API"
2764 | },
2765 | {
2766 | "key": "External",
2767 | "label": "外挂字幕"
2768 | }
2769 | ]
2770 | },
2771 | {
2772 | "id": "@DualSubs.Discovery_Plus_Ph.Settings.Languages[0]",
2773 | "name": "首选语言:",
2774 | "val": "ZH",
2775 | "type": "selects",
2776 | "items": [
2777 | {
2778 | "key": "ZH",
2779 | "label": "中文(自动)"
2780 | },
2781 | {
2782 | "key": "ZH-HANS",
2783 | "label": "中文(简体)"
2784 | },
2785 | {
2786 | "key": "ZH-HK",
2787 | "label": "中文(香港)"
2788 | },
2789 | {
2790 | "key": "ZH-HANT",
2791 | "label": "中文(繁体)"
2792 | },
2793 | {
2794 | "key": "EN",
2795 | "label": "英语(自动)"
2796 | },
2797 | {
2798 | "key": "EN-US",
2799 | "label": "英语(美国)"
2800 | },
2801 | {
2802 | "key": "EN-US SDH",
2803 | "label": "英语(美国)[CC]"
2804 | },
2805 | {
2806 | "key": "ES",
2807 | "label": "西班牙语(自动)"
2808 | },
2809 | {
2810 | "key": "ES-ES",
2811 | "label": "西班牙语"
2812 | },
2813 | {
2814 | "key": "ES-ES SDH",
2815 | "label": "西班牙语[CC]"
2816 | },
2817 | {
2818 | "key": "ES-419",
2819 | "label": "西班牙语(拉丁美洲)"
2820 | },
2821 | {
2822 | "key": "ES-419 SDH",
2823 | "label": "西班牙语(拉丁美洲)[CC]"
2824 | },
2825 | {
2826 | "key": "JA",
2827 | "label": "日文"
2828 | },
2829 | {
2830 | "key": "KO",
2831 | "label": "韩文"
2832 | }
2833 | ],
2834 | "desc": "选择后将为此语言添加额外字幕选项"
2835 | },
2836 | {
2837 | "id": "@DualSubs.Discovery_Plus_Ph.Settings.Languages[1]",
2838 | "name": "次选语言:",
2839 | "val": "EN",
2840 | "type": "selects",
2841 | "items": [
2842 | {
2843 | "key": "ZH",
2844 | "label": "中文(自动)"
2845 | },
2846 | {
2847 | "key": "ZH-HANS",
2848 | "label": "中文(简体)"
2849 | },
2850 | {
2851 | "key": "ZH-HK",
2852 | "label": "中文(香港)"
2853 | },
2854 | {
2855 | "key": "ZH-HANT",
2856 | "label": "中文(繁体)"
2857 | },
2858 | {
2859 | "key": "EN",
2860 | "label": "英语(自动)"
2861 | },
2862 | {
2863 | "key": "EN-US",
2864 | "label": "英语(美国)"
2865 | },
2866 | {
2867 | "key": "EN-US SDH",
2868 | "label": "英语(美国)[CC]"
2869 | },
2870 | {
2871 | "key": "ES",
2872 | "label": "西班牙语(自动)"
2873 | },
2874 | {
2875 | "key": "ES-ES",
2876 | "label": "西班牙语"
2877 | },
2878 | {
2879 | "key": "ES-ES SDH",
2880 | "label": "西班牙语[CC]"
2881 | },
2882 | {
2883 | "key": "ES-419",
2884 | "label": "西班牙语(拉丁美洲)"
2885 | },
2886 | {
2887 | "key": "ES-419 SDH",
2888 | "label": "西班牙语(拉丁美洲)[CC]"
2889 | },
2890 | {
2891 | "key": "JA",
2892 | "label": "日文"
2893 | },
2894 | {
2895 | "key": "KO",
2896 | "label": "韩文"
2897 | }
2898 | ],
2899 | "desc": "选择后会将此语言添加为额外的字幕语言"
2900 | },
2901 | {
2902 | "id": "@DualSubs.Discovery_Plus_Ph.Settings.External.URL",
2903 | "name": "外挂字幕: URL",
2904 | "val": null,
2905 | "type": "text",
2906 | "placeholder": "https://www.example.com/subs/123.srt",
2907 | "desc": "兼容WebVTT和SRT格式字幕"
2908 | },
2909 | {
2910 | "id": "@DualSubs.Discovery_Plus_Ph.Settings.External.Offset",
2911 | "name": "外挂字幕: 时间偏移量",
2912 | "val": 0,
2913 | "type": "number",
2914 | "placeholder": "0",
2915 | "desc": "单位:毫秒(ms),正负整数"
2916 | },
2917 | {
2918 | "id": "@DualSubs.Discovery_Plus_Ph.Settings.External.ShowOnly",
2919 | "name": "外挂字幕: 只显示外挂字幕",
2920 | "val": false,
2921 | "type": "boolean",
2922 | "desc": "开启后仅显示外挂字幕,不做字幕合并操作"
2923 | },
2924 | {
2925 | "id": "@DualSubs.Discovery_Plus_Ph.Settings.Position",
2926 | "name": "双语字幕位置",
2927 | "val": "Forward",
2928 | "type": "radios",
2929 | "items": [
2930 | {
2931 | "key": "Forward",
2932 | "label": "第二行"
2933 | },
2934 | {
2935 | "key": "Reverse",
2936 | "label": "第一行"
2937 | }
2938 | ],
2939 | "desc": ""
2940 | },
2941 | {
2942 | "id": "@DualSubs.Discovery_Plus_Ph.Settings.CacheSize",
2943 | "name": "播放记录缓存数量",
2944 | "val": 2,
2945 | "type": "number",
2946 | "placeholder": "2",
2947 | "desc": "此选项决定同网关、同平台、同时处理和播放的数量,如果仅供本机使用,可以设置为1,如果本机作为网关处理局域网多台设备同时观看播放,建议设置此数值不小于播放设备数"
2948 | },
2949 | {
2950 | "id": "@DualSubs.Discovery_Plus_Ph.Settings.Tolerance",
2951 | "name": "时间戳公差",
2952 | "val": 1000,
2953 | "type": "number",
2954 | "placeholder": "1000",
2955 | "desc": "单位:毫秒(ms),正整数,字幕时间戳匹配时容许的误差范围"
2956 | }
2957 | ],
2958 | "author": "@DualSubs",
2959 | "repo": "https://github.com/DualSubs/DualSubs/tree/main",
2960 | "icons": [
2961 | "https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/discovery%2B.png",
2962 | "https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/discovery%2B.png"
2963 | ]
2964 | },
2965 | {
2966 | "id": "DualSubs.Peacock_TV",
2967 | "name": "🍿️ DualSubs: Peacock TV",
2968 | "descs_html": [
2969 | "请参照DualSubs的使用说明进行配置",
2970 | "填写完成后别忘点击此页面底端右下角的\"保存\"。"
2971 | ],
2972 | "keys": [
2973 | "@DualSubs.Peacock_TV.Settings",
2974 | "@DualSubs.Peacock_TV.Caches"
2975 | ],
2976 | "settings": [
2977 | {
2978 | "id": "@DualSubs.Peacock_TV.Settings.Switch",
2979 | "name": "功能开关",
2980 | "val": true,
2981 | "type": "boolean",
2982 | "desc": "是否启用此平台修改功能"
2983 | },
2984 | {
2985 | "id": "@DualSubs.Peacock_TV.Settings.Types",
2986 | "name": "字幕类型",
2987 | "val": "Google",
2988 | "type": "checkboxes",
2989 | "desc": "请选择要添加的字幕类型,会为标准播放器添加以下字幕选项",
2990 | "items": [
2991 | {
2992 | "key": "Official",
2993 | "label": "官方"
2994 | },
2995 | {
2996 | "key": "Google",
2997 | "label": "Google Translate"
2998 | },
2999 | {
3000 | "key": "GoogleCloud",
3001 | "label": "Google Cloud Translate API"
3002 | },
3003 | {
3004 | "key": "Azure",
3005 | "label": "Microsoft Azure Translator"
3006 | },
3007 | {
3008 | "key": "DeepL",
3009 | "label": "DeepL API"
3010 | },
3011 | {
3012 | "key": "External",
3013 | "label": "外挂字幕"
3014 | }
3015 | ]
3016 | },
3017 | {
3018 | "id": "@DualSubs.Peacock_TV.Settings.Type",
3019 | "name": "字幕类型(兼容)",
3020 | "val": "Google",
3021 | "type": "selects",
3022 | "desc": "请选择要替换的字幕类型,会为不兼容的播放器替换为此字幕类型",
3023 | "items": [
3024 | {
3025 | "key": "Official",
3026 | "label": "官方"
3027 | },
3028 | {
3029 | "key": "Google",
3030 | "label": "Google Translate"
3031 | },
3032 | {
3033 | "key": "GoogleCloud",
3034 | "label": "Google Cloud Translate API"
3035 | },
3036 | {
3037 | "key": "Azure",
3038 | "label": "Microsoft Azure Translator"
3039 | },
3040 | {
3041 | "key": "DeepL",
3042 | "label": "DeepL API"
3043 | },
3044 | {
3045 | "key": "External",
3046 | "label": "外挂字幕"
3047 | }
3048 | ]
3049 | },
3050 | {
3051 | "id": "@DualSubs.Peacock_TV.Settings.Languages[0]",
3052 | "name": "首选语言:",
3053 | "val": "ZH",
3054 | "type": "selects",
3055 | "items": [
3056 | {
3057 | "key": "ZH",
3058 | "label": "中文(自动)"
3059 | },
3060 | {
3061 | "key": "ZH-HANS",
3062 | "label": "中文(简体)"
3063 | },
3064 | {
3065 | "key": "ZH-HK",
3066 | "label": "中文(香港)"
3067 | },
3068 | {
3069 | "key": "ZH-HANT",
3070 | "label": "中文(繁体)"
3071 | },
3072 | {
3073 | "key": "EN",
3074 | "label": "英语(自动)"
3075 | },
3076 | {
3077 | "key": "EN-US",
3078 | "label": "英语(美国)"
3079 | },
3080 | {
3081 | "key": "EN-US SDH",
3082 | "label": "英语(美国)[CC]"
3083 | },
3084 | {
3085 | "key": "ES",
3086 | "label": "西班牙语(自动)"
3087 | },
3088 | {
3089 | "key": "ES-ES",
3090 | "label": "西班牙语"
3091 | },
3092 | {
3093 | "key": "ES-ES SDH",
3094 | "label": "西班牙语[CC]"
3095 | },
3096 | {
3097 | "key": "ES-419",
3098 | "label": "西班牙语(拉丁美洲)"
3099 | },
3100 | {
3101 | "key": "ES-419 SDH",
3102 | "label": "西班牙语(拉丁美洲)[CC]"
3103 | },
3104 | {
3105 | "key": "JA",
3106 | "label": "日文"
3107 | },
3108 | {
3109 | "key": "KO",
3110 | "label": "韩文"
3111 | }
3112 | ],
3113 | "desc": "选择后将为此语言添加额外字幕选项"
3114 | },
3115 | {
3116 | "id": "@DualSubs.Peacock_TV.Settings.Languages[1]",
3117 | "name": "次选语言:",
3118 | "val": "EN",
3119 | "type": "selects",
3120 | "items": [
3121 | {
3122 | "key": "ZH",
3123 | "label": "中文(自动)"
3124 | },
3125 | {
3126 | "key": "ZH-HANS",
3127 | "label": "中文(简体)"
3128 | },
3129 | {
3130 | "key": "ZH-HK",
3131 | "label": "中文(香港)"
3132 | },
3133 | {
3134 | "key": "ZH-HANT",
3135 | "label": "中文(繁体)"
3136 | },
3137 | {
3138 | "key": "EN",
3139 | "label": "英语(自动)"
3140 | },
3141 | {
3142 | "key": "EN-US",
3143 | "label": "英语(美国)"
3144 | },
3145 | {
3146 | "key": "EN-US SDH",
3147 | "label": "英语(美国)[CC]"
3148 | },
3149 | {
3150 | "key": "ES",
3151 | "label": "西班牙语(自动)"
3152 | },
3153 | {
3154 | "key": "ES-ES",
3155 | "label": "西班牙语"
3156 | },
3157 | {
3158 | "key": "ES-ES SDH",
3159 | "label": "西班牙语[CC]"
3160 | },
3161 | {
3162 | "key": "ES-419",
3163 | "label": "西班牙语(拉丁美洲)"
3164 | },
3165 | {
3166 | "key": "ES-419 SDH",
3167 | "label": "西班牙语(拉丁美洲)[CC]"
3168 | },
3169 | {
3170 | "key": "JA",
3171 | "label": "日文"
3172 | },
3173 | {
3174 | "key": "KO",
3175 | "label": "韩文"
3176 | }
3177 | ],
3178 | "desc": "选择后会将此语言添加为额外的字幕语言"
3179 | },
3180 | {
3181 | "id": "@DualSubs.Peacock_TV.Settings.External.URL",
3182 | "name": "外挂字幕: URL",
3183 | "val": null,
3184 | "type": "text",
3185 | "placeholder": "https://www.example.com/subs/123.srt",
3186 | "desc": "兼容WebVTT和SRT格式字幕"
3187 | },
3188 | {
3189 | "id": "@DualSubs.Peacock_TV.Settings.External.Offset",
3190 | "name": "外挂字幕: 时间偏移量",
3191 | "val": 0,
3192 | "type": "number",
3193 | "placeholder": "0",
3194 | "desc": "单位:毫秒(ms),正负整数"
3195 | },
3196 | {
3197 | "id": "@DualSubs.Peacock_TV.Settings.External.ShowOnly",
3198 | "name": "外挂字幕: 只显示外挂字幕",
3199 | "val": false,
3200 | "type": "boolean",
3201 | "desc": "开启后仅显示外挂字幕,不做字幕合并操作"
3202 | },
3203 | {
3204 | "id": "@DualSubs.Peacock_TV.Settings.Position",
3205 | "name": "双语字幕位置",
3206 | "val": "Forward",
3207 | "type": "radios",
3208 | "items": [
3209 | {
3210 | "key": "Forward",
3211 | "label": "第二行"
3212 | },
3213 | {
3214 | "key": "Reverse",
3215 | "label": "第一行"
3216 | }
3217 | ],
3218 | "desc": ""
3219 | },
3220 | {
3221 | "id": "@DualSubs.Peacock_TV.Settings.CacheSize",
3222 | "name": "播放记录缓存数量",
3223 | "val": 2,
3224 | "type": "number",
3225 | "placeholder": "2",
3226 | "desc": "此选项决定同网关、同平台、同时处理和播放的数量,如果仅供本机使用,可以设置为1,如果本机作为网关处理局域网多台设备同时观看播放,建议设置此数值不小于播放设备数"
3227 | },
3228 | {
3229 | "id": "@DualSubs.Peacock_TV.Settings.Tolerance",
3230 | "name": "时间戳公差",
3231 | "val": 1000,
3232 | "type": "number",
3233 | "placeholder": "1000",
3234 | "desc": "单位:毫秒(ms),正整数,字幕时间戳匹配时容许的误差范围"
3235 | }
3236 | ],
3237 | "author": "@DualSubs",
3238 | "repo": "https://github.com/DualSubs/DualSubs/tree/beta",
3239 | "icons": [
3240 | "https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Peacock.png",
3241 | "https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Peacock.png"
3242 | ]
3243 | },
3244 | {
3245 | "id": "DualSubs.Netflix",
3246 | "name": "🍿️ DualSubs: 🇳 Netflix",
3247 | "descs_html": [
3248 | "请参照DualSubs-Netflix的使用说明进行配置",
3249 | "填写完成后别忘点击此页面底端右下角的\"保存\"。"
3250 | ],
3251 | "keys": [
3252 | "@DualSubs.Netflix.Settings",
3253 | "@DualSubs.Netflix.Caches"
3254 | ],
3255 | "settings": [
3256 | {
3257 | "id": "@DualSubs.Netflix.Settings.Switch",
3258 | "name": "功能开关",
3259 | "val": true,
3260 | "type": "boolean",
3261 | "desc": "是否启用此平台修改功能"
3262 | },
3263 | {
3264 | "id": "@DualSubs.Netflix.Settings.Type",
3265 | "name": "字幕类型(兼容)",
3266 | "val": "Google",
3267 | "type": "selects",
3268 | "desc": "请选择要替换的字幕类型,会为不兼容的播放器替换为此字幕类型",
3269 | "items": [
3270 | {
3271 | "key": "Google",
3272 | "label": "Google Translate"
3273 | },
3274 | {
3275 | "key": "GoogleCloud",
3276 | "label": "Google Cloud Translate API"
3277 | },
3278 | {
3279 | "key": "Bing",
3280 | "label": "Bing Microsoft Translator"
3281 | },
3282 | {
3283 | "key": "Azure",
3284 | "label": "Microsoft Azure Translator"
3285 | },
3286 | {
3287 | "key": "DeepL",
3288 | "label": "DeepL API"
3289 | },
3290 | {
3291 | "key": "External",
3292 | "label": "外挂字幕"
3293 | }
3294 | ]
3295 | },
3296 | {
3297 | "id": "@DualSubs.Netflix.Settings.Language",
3298 | "name": "首选语言(兼容):",
3299 | "val": "ZH",
3300 | "type": "selects",
3301 | "desc": "选择后会将此语言添加为额外的字幕语言",
3302 | "items": [
3303 | {
3304 | "key": "ZH",
3305 | "label": "中文(自动)"
3306 | },
3307 | {
3308 | "key": "ZH-HANS",
3309 | "label": "中文(简体)"
3310 | },
3311 | {
3312 | "key": "ZH-HK",
3313 | "label": "中文(香港)"
3314 | },
3315 | {
3316 | "key": "ZH-HANT",
3317 | "label": "中文(繁体)"
3318 | },
3319 | {
3320 | "key": "EN",
3321 | "label": "英语(自动)"
3322 | },
3323 | {
3324 | "key": "EN-US",
3325 | "label": "英语(美国)"
3326 | },
3327 | {
3328 | "key": "EN-US SDH",
3329 | "label": "英语(美国)[CC]"
3330 | },
3331 | {
3332 | "key": "ES",
3333 | "label": "西班牙语(自动)"
3334 | },
3335 | {
3336 | "key": "ES-ES",
3337 | "label": "西班牙语"
3338 | },
3339 | {
3340 | "key": "ES-ES SDH",
3341 | "label": "西班牙语[CC]"
3342 | },
3343 | {
3344 | "key": "ES-419",
3345 | "label": "西班牙语(拉丁美洲)"
3346 | },
3347 | {
3348 | "key": "ES-419 SDH",
3349 | "label": "西班牙语(拉丁美洲)[CC]"
3350 | },
3351 | {
3352 | "key": "JA",
3353 | "label": "日文"
3354 | },
3355 | {
3356 | "key": "KO",
3357 | "label": "韩文"
3358 | }
3359 | ]
3360 | },
3361 | {
3362 | "id": "@DualSubs.Netflix.Settings.External.URL",
3363 | "name": "外挂字幕: URL",
3364 | "val": null,
3365 | "type": "text",
3366 | "placeholder": "https://www.example.com/subs/123.srt",
3367 | "desc": "兼容WebVTT和SRT格式字幕"
3368 | },
3369 | {
3370 | "id": "@DualSubs.Netflix.Settings.External.Offset",
3371 | "name": "外挂字幕: 时间偏移量",
3372 | "val": 0,
3373 | "type": "number",
3374 | "placeholder": "0",
3375 | "desc": "单位:毫秒(ms),正负整数"
3376 | },
3377 | {
3378 | "id": "@DualSubs.Netflix.Settings.External.ShowOnly",
3379 | "name": "外挂字幕: 只显示外挂字幕",
3380 | "val": false,
3381 | "type": "boolean",
3382 | "desc": "开启后仅显示外挂字幕,不做字幕合并操作"
3383 | },
3384 | {
3385 | "id": "@DualSubs.Netflix.Settings.Position",
3386 | "name": "双语字幕位置",
3387 | "val": "Forward",
3388 | "type": "radios",
3389 | "items": [
3390 | {
3391 | "key": "Forward",
3392 | "label": "第二行"
3393 | },
3394 | {
3395 | "key": "Reverse",
3396 | "label": "第一行"
3397 | }
3398 | ],
3399 | "desc": ""
3400 | },
3401 | {
3402 | "id": "@DualSubs.Netflix.Settings.CacheSize",
3403 | "name": "播放记录缓存数量",
3404 | "val": 3,
3405 | "type": "number",
3406 | "placeholder": "3",
3407 | "desc": "此选项决定同网关、同平台、同时处理和播放的数量,如果仅供本机使用,可以设置为1,如果本机作为网关处理局域网多台设备同时观看播放,建议设置此数值不小于播放设备数"
3408 | },
3409 | {
3410 | "id": "@DualSubs.Netflix.Settings.Tolerance",
3411 | "name": "时间戳公差",
3412 | "val": 1000,
3413 | "type": "number",
3414 | "placeholder": "1000",
3415 | "desc": "单位:毫秒(ms),正整数,字幕时间戳匹配时容许的误差范围"
3416 | }
3417 | ],
3418 | "author": "@DualSubs",
3419 | "repo": "https://github.com/DualSubs/DualSubs/tree/main",
3420 | "icons": [
3421 | "https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Netflix.png",
3422 | "https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Netflix.png"
3423 | ]
3424 | }
3425 | ]
3426 | }
3427 |
--------------------------------------------------------------------------------
/archive/DualSubs.YouTube.beta.boxjs.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "DualSubs.beta.app.sub",
3 | "name": "🍿️ DualSubs β",
4 | "author": "@DualSubs",
5 | "description": "流媒体平台字幕增强及双语模块",
6 | "icon": "https://avatars.githubusercontent.com/u/100578089?&v=4",
7 | "repo": "https://github.com/DualSubs",
8 | "apps": [
9 | {
10 | "id": "DualSubs.YouTube.beta",
11 | "name": "🍿️ DualSubs: ▶ YouTube β",
12 | "descs_html": [
13 | "请参照🍿️ DualSubs: ▶ YouTube的使用说明进行配置",
14 | "填写完成后别忘点击此页面底端右下角的\"保存\"。"
15 | ],
16 | "keys": [
17 | "@DualSubs.YouTube.Settings",
18 | "@DualSubs.YouTube.Caches"
19 | ],
20 | "settings": [
21 | {
22 | "id": "@DualSubs.YouTube.Settings.Switch",
23 | "name": "功能开关",
24 | "val": true,
25 | "type": "boolean",
26 | "desc": "是否启用此平台修改功能"
27 | },
28 | {
29 | "id": "@DualSubs.YouTube.Settings.Language",
30 | "name": "首选语言(兼容):",
31 | "val": "AUTO",
32 | "type": "selects",
33 | "desc": "选择后会将此语言添加为额外的字幕语言",
34 | "items": [
35 | {
36 | "key": "OFF",
37 | "label": "关闭"
38 | },
39 | {
40 | "key": "AUTO",
41 | "label": "自动"
42 | },
43 | {
44 | "key": "ZH",
45 | "label": "中文(自动)"
46 | },
47 | {
48 | "key": "ZH-HANS",
49 | "label": "中文(简体)"
50 | },
51 | {
52 | "key": "ZH-HK",
53 | "label": "中文(香港)"
54 | },
55 | {
56 | "key": "ZH-HANT",
57 | "label": "中文(繁体)"
58 | },
59 | {
60 | "key": "EN",
61 | "label": "英语(自动)"
62 | },
63 | {
64 | "key": "EN-US",
65 | "label": "英语(美国)"
66 | },
67 | {
68 | "key": "EN-US SDH",
69 | "label": "英语(美国)[CC]"
70 | },
71 | {
72 | "key": "ES",
73 | "label": "西班牙语(自动)"
74 | },
75 | {
76 | "key": "ES-ES",
77 | "label": "西班牙语"
78 | },
79 | {
80 | "key": "ES-ES SDH",
81 | "label": "西班牙语[CC]"
82 | },
83 | {
84 | "key": "ES-419",
85 | "label": "西班牙语(拉丁美洲)"
86 | },
87 | {
88 | "key": "ES-419 SDH",
89 | "label": "西班牙语(拉丁美洲)[CC]"
90 | },
91 | {
92 | "key": "JA",
93 | "label": "日文"
94 | },
95 | {
96 | "key": "KO",
97 | "label": "韩文"
98 | }
99 | ]
100 | },
101 | {
102 | "id": "@DualSubs.YouTube.Settings.Type",
103 | "name": "字幕类型(兼容)",
104 | "val": "Google",
105 | "type": "selects",
106 | "desc": "请选择要替换的字幕类型,会为不兼容的播放器替换为此字幕类型",
107 | "items": [
108 | {
109 | "key": "Official",
110 | "label": "官方"
111 | },
112 | {
113 | "key": "Baidu",
114 | "label": "百度翻译"
115 | },
116 | {
117 | "key": "BaiduFanyi",
118 | "label": "百度 翻译开放平台"
119 | },
120 | {
121 | "key": "Youdao",
122 | "label": "有道翻译"
123 | },
124 | {
125 | "key": "YoudaoAI",
126 | "label": "有道智云 AI开放平台"
127 | },
128 | {
129 | "key": "Google",
130 | "label": "Google Translate"
131 | },
132 | {
133 | "key": "GoogleCloud",
134 | "label": "Google Cloud Translate API"
135 | },
136 | {
137 | "key": "Bing",
138 | "label": "Bing Microsoft Translator"
139 | },
140 | {
141 | "key": "Azure",
142 | "label": "Microsoft Azure Translator"
143 | },
144 | {
145 | "key": "DeepL",
146 | "label": "DeepL API"
147 | },
148 | {
149 | "key": "External",
150 | "label": "外挂字幕"
151 | }
152 | ]
153 | },
154 | {
155 | "id": "@DualSubs.YouTube.Settings.Translate.ShowOnly",
156 | "name": "翻译字幕: 只显示翻译字幕",
157 | "val": false,
158 | "type": "boolean",
159 | "desc": "开启后仅显示翻译字幕,不做字幕合并操作"
160 | },
161 | {
162 | "id": "@DualSubs.YouTube.Settings.External.URL",
163 | "name": "外挂字幕: URL",
164 | "val": null,
165 | "type": "text",
166 | "placeholder": "https://www.example.com/subs/123.srt",
167 | "desc": "兼容WebVTT和SRT格式字幕"
168 | },
169 | {
170 | "id": "@DualSubs.YouTube.Settings.External.Offset",
171 | "name": "外挂字幕: 时间偏移量",
172 | "val": 0,
173 | "type": "number",
174 | "placeholder": "0",
175 | "desc": "单位:毫秒(ms),正负整数"
176 | },
177 | {
178 | "id": "@DualSubs.YouTube.Settings.External.ShowOnly",
179 | "name": "外挂字幕: 只显示外挂字幕",
180 | "val": false,
181 | "type": "boolean",
182 | "desc": "开启后仅显示外挂字幕,不做字幕合并操作"
183 | },
184 | {
185 | "id": "@DualSubs.YouTube.Settings.Position",
186 | "name": "双语字幕位置",
187 | "val": "Forward",
188 | "type": "radios",
189 | "items": [
190 | {
191 | "key": "Forward",
192 | "label": "第二行"
193 | },
194 | {
195 | "key": "Reverse",
196 | "label": "第一行"
197 | }
198 | ],
199 | "desc": "首选语言所在的行数"
200 | },
201 | {
202 | "id": "@DualSubs.YouTube.Settings.CacheSize",
203 | "name": "播放记录缓存数量",
204 | "val": 3,
205 | "type": "number",
206 | "placeholder": "3",
207 | "desc": "此选项决定同网关、同平台、同时处理和播放的数量,如果仅供本机使用,可以设置为1,如果本机作为网关处理局域网多台设备同时观看播放,建议设置此数值不小于播放设备数"
208 | },
209 | {
210 | "id": "@DualSubs.YouTube.Settings.Tolerance",
211 | "name": "时间戳公差",
212 | "val": 1000,
213 | "type": "number",
214 | "placeholder": "1000",
215 | "desc": "单位:毫秒(ms),正整数,字幕时间戳匹配时容许的误差范围"
216 | }
217 | ],
218 | "author": "@DualSubs",
219 | "repo": "https://github.com/DualSubs/YouTube/tree/beta",
220 | "icons": [
221 | "https://github.com/DualSubs/YouTube/raw/main/database/icon.png",
222 | "https://github.com/DualSubs/YouTube/raw/main/database/icon.png"
223 | ]
224 | }
225 | ]
226 | }
227 |
--------------------------------------------------------------------------------
/archive/DualSubs.YouTube.boxjs.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "DualSubs.app.sub",
3 | "name": "🍿️ DualSubs",
4 | "author": "@DualSubs",
5 | "description": "流媒体平台字幕增强及双语模块",
6 | "icon": "https://avatars.githubusercontent.com/u/100578089?&v=4",
7 | "repo": "https://github.com/DualSubs",
8 | "apps": [
9 | {
10 | "id": "DualSubs.YouTube",
11 | "name": "🍿️ DualSubs: ▶ YouTube",
12 | "descs_html": [
13 | "请参照🍿️ DualSubs: ▶ YouTube的使用说明进行配置",
14 | "填写完成后别忘点击此页面底端右下角的\"保存\"。"
15 | ],
16 | "keys": [
17 | "@DualSubs.YouTube.Settings",
18 | "@DualSubs.YouTube.Caches"
19 | ],
20 | "settings": [
21 | {
22 | "id": "@DualSubs.YouTube.Settings.Switch",
23 | "name": "功能开关",
24 | "val": true,
25 | "type": "boolean",
26 | "desc": "是否启用此平台修改功能"
27 | },
28 | {
29 | "id": "@DualSubs.YouTube.Settings.Language",
30 | "name": "首选语言(兼容):",
31 | "val": "AUTO",
32 | "type": "selects",
33 | "desc": "选择后会将此语言添加为额外的字幕语言",
34 | "items": [
35 | {
36 | "key": "OFF",
37 | "label": "关闭"
38 | },
39 | {
40 | "key": "AUTO",
41 | "label": "自动"
42 | },
43 | {
44 | "key": "ZH",
45 | "label": "中文(自动)"
46 | },
47 | {
48 | "key": "ZH-HANS",
49 | "label": "中文(简体)"
50 | },
51 | {
52 | "key": "ZH-HK",
53 | "label": "中文(香港)"
54 | },
55 | {
56 | "key": "ZH-HANT",
57 | "label": "中文(繁体)"
58 | },
59 | {
60 | "key": "EN",
61 | "label": "英语(自动)"
62 | },
63 | {
64 | "key": "EN-US",
65 | "label": "英语(美国)"
66 | },
67 | {
68 | "key": "EN-US SDH",
69 | "label": "英语(美国)[CC]"
70 | },
71 | {
72 | "key": "ES",
73 | "label": "西班牙语(自动)"
74 | },
75 | {
76 | "key": "ES-ES",
77 | "label": "西班牙语"
78 | },
79 | {
80 | "key": "ES-ES SDH",
81 | "label": "西班牙语[CC]"
82 | },
83 | {
84 | "key": "ES-419",
85 | "label": "西班牙语(拉丁美洲)"
86 | },
87 | {
88 | "key": "ES-419 SDH",
89 | "label": "西班牙语(拉丁美洲)[CC]"
90 | },
91 | {
92 | "key": "JA",
93 | "label": "日文"
94 | },
95 | {
96 | "key": "KO",
97 | "label": "韩文"
98 | }
99 | ]
100 | },
101 | {
102 | "id": "@DualSubs.YouTube.Settings.Type",
103 | "name": "字幕类型(兼容)",
104 | "val": "Google",
105 | "type": "selects",
106 | "desc": "请选择要替换的字幕类型,会为不兼容的播放器替换为此字幕类型",
107 | "items": [
108 | {
109 | "key": "Official",
110 | "label": "官方"
111 | }
112 | ]
113 | },
114 | {
115 | "id": "@DualSubs.YouTube.Settings.Translate.ShowOnly",
116 | "name": "翻译字幕: 只显示翻译字幕",
117 | "val": false,
118 | "type": "boolean",
119 | "desc": "开启后仅显示翻译字幕,不做字幕合并操作"
120 | },
121 | {
122 | "id": "@DualSubs.YouTube.Settings.Position",
123 | "name": "双语字幕位置",
124 | "val": "Forward",
125 | "type": "radios",
126 | "items": [
127 | {
128 | "key": "Forward",
129 | "label": "第二行"
130 | },
131 | {
132 | "key": "Reverse",
133 | "label": "第一行"
134 | }
135 | ],
136 | "desc": "首选语言所在的行数"
137 | }
138 | ],
139 | "author": "@DualSubs",
140 | "repo": "https://github.com/DualSubs/YouTube/tree/main",
141 | "icons": [
142 | "https://github.com/DualSubs/YouTube/raw/main/database/icon.png",
143 | "https://github.com/DualSubs/YouTube/raw/main/database/icon.png"
144 | ]
145 | }
146 | ]
147 | }
148 |
--------------------------------------------------------------------------------
/biome.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
3 | "files": {
4 | "ignore": [
5 | "**/*.bundle.js"
6 | ],
7 | "ignoreUnknown": false
8 | },
9 | "formatter": {
10 | "enabled": true,
11 | "indentStyle": "tab",
12 | "indentWidth": 2,
13 | "lineEnding": "lf",
14 | "lineWidth": 240
15 | },
16 | "javascript": {
17 | "formatter": {
18 | "arrowParentheses": "asNeeded",
19 | "bracketSameLine": true,
20 | "quoteStyle": "double"
21 | }
22 | },
23 | "json": {
24 | "parser": {
25 | "allowComments": true,
26 | "allowTrailingCommas": true
27 | }
28 | },
29 | "linter": {
30 | "enabled": true,
31 | "rules": {
32 | "complexity": {
33 | "noForEach": "off",
34 | "noStaticOnlyClass": "off",
35 | "noUselessSwitchCase": "off",
36 | "useArrowFunction": "info",
37 | "useFlatMap": "off",
38 | "useLiteralKeys": "info"
39 | },
40 | "correctness": {
41 | "noInnerDeclarations": "info",
42 | "noSelfAssign": "off",
43 | "noSwitchDeclarations": "info"
44 | },
45 | "recommended": true,
46 | "style": {
47 | "noNegationElse": "off",
48 | "noParameterAssign": "off",
49 | "noUselessElse": "off",
50 | "noVar": "info",
51 | "useDefaultParameterLast": "info",
52 | "useForOf": "error",
53 | "useNodejsImportProtocol": "error",
54 | "useNumberNamespace": "error",
55 | "useSingleVarDeclarator": "off"
56 | },
57 | "suspicious": {
58 | "noAssignInExpressions": "info",
59 | "noFallthroughSwitchClause": "info",
60 | "useDefaultSwitchClauseLast": "off"
61 | }
62 | }
63 | },
64 | "organizeImports": {
65 | "enabled": true
66 | },
67 | "vcs": {
68 | "clientKind": "git",
69 | "enabled": true,
70 | "useIgnoreFile": true
71 | }
72 | }
73 |
--------------------------------------------------------------------------------