From 3585bd18045e6b8df1a1d9ce1ff6200219b4e259 Mon Sep 17 00:00:00 2001 From: MemRelay Date: Sat, 24 Oct 2026 01:29:24 +0800 Subject: [PATCH] =?UTF-8?q?create:=20DramaBox=20=E6=92=AD=E6=94=BE?= =?UTF-8?q?=E4=B8=8E=E4=B8=8B=E8=BD=BD=E5=9C=A8=E6=9C=8D=E5=8A=A1=E7=AB=AF?= =?UTF-8?q?=E8=A7=A3=E5=AF=86=20MP4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit MemRelay-Operation: memory-save:dec-dramabox-play-decrypt-20261024 MemRelay-Resource: cfc98f3e-673e-4695-835b-cc7933f819a0 --- .../DramaBox 播放与下载在服务端解密 MP4.md | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 projects/280dd2a0-d23d-4a71-91e1-dce4353163be/DramaBox 播放与下载在服务端解密 MP4.md diff --git a/projects/280dd2a0-d23d-4a71-91e1-dce4353163be/DramaBox 播放与下载在服务端解密 MP4.md b/projects/280dd2a0-d23d-4a71-91e1-dce4353163be/DramaBox 播放与下载在服务端解密 MP4.md new file mode 100644 index 0000000..292b7a1 --- /dev/null +++ b/projects/280dd2a0-d23d-4a71-91e1-dce4353163be/DramaBox 播放与下载在服务端解密 MP4.md @@ -0,0 +1,20 @@ +--- +title: DramaBox 播放与下载在服务端解密 MP4 +type: decision +permalink: main/projects/280dd2a0-d23d-4a71-91e1-dce4353163be/drama-box-播放与下载在服务端解密-mp4 +stable_id: cfc98f3e-673e-4695-835b-cc7933f819a0 +scope: project +memory_type: decision +project_id: 280dd2a0-d23d-4a71-91e1-dce4353163be +usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998 +status: active +revision: 1 +request_id: dec-dramabox-play-decrypt-20261024 +created_at: '2026-10-23T17:29:17.720946+00:00' +updated_at: '2026-10-23T17:29:17.720946+00:00' +tags: +- dramabox +- playback +--- + +DramaBox 播放仍用原有 PlayerPage 的 file 模式,不换控件。/api/dramabox/play/{vid}/{cid}/file 整段拉 CDN、decrypt_if_needed、返回 video/mp4;内存缓存最近 2 集,Accept-Ranges: none,避免每次 seek 重新下加密文件。下载只在 DramaBox DownloadManager 的 prepare_file 里 decrypt_file_if_needed,RaptDrama/黄豆不走这条路。Python 改动后必须完全退出桌面程序再打开。未提交。 \ No newline at end of file