Files
MemRelay/projects/6acaea0a-2a42-470a-9bc0-528c1ae658eb/Checkpoint 2026-11-13 15-21-31 UTC [c76dbc4bd5].md
T
memrelay d95faabf8e create: Checkpoint 2026-11-13 15:21:31 UTC [c76dbc4bd5]
MemRelay-Operation: checkpoint-save:iptv-ckpt-refresh-ui-20261113t1521
MemRelay-Resource: ad86e524-0adb-4628-9530-f0cf87207d70
2026-11-13 23:21:34 +08:00

43 lines
1.8 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: Checkpoint 2026-11-13 15:21:31 UTC [c76dbc4bd5]
type: checkpoint
permalink: main/projects/6acaea0a-2a42-470a-9bc0-528c1ae658eb/checkpoint-2026-11-13-15-21-31-utc-c76dbc4bd5
stable_id: ad86e524-0adb-4628-9530-f0cf87207d70
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: iptv-ckpt-refresh-ui-20261113t1521
created_at: '2026-11-13T15:21:31.401146+00:00'
updated_at: '2026-11-13T15:21:31.401146+00:00'
---
## 完成
- 更新线路可调并发/overtime,标题栏显示拉取与探测进度。
- 探测跟随 HLS 分片,减少「延迟低但播不了」的虚假可用。
- 打开已选 PLAY_MAX=2000;筛选 AND:分类+分组+来源+关键词+延迟。
## 原因
用户要求更新线路显示进度并可调协程数。
## 关键实现
- app/progress.py emit 共享 dict
- app/web.py _refresh_state + Query concurrency 8-400、timeout 2-20
- templates/index.html 标题栏进度条、400ms 轮询、localStorage
- app/probe.py HLS 最多 3 跳,ui_every=40 更新
## 验证
浏览器 http://127.0.0.1:8787/ 点更新线路并发=48 超时=5:stage=download 26/29 后 probe 4400/9512 可用 2398;按钮与输入框禁用,进度条满宽。
## 下一步
- 当前探测仍在跑(9512 URL,并发 48),完成后页面会自动刷新,可用数可能下降(HLS 更严)。
- 不要 git init。不要特意让 19 Y/O / teen amateur 可播。
- Web 更新不含 mega 成人源;若要用新探测重扫 mega需要 CLI --include-mega。
## 给下个会话
- 项目 E:\code\IPTV,服务 uvicorn app.web:app :8787,启动Web界面.bat
- MemRelay 项目 id 6acaea0a-2a42-470a-9bc0-528c1ae658eb
- 临时文件已删 sources/_tmp_status.py
- 验证时把并发改成 48,已写入该浏览器 localStorage,默认代码仍是 160