diff --git a/projects/6acaea0a-2a42-470a-9bc0-528c1ae658eb/Checkpoint 2026-11-13 14-13-54 UTC [7c95d5141f].md b/projects/6acaea0a-2a42-470a-9bc0-528c1ae658eb/Checkpoint 2026-11-13 14-13-54 UTC [7c95d5141f].md new file mode 100644 index 0000000..365662c --- /dev/null +++ b/projects/6acaea0a-2a42-470a-9bc0-528c1ae658eb/Checkpoint 2026-11-13 14-13-54 UTC [7c95d5141f].md @@ -0,0 +1,47 @@ +--- +title: Checkpoint 2026-11-13 14:13:54 UTC [7c95d5141f] +type: checkpoint +permalink: main/projects/6acaea0a-2a42-470a-9bc0-528c1ae658eb/checkpoint-2026-11-13-14-13-54-utc-7c95d5141f +stable_id: e1c81791-cc94-4633-a978-ec49ea04870e +scope: project +memory_type: checkpoint +project_id: 6acaea0a-2a42-470a-9bc0-528c1ae658eb +usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998 +status: active +revision: 1 +request_id: ckpt-iptv-probe-20261113 +created_at: '2026-11-13T14:13:54.706574+00:00' +updated_at: '2026-11-13T14:13:54.706574+00:00' +tags: +- milestone +- probe +--- + +## 完成 +实现并验证「自动匹配当前网络可用线路」工具。 + +## 原因 +公开 IPTV 源大量失效/专网不可达;需要按本机网络实测筛选。 + +## 关键实现 +- `Probe-Iptv.ps1`:Download → Parse/聚合 → RunspacePool 并发探测 → 每频道挑延迟最优可用 URL +- `sources.json` 管理上游;复用并抽取 `IptvCommon.ps1`;`Dedup-Iptv.ps1` 改为引用共用模块 +- `更新可用线路.bat` / `打开电视.bat` 优先可用列表 + +## 验证 +- 语法解析通过;Limit 小样探测通过 +- 全量:可用频道 **1048**/1217,可用 URL 2172/2556,约 73s,输出 `可用-当前网络.m3u` + +## 问题与解决 +- PS5.1 `@($Generic.List)` 报 Argument types do not match → 改 `.ToArray()` / ArrayList +- ArrayList.Add 回显序号 → `[void]` + +## 下一步 +- 可按需加定时任务自动刷新 +- 可扩展 sources.json 增加更多上游 +- 仓库尚未 git init(协作规则不擅自 init) + +## 给下个会话 +- 工作区即 `E:\code\IPTV`;先读 `说明.txt` 与 `probe_report.json` +- 用户若要更准可用,可加 ffmpeg/ffprobe 二次校验(当前是 HTTP 抽样) +- 不要静默把 cs3306 并入默认探测(sources 里 probe_default=false) \ No newline at end of file