From 708e99746ccb29738038663a5b817a472c34b890 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 6 Oct 2026 23:00:39 +0800 Subject: [PATCH] =?UTF-8?q?docs(porting):=20=E8=AE=B0=E5=BD=95=E7=BD=91?= =?UTF-8?q?=E7=9B=98=E6=9D=A5=E6=BA=90(115=20/=20rclone)=E6=9A=82=E4=B8=8D?= =?UTF-8?q?=E5=81=9A=E5=8F=8A=20MP=20=E5=AE=9E=E7=8E=B0=E5=A4=87=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01Cxwgnn2pbzQ7rXv3rq7fei --- docs/porting/moviepilot-filemanager.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/porting/moviepilot-filemanager.md b/docs/porting/moviepilot-filemanager.md index b98f2b09..012a3df4 100644 --- a/docs/porting/moviepilot-filemanager.md +++ b/docs/porting/moviepilot-filemanager.md @@ -123,3 +123,10 @@ filemanager.vue - MP 后端 GPLv3;前端仓库同组织,按 `license-and-provenance.md` 同等对待。本项目只迁移**行为和信息架构**,不复制 Python/Vue 源码、模板、i18n 文案、图标映射表。 - 规格中的交互(左树右表、面包屑、行内操作)是通用文件管理器范式,不构成对 MP 表达的复制。 - 若日后参考 MP 的集号定位正则模板(`episode_format`)语法,需单独登记来源,并以 domain 层自有实现替代。 + +## 网盘来源(115 / rclone):暂不做(2026-10-06) + +用户评估后决定暂不做;不走挂载。将来若做,只做「网盘作为整理来源」,整理目标仍是本地库。MP 做法备查: + +- 115(`storages/u115.py`):官方开放平台 `proapi.115.com/open/*`;PKCE 设备码扫码登录(`authDeviceCode` → `qrcodeapi` 轮询 → `deviceCodeToToken`,`refreshToken` 续期);`ufile/files` 分页列目录(带 sha1、pickcode)、`folder/get_info`、`ufile/move|copy|update|delete`、`ufile/downurl` 换直链下载、`upload/init` 秒传 + OSS 分片上传;限流 API 3 qps、下载 1 qps,风控暂停 1 小时。AppID 须自行申请(MP 用自家应用 `100197847`)。 +- rclone(`storages/rclone.py`):每个操作调一次命令行(`lsjson` / `copyto` / `moveto`,远程名固定 `MP:`),只支持复制 / 移动,目录监控靠快照比对。