create: Checkpoint 2026-10-23 17:36:56 UTC [d729a35f25]

MemRelay-Operation: checkpoint-save:ckpt-dramabox-play-range-20261024
MemRelay-Resource: 7610f11d-47be-41e0-8cd1-f94997807b26
This commit is contained in:
2026-10-24 01:37:05 +08:00
parent 9735da6c17
commit 05bd97d747
@@ -0,0 +1,26 @@
---
title: Checkpoint 2026-10-23 17:36:56 UTC [d729a35f25]
type: checkpoint
permalink: main/projects/280dd2a0-d23d-4a71-91e1-dce4353163be/checkpoint-2026-10-23-17-36-56-utc-d729a35f25
stable_id: 7610f11d-47be-41e0-8cd1-f94997807b26
scope: project
memory_type: checkpoint
project_id: 280dd2a0-d23d-4a71-91e1-dce4353163be
usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998
status: active
revision: 1
request_id: ckpt-dramabox-play-range-20261024
created_at: '2026-10-23T17:36:58.752203+00:00'
updated_at: '2026-10-23T17:36:58.752203+00:00'
tags:
- dramabox
- playback
- handoff
---
完成:DramaBox 播放进度条不能拖,是因为 play_file 写了 Accept-Ranges: none,WebView 的 seekable 是 0 到 0。已改为对解密后的缓存做 HTTP Range,返回 206;同一集并发请求合并成一次 CDN 拉取。
原因:加密 MP4 必须整段解开,但解开之后浏览器跳跃进度需要字节范围。
验证:tests/test_dramabox.py 通过。用解密样例起 Range 服务,浏览器 seekable 为 0-185.43,currentTime 能跳到 30。
问题:桌面程序要完全退出再打开才会用到新接口。未提交。
下一步:完全退出后打开软件,播一集,拖进度条确认能跳。
给下个会话:不要改回 Accept-Ranges: none。不要提交 cache、session、dist、LicenseKey。不要在聊天里打出密钥。