dsh-folia 4.23.13 → 4.23.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,6 +14,10 @@
14
14
  * + installStallMs("下完但没落地"的宽容窗口,4.23.6)
15
15
  * POST /folia/downloads/cancel {id} → 取消(保留 .part 供续传)
16
16
  * GET /folia/local-media/<id> → 已落地文件的字节(Range/HEAD 复用 serveFile)
17
+ * POST /folia/local-heal {id|localUrl, …} → **播放失败自愈**(4.23.15):验本地副本,
18
+ * 坏⇒删+单流重下;内容没问题⇒切 1080p / 明说解不了
19
+ * GET /folia/local-check → 坏文件账本(损坏/已清理/待重下)+ 最近发现清单
20
+ * POST /folia/local-verify → **全量**校验并修复(面板「校验并修复本地媒体」)
17
21
  *
18
22
  * 注入契约:`disposers` / `base` / `serveFile` / `log`(队列由本模块自建单例)。
19
23
  */
@@ -26,7 +30,9 @@ import { createDownloadQueue, normalizePriority, normalizeSha256, PRIORITIES } f
26
30
  import { pickVariant, pickQuality } from '../variant-pick.js';
27
31
  // **缓存族**(4.23.8):原画与 1080p 变体是同一条缓存。判据见 test/verify-switch-smooth.mjs。
28
32
  import { pickFamilyCopy } from '../switch-cache-family.js';
29
- export const DEPS = ['disposers', 'base', 'serveFile', 'log'];
33
+ // **本地副本自愈**(4.23.15):验成品字节、发现坏文件就删+重下、解不了就换 1080p。
34
+ import { createMediaSelfHeal } from '../media-selfheal.js';
35
+ export const DEPS = ['disposers', 'base', 'serveFile', 'log', 'transcodeToPlayable', 'transcodePlayablePathFor', 'transcodePlayableProgress'];
30
36
 
31
37
  /** 本地库与状态文件的位置(与其它路由同一口径:DSH_HOME 或桌面端的 harness 目录)。 */
32
38
  function dshHome() {
@@ -40,6 +46,35 @@ export function getDownloadQueue(log) {
40
46
  return QUEUE;
41
47
  }
42
48
 
49
+ /** 进程内单例:坏文件账本要跨请求累计(面板读数与全量校验看的是同一份数字)。 */
50
+ let SELF_HEAL = null;
51
+ /**
52
+ * 救援转码的**注入位**:`createMediaSelfHeal` 在模块单例化时把当时拿到的函数记下来。
53
+ *
54
+ * 为什么用模块级变量而不是把它塞进 `getMediaSelfHeal()` 的第二个参数:自愈单例可能
55
+ * 被 `localCopyFor()` 之外的路径**先**创建(例如某次请求只碰了队列),那时的调用点
56
+ * 没有注入面。这一段让"注册顺序"不再决定"救援转码能不能用" —— 少了它就是一条
57
+ * 只在特定调用顺序下才失效的静默缺陷。
58
+ */
59
+ let RESCUE = null;
60
+ /** 救援转码的**进度**查询(同上:注入位,供"正在生成 x%"那条文案用)。 */
61
+ let RESCUE_PROGRESS = null;
62
+ export function getMediaSelfHeal(log) {
63
+ if (!SELF_HEAL) {
64
+ SELF_HEAL = createMediaSelfHeal({
65
+ queue: getDownloadQueue(log),
66
+ log: log || (() => {}),
67
+ // dest 的散列规则只有 `libraryDest` 一份 ⇒ 以函数注入,不在这里重算。
68
+ destFor: (url, kind) => destForUrl(url, kind),
69
+ // 救援转码(最后一档):缺席 ⇒ 该档不可用(行为与 4.23.14 等价,不会假装成功)。
70
+ transcodeToPlayable: RESCUE,
71
+ transcodeProgressOf: RESCUE_PROGRESS,
72
+ transcodeWaitMs: Number(process.env.DSH_FOLIA_HEAL_TRANSCODE_WAIT_MS) || undefined,
73
+ });
74
+ }
75
+ return SELF_HEAL;
76
+ }
77
+
43
78
  /**
44
79
  * 「下载已完成但没落地」的宽容窗口(4.23.6)——**宿主侧的唯一真源**。
45
80
  *
@@ -66,6 +101,23 @@ function libraryDest(kind, slug, ext) {
66
101
  return join(dshHome(), 'library', String(kind || 'media'), h + '.' + ext);
67
102
  }
68
103
 
104
+ /**
105
+ * URL → 落盘路径(`libraryDest` 的**唯一**调用口径,导出给自愈模块注入用)。
106
+ *
107
+ * 为什么抽出来:自愈要给 1080p 变体算 dest,而 dest 的散列规则**只许有一份** ——
108
+ * 两处各写一遍,只要有一处漂了(例如 ext 的兜底不同),同一份内容就会落成两个文件,
109
+ * 于是"下过了还是没命中",那正是 4.23.8 花一整轮修掉的形态。
110
+ * @param {string} rawUrl
111
+ * @param {string} [kind]
112
+ * @returns {string}
113
+ */
114
+ export function destForUrl(rawUrl, kind = 'wallpaper') {
115
+ const u = new URL(String(rawUrl));
116
+ const ext = (u.pathname.match(/\.([a-z0-9]{2,5})$/i) || [])[1] || 'bin';
117
+ const slug = u.pathname.split('/').filter(Boolean).pop() || 'item';
118
+ return libraryDest(kind, slug, ext);
119
+ }
120
+
69
121
  /**
70
122
  * inventory 用:这条站点资源**是否已经落到本地**,以及它的 job id。
71
123
  * 命中 ⇒ inventory 把 `media` 指向 `/folia/local-media/<id>`(渲染只读本地)。
@@ -75,6 +127,9 @@ export function localCopyFor(url, kind = 'wallpaper') {
75
127
  try {
76
128
  const job = queueJobFor(url, kind);
77
129
  if (!job || job.status !== 'done') return null;
130
+ // 4.23.15:这份本地内容**内容没错、只是本机解不了**(自愈判过)⇒ 不要再把它选给播放器。
131
+ // 跳过之后 `localFamilyCopyFor()` 会落到同族的 1080p 变体上 —— 这正是用户要的"自动切变体"。
132
+ if (job.decodeUnsupported === true) return null;
78
133
  return { id: job.id, url: `/folia/local-media/${job.id}`, bytes: job.total };
79
134
  } catch { return null; }
80
135
  }
@@ -97,7 +152,11 @@ export function localFamilyCopyFor(url, kind = 'wallpaper') {
97
152
  if (exact) return { id: exact.id, url: exact.url, bytes: exact.bytes, family: false };
98
153
  const q = getDownloadQueue();
99
154
  const jobs = typeof q.snapshot === 'function' ? q.snapshot() : [];
100
- const hit = pickFamilyCopy(jobs, url, kind);
155
+ // 4.23.15:**优先选"本机能解"的那一份**。原画被自愈判成"解不了"之后,
156
+ // 族里那一份 1080p 才是该播的;但族里若只有它自己(没有变体),
157
+ // 仍然回落到本地那一份 —— 本地直出永远好过再走一次网络(两者都解不了,至少不白付流量)。
158
+ const playable = jobs.filter((j) => !(j && j.decodeUnsupported === true));
159
+ const hit = pickFamilyCopy(playable, url, kind) || pickFamilyCopy(jobs, url, kind);
101
160
  if (!hit || !hit.job) return null;
102
161
  return { id: hit.job.id, url: `/folia/local-media/${hit.job.id}`, bytes: hit.job.total, family: true };
103
162
  } catch { return null; }
@@ -124,11 +183,7 @@ export function isSlowHostUrl(url) {
124
183
  */
125
184
  export function queueJobFor(url, kind = 'wallpaper') {
126
185
  try {
127
- const u = new URL(String(url));
128
- const ext = (u.pathname.match(/\.([a-z0-9]{2,5})$/i) || [])[1] || 'bin';
129
- const slug = u.pathname.split('/').filter(Boolean).pop() || 'item';
130
- const dest = libraryDest(kind, slug, ext);
131
- return getDownloadQueue().jobFor(dest);
186
+ return getDownloadQueue().jobFor(destForUrl(url, kind));
132
187
  } catch { return null; }
133
188
  }
134
189
 
@@ -147,9 +202,17 @@ export function queueSummary() {
147
202
  }
148
203
 
149
204
  export function registerDownloadsRoutes(webServer, c) {
150
- const { disposers, base, serveFile, log } = c;
205
+ const { disposers, base, serveFile, log, transcodeToPlayable, transcodePlayablePathFor, transcodePlayableProgress } = c;
151
206
  const downloadQueue = getDownloadQueue(log);
152
207
  const BASE = base;
208
+ // 4.23.15:救援转码的注入位必须在**建自愈单例之前**填好(见 RESCUE 的注释)。
209
+ if (typeof transcodeToPlayable === 'function') RESCUE = transcodeToPlayable;
210
+ if (typeof transcodePlayableProgress === 'function') RESCUE_PROGRESS = transcodePlayableProgress;
211
+ // 4.23.15:**本地副本自愈**。挂载即排一次采样(30s 后、`unref`、不阻塞、不弹窗)。
212
+ // 为什么在这里排:本文件是"本地库"这件事的唯一归属地(队列 + dest 规则 + 字节直出),
213
+ // 自检的输入全都来自它;另开一族只为一行 setTimeout 不值当。
214
+ const selfHeal = getMediaSelfHeal(log);
215
+ try { selfHeal.scheduleStartupSample(); } catch { /* 定时器起不来不影响接口 */ }
153
216
 
154
217
  const readBody = (req, limit = 64 * 1024) => new Promise((resolve) => {
155
218
  let acc = '';
@@ -209,6 +272,10 @@ export function registerDownloadsRoutes(webServer, c) {
209
272
  quality: (it && it.quality) || bodyQuality,
210
273
  hostSlow: (() => { try { return downloadQueue.isSlowHost(u.host); } catch { return false; } })(),
211
274
  screenHeight: Number((it && it.screenHeight) || (body && body.screenHeight)) || 0,
275
+ // 4.23.15:**解码上限预判**。5916×2530 的原画在 Chromium 上必解码失败,
276
+ // 与"链路快不快"无关 ⇒ 选档阶段就要避开(理由见 lib/variant-pick.js 的 decode-limit)。
277
+ originalWidth: Number(it && it.width) || 0,
278
+ originalHeight: Number(it && it.height) || 0,
212
279
  });
213
280
  const finalUrl = pick.url || u.toString();
214
281
  // 选中变体时 URL 会变(原画 → 1080p,或反过来):解析失败就退回请求里那个,
@@ -263,16 +330,95 @@ export function registerDownloadsRoutes(webServer, c) {
263
330
  }));
264
331
 
265
332
  // 本地库字节直出:Range / HEAD 由 serveFile 统一处理(与 /media 同一条实现)。
333
+ // `?playable=1`(4.23.15):出的是**救援转码产物**(H.264 / yuv420p / ≤1080p 副本),
334
+ // 而不是库里的原文件。产物不存在时回 404 —— **绝不静默改回播原片**:那会让客户端
335
+ // 以为"已经修好了"却再次撞上同一个解码错误。
266
336
  disposers.push(webServer.register({
267
337
  kind: 'prefix',
268
338
  path: `${BASE}/local-media`,
269
339
  handler: (req, res) => {
270
340
  const method = (req.method || 'GET').toUpperCase();
271
341
  if (method !== 'GET' && method !== 'HEAD') { send(res, 405, { ok: false, error: 'method-not-allowed' }); return; }
272
- const id = String(req.url || '').split('?')[0].split('/').filter(Boolean).pop() || '';
273
- const abs = downloadQueue.pathFor(id);
274
- if (!abs) { send(res, 404, { ok: false, error: 'not-downloaded' }); return; }
342
+ const raw = String(req.url || '');
343
+ const noQuery = raw.split('?')[0];
344
+ const query = raw.slice(noQuery.length);
345
+ const id = noQuery.split('/').filter(Boolean).pop() || '';
346
+ const wantPlayable = /(?:^|[?&])playable=1(?:&|$)/.test(query);
347
+ const src = downloadQueue.pathFor(id);
348
+ if (!src) { send(res, 404, { ok: false, error: 'not-downloaded' }); return; }
349
+ /** @type {string | null} */
350
+ let abs = src;
351
+ if (wantPlayable) {
352
+ let p;
353
+ try { p = typeof transcodePlayablePathFor === 'function' ? transcodePlayablePathFor(src) : null; } catch { p = null; }
354
+ if (!p) { send(res, 404, { ok: false, error: 'playable-not-ready' }); return; }
355
+ abs = p;
356
+ }
275
357
  serveFile(abs, req, res, method === 'HEAD');
276
358
  },
277
359
  }));
360
+
361
+ /**
362
+ * **播放失败自愈**(4.23.15,P0)。`POST /folia/local-heal`。
363
+ *
364
+ * 客户端 `<video>` 报 error 且当前源是 `/folia/local-media/<id>` 时才会调到这里;
365
+ * 本路由只做一件事:把"这条本地副本"交给 `media-selfheal` 的判定,然后按结论动作:
366
+ * corrupt ⇒ 删成品 + 作废完成记录 + 单流重下(响应里带同一个 jobId,客户端轮询重挂)
367
+ * variant ⇒ 入队 1080p 变体(响应里带新 jobId 与本地地址)
368
+ * 其余 ⇒ 只回结论,客户端据此说清「本机不支持该编码」/「超出本机解码能力」
369
+ *
370
+ * ⚠️ **命名是判据,不是风格**:这条**不能**叫 `/media/heal` —— `/media` 是已注册的
371
+ * **prefix** 路由(`lib/routes/media-bytes.js`,而且比本族先注册),同前缀的子路径会被它
372
+ * 吃掉,客户端只会看到"接口不存在"。同理不能挂在 `/local-media` 下(那也是 prefix)。
373
+ * 所以三条自愈接口一律 `local-*`(与 `local-media` 互不为前缀)。
374
+ */
375
+ disposers.push(webServer.register({
376
+ kind: 'exact',
377
+ path: `${BASE}/local-heal`,
378
+ handler: async (req, res) => {
379
+ if ((req.method || 'GET').toUpperCase() !== 'POST') { send(res, 405, { ok: false, error: 'method-not-allowed' }); return; }
380
+ const body = (await readBody(req)) || {};
381
+ let out;
382
+ try {
383
+ out = await selfHeal.heal({
384
+ id: String(body.id || ''),
385
+ localUrl: String(body.localUrl || ''),
386
+ originUrl: String(body.originUrl || ''),
387
+ sha256: String(body.sha256 || ''),
388
+ variants: body.variants,
389
+ base: String(body.base || ''),
390
+ title: String(body.title || ''),
391
+ playing1080p: body.playing1080p === true,
392
+ });
393
+ } catch (e) {
394
+ log('local-heal failed: ' + String((e && e.message) || e));
395
+ out = { verdict: 'error', message: String((e && e.message) || e) };
396
+ }
397
+ send(res, 200, { ok: true, ...out });
398
+ },
399
+ }));
400
+
401
+ /** 坏文件账本(只读):面板「损坏文件:N 个(已清理/待重下)」读这一格。 */
402
+ disposers.push(webServer.register({
403
+ kind: 'exact',
404
+ path: `${BASE}/local-check`,
405
+ handler: (req, res) => { send(res, 200, { ok: true, health: selfHeal.health() }); },
406
+ }));
407
+
408
+ /**
409
+ * **全量**校验并修复(面板「校验并修复本地媒体」)。判据与启动采样同一条代码路径,
410
+ * 只是范围从"最近 20 个"变成"全部已落地成品"。
411
+ */
412
+ disposers.push(webServer.register({
413
+ kind: 'exact',
414
+ path: `${BASE}/local-verify`,
415
+ handler: async (req, res) => {
416
+ if ((req.method || 'GET').toUpperCase() !== 'POST') { send(res, 405, { ok: false, error: 'method-not-allowed' }); return; }
417
+ let out;
418
+ try { out = await selfHeal.verifyAllP(); } catch (e) {
419
+ out = { checked: 0, damaged: 0, items: [], error: String((e && e.message) || e) };
420
+ }
421
+ send(res, 200, { ok: true, ...out, health: selfHeal.health() });
422
+ },
423
+ }));
278
424
  }
@@ -340,6 +340,10 @@ function foliaItemFromCatalog(it, base) {
340
340
  quality: process.env.DSH_FOLIA_QUALITY,
341
341
  hostSlow: (() => { try { return isSlowHostUrl(String(media)); } catch { return false; } })(),
342
342
  screenHeight: 0, // 宿主不知道屏幕高度 ⇒ 只按速度判;入队时客户端会补上
343
+ // 4.23.15:**解码上限预判**也要在清单时刻参与 —— 卡片上的「1080p」小标与
344
+ // 入队时那一枪必须给出同一个结论,否则用户会看到"卡片说 1080p、实际下了原画"。
345
+ originalWidth: num(it && it.width) || 0,
346
+ originalHeight: num(it && it.height) || 0,
343
347
  });
344
348
  } catch { return null; }
345
349
  })();
@@ -366,6 +370,13 @@ function foliaItemFromCatalog(it, base) {
366
370
  width: num(it && it.width),
367
371
  height: num(it && it.height),
368
372
  durationMs: num(it && it.durationMs),
373
+ // 4.23.15:站点清单的 sha256 **必须透传到客户端**。播放失败自愈要靠它回答
374
+ // "这份本地副本是坏了,还是只是本机解不了" —— 而客户端手里只有这条清单。
375
+ // 空串(站点没给)⇒ null:让"没给"与"给了个空值"在链路上不混为一谈。
376
+ sha256: (() => {
377
+ const v = String((it && it.sha256) || '').trim().toLowerCase();
378
+ return /^[0-9a-f]{64}$/.test(v) ? v : null;
379
+ })(),
369
380
  };
370
381
  }
371
382
 
@@ -26,6 +26,49 @@ export const SAVER_SCREEN_MAX = 1440;
26
26
  /** 设置项白名单(`videoQuality`)。 */
27
27
  export const QUALITY_MODES = ['auto', 'original', 'saver'];
28
28
 
29
+ /**
30
+ * **本机解码上限**(4.23.15)。超过它就不是"清晰度偏好"问题了,而是**播不出来**:
31
+ * Chromium 的软/硬解在 4096×2160 之外基本必然 `MEDIA_ERR_SRC_NOT_SUPPORTED`。
32
+ *
33
+ * 真实案例(另一台机器):壁纸「原神 绫华」原画 **5916×2530**,站点明明给了 689 万字节的
34
+ * 1080p 变体,却因为"链路很快 + 屏幕够大"选了原画 ⇒ 播放器报「浏览器无法解码这段视频」。
35
+ * 选档这条判据当时只看速度/体积/屏高,**完全不看源有多大** —— 这就是那个洞。
36
+ *
37
+ * 三档口径(顺序即精度):
38
+ * · 宽高都知道:`w > 4096 || h > 2160 || w*h > 3840*2160`;
39
+ * · 只知道高:`h > 1440`(清单里 width/height 可能缺,此时按保守口径退化);
40
+ * · 只知道宽:`w > 2560`;
41
+ * · 都不知道:不判(**绝不猜** —— 没有证据就把所有大文件降档等于替用户改画质)。
42
+ */
43
+ export const DECODE_MAX_WIDTH = 4096;
44
+ export const DECODE_MAX_HEIGHT = 2160;
45
+ export const DECODE_MAX_PIXELS = 3840 * 2160;
46
+ /** 尺寸缺一半时的退化阈值(用户口径原文:"为空时退化为按 height>1440 或 width>2560 判断")。 */
47
+ export const DECODE_FALLBACK_WIDTH = 2560;
48
+ export const DECODE_FALLBACK_HEIGHT = 1440;
49
+
50
+ /**
51
+ * 源是否超出**本机解码上限**。返回 `''` = 没超(或不知道);否则返回判据名(排障用)。
52
+ *
53
+ * 纯函数、零依赖 —— 判据见 `test/verify-variants.mjs` 的「解码上限」一节。
54
+ * @param {number} width
55
+ * @param {number} height
56
+ * @returns {string}
57
+ */
58
+ export function decodeLimitHit(width, height) {
59
+ const w = Number(width) || 0;
60
+ const h = Number(height) || 0;
61
+ if (w > 0 && h > 0) {
62
+ if (w > DECODE_MAX_WIDTH) return 'width>' + DECODE_MAX_WIDTH;
63
+ if (h > DECODE_MAX_HEIGHT) return 'height>' + DECODE_MAX_HEIGHT;
64
+ if (w * h > DECODE_MAX_PIXELS) return 'pixels>' + DECODE_MAX_PIXELS;
65
+ return '';
66
+ }
67
+ if (h > 0) return h > DECODE_FALLBACK_HEIGHT ? 'height>' + DECODE_FALLBACK_HEIGHT + '(fallback)' : '';
68
+ if (w > 0) return w > DECODE_FALLBACK_WIDTH ? 'width>' + DECODE_FALLBACK_WIDTH + '(fallback)' : '';
69
+ return '';
70
+ }
71
+
29
72
  /** 质量设置归一键:非法/缺失 ⇒ `auto`(不因为一个拼错的设置把画质偷偷降掉)。 */
30
73
  export function pickQuality(raw) {
31
74
  const v = String(raw == null ? '' : raw).trim().toLowerCase();
@@ -91,6 +134,8 @@ export function pick1080(variants) {
91
134
  * · `quality` `auto` | `original` | `saver`
92
135
  * · `hostSlow` 该域是否已被队列 3 秒实测判为慢(< 0.6 MB/s)
93
136
  * · `screenHeight` 屏幕高度(px;0/缺省 = 不知道 ⇒ 只按速度判)
137
+ * · `originalWidth` 原画宽度(4.23.15;0/缺省 = 不知道 ⇒ 解码上限那条不判)
138
+ * · `originalHeight` 原画高度(同上)
94
139
  * 返回:`{ chosen: 'original'|'1080p', url, height, reason, variants }`。
95
140
  *
96
141
  * @param {any} [inp]
@@ -109,6 +154,19 @@ export function pickVariant(inp) {
109
154
  const pickTo1080 = (reason) => ({ chosen: '1080p', url: v1080.url, height: v1080.height || 1080, reason, variants });
110
155
  // ③ 省流档:只要有合法变体就降。
111
156
  if (quality === 'saver') return pickTo1080('quality-saver');
157
+ /**
158
+ * ③b **解码上限**(4.23.15):源宽高超出本机解码能力 ⇒ 无论链路多快都优先 1080p。
159
+ *
160
+ * 为什么排在慢链路**之前**:慢链路是"体验偏好"(等多久),解码上限是"能不能播"
161
+ * (0 和 1 的差别)。5916×2530 的源在快链路上**必然**播不出来,而 1080p 变体一定播得出来
162
+ * —— 这个顺序没有取舍空间。
163
+ *
164
+ * ⚠️ `quality === 'original'`(用户在面板上点了「用原画」)在 ① 就返回了,**不受这条影响**:
165
+ * 那是用户明确的取舍,替他把画质降掉比让他自己点「用原画」更糟。真播不出来时由播放失败
166
+ * 自愈接管(`/folia/local-heal`),届时会带一句说明再换档/转码。
167
+ */
168
+ const limitHit = decodeLimitHit(Number(o.originalWidth) || 0, Number(o.originalHeight) || 0);
169
+ if (limitHit) return pickTo1080('decode-limit');
112
170
  // ④ 慢链路(队列 3 秒实测 < 0.6 MB/s)。
113
171
  if (o.hostSlow === true) return pickTo1080('slow-link');
114
172
  // ⑤ 原画够大、屏幕又不够大(1440 及以下看不出差别)。
@@ -126,6 +184,7 @@ export const VARIANT_REASONS = {
126
184
  'quality-original': 'quality=original',
127
185
  'no-variant': 'no-variant',
128
186
  'quality-saver': 'quality=saver',
187
+ 'decode-limit': 'decode-limit(>4096x2160)',
129
188
  'slow-link': 'slow-link(<0.6MB/s)',
130
189
  'big-file-small-screen': 'big-file(>20MB)&screen<=1440',
131
190
  'auto-original': 'auto-original',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-folia",
3
- "version": "4.23.13",
3
+ "version": "4.23.15",
4
4
  "description": "Folia 壁纸引擎:把本机 Wallpaper Engine 壁纸搬进 DSH 界面(场景实时渲染 / 视频 / 网页),内置液态玻璃与 Folia 吉祥物,并可从自建站点拉取壁纸。单包形态(组件已合并)。",
5
5
  "type": "module",
6
6
  "engines": {
@@ -75,6 +75,8 @@
75
75
  "lib/media/video-preview.js",
76
76
  "lib/media/frame-store.js",
77
77
  "lib/media/media-dirs.js",
78
+ "lib/media-verify.js",
79
+ "lib/media-selfheal.js",
78
80
  "lib/media-origin.js",
79
81
  "lib/inventory.js",
80
82
  "lib/serve.js",