Commit Graph
61 Commits
Author SHA1 Message Date
DDSRemandClaude Sonnet 4.6 1af3a0ef59 fix: handle None items in alipan list to prevent TypeError (#5765)
When the Aliyun Drive API returns an error response (e.g. UserNotAllowedAccessDrive), resp.get("items") is None, causing len() to raise TypeError. Extract items with a safe default to fix the crash and avoid a potential infinite loop.

Fix https://github.com/jxxghp/MoviePilot/issues/5664

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-13 19:09:45 +08:00
jxxghpandgemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> 77a0b38081 更新 alipan.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-03-14 13:25:00 +08:00
Tejas Attarde 14c3d66ce6 perf(modules): set a timeout on alipan HTTP calls 2026-03-14 00:23:45 -04:00
Shawn LuandClaude Opus 4.6 03d118a73a fix: 修复阿里云盘目录监控快照无法检测文件的问题
1. 为阿里云盘添加 ALIPAN_SNAPSHOT_CHECK_FOLDER_MODTIME 配置(默认 False)
   - 阿里云盘目录的 updated_at 不会随子文件变更而更新,导致增量快照
     始终跳过目录,快照结果为空
   - 与 Rclone/Alist 保持一致的配置模式

2. 移除 snapshot() 中文件级 modify_time 过滤
   - 原逻辑:仅包含 modify_time > last_snapshot_time 的文件
   - 问题:首次快照建立基准后,save_snapshot 将 timestamp 设为
     max(modify_times),后续快照中未变更的文件因 modify_time 不大于
     timestamp 而被排除,导致 compare_snapshots 无法检测到任何变化
   - 此外当 last_snapshot_time 为 None 时,比较会触发 TypeError
     并被静默捕获
   - 修复:始终包含所有遍历到的文件,由 compare_snapshots 负责变化检测
     目录级优化仍由 snapshot_check_folder_modtime 控制

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 23:43:21 +08:00
DDSRem e77530bdc5 fix(storages): download directory concatenation error 2026-02-22 12:35:27 +08:00
jxxghp 188de34306 mini chunk size 2025-09-12 21:45:26 +08:00
jxxghp d30b9282fd fix alipan u115 error log 2025-09-08 17:13:01 +08:00
jxxghp c1bd2d6cf1 fix:优化下载 2025-09-08 09:50:08 +08:00
jxxghp 9c056030d2 fix:捕促115&alipan请求异常 2025-08-27 20:21:06 +08:00
jxxghp f7cd6eac50 feat:整理手动中止功能 2025-08-24 19:17:41 +08:00
jxxghp 8fac8c5307 fix progress step 2025-08-24 16:33:44 +08:00
jxxghp 2ce1c3bef8 feat:整理进度登记 2025-08-24 12:04:05 +08:00
jxxghp 5340e3a0a7 fix 2025-07-28 16:55:22 +08:00
jxxghp 378777dc7c feat:弱引用单例 2025-07-08 21:29:01 +08:00
jxxghp 0d938f2dca refactor:减少Alipan及115的Api调用 2025-06-15 20:41:32 +08:00
jxxghp cfca90aa7d fix delay get_item 2025-05-19 20:06:46 +08:00
jxxghp 324ae5c883 rollback upload api 2025-05-09 08:16:44 +08:00
jxxghp 1883607118 fix upload api 2025-05-08 13:12:20 +08:00
jxxghp 4ccae1dac7 fix upload api 2025-05-08 12:55:40 +08:00
jxxghp ff75db310f fix upload parts 2025-05-08 12:03:39 +08:00
jxxghp 5788520401 fix 阿里云盘会话提示 2025-05-08 10:09:24 +08:00
jxxghp 570dddc120 fix 2025-05-08 09:56:43 +08:00
jxxghp ea31072ae5 优化AliPan类的文件上传功能,增加多线程分片上传和动态分片计算,提升上传效率和进度监控。 2025-05-08 09:52:32 +08:00
jxxghp c08beec232 fix:优化未扫码报错 2025-03-29 22:02:59 +08:00
jxxghp d7eb6ac15d 更新 alipan.py 2025-03-29 19:30:22 +08:00
jxxghp 075afdbb77 fix alipan upload 2025-03-29 15:39:29 +08:00
jxxghp 2ac047504a fix alipan 2025-03-29 14:52:49 +08:00
jxxghp c44aa50ef5 fix 上传进度条 2025-03-29 14:33:45 +08:00
jxxghp 7ffafb49c4 fix alipan upload 2025-03-29 10:26:59 +08:00
jxxghp 9b7d57a853 fix alipan api 2025-03-29 09:42:23 +08:00
jxxghp ac19b3b512 fix alipan api 2025-03-28 21:22:02 +08:00
jxxghp ed48f56526 fix alipan 2025-03-28 17:48:30 +08:00
jxxghp b8cd1c46c1 feat:Alipan Open Api 2025-03-28 13:40:29 +08:00
jxxghp e83fe0aabe fix storage logging 2025-03-25 08:34:36 +08:00
jxxghp 63049f61f7 fix typing 2025-03-24 19:14:04 +08:00
jxxghp d502f33041 fix 115 open api 2025-03-24 12:04:23 +08:00
jxxghp 6f593beeed fix #3687 2025-01-07 20:58:27 +08:00
jxxghp 23650657cd add noqa
fix #3670
2025-01-07 14:20:31 +08:00
jxxghp 7f83d56a7e fix alipan 2024-11-24 17:55:08 +08:00
jxxghp 28805e9e17 fix alipan 2024-11-24 17:45:12 +08:00
jxxghp 72732277a1 fix alipan 2024-11-23 21:54:03 +08:00
jxxghp 8d737f9e37 fix alipan && rclone get_folder 2024-11-23 21:43:53 +08:00
jxxghp 0a923bced9 fix storage 2024-11-23 12:29:34 +08:00
jxxghp 4f1d3a7572 fix #3180 2024-11-21 12:13:44 +08:00
jxxghp 81fecf1e07 fix alipan 2024-11-20 20:39:48 +08:00
jxxghp ad8f687f8e fix alipan 2024-11-20 20:36:50 +08:00
jxxghp a3172d7503 fix 扫码逻辑与底层模块解耦 2024-11-20 20:17:18 +08:00
jxxghp 293e417865 feat:切换使用python-115 2024-11-17 02:10:45 +08:00
jxxghp f6a2efb256 fix #3116 2024-11-16 09:25:46 +08:00
jxxghp 1c2a194a7d fix rclone && alipan 2024-10-19 12:29:45 +08:00