mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-08-13 01:34:41 +08:00
fix: 重新整理时忽略旧下载哈希 (#6154)
This commit is contained in:
@@ -270,7 +270,8 @@ def manual_transfer(
|
||||
# 强制转移
|
||||
force = True
|
||||
downloader = history.downloader
|
||||
download_hash = history.download_hash
|
||||
# 仅复用历史识别信息时才传入旧 Hash,否则由当前文件路径重新匹配下载记录。
|
||||
download_hash = history.download_hash if transer_item.from_history else None
|
||||
if history.status and ("move" in history.mode):
|
||||
# 重新整理成功的转移,则使用成功的 dest 做 in_path
|
||||
src_fileitems = [FileItem(**history.dest_fileitem)]
|
||||
|
||||
Reference in New Issue
Block a user