mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-03-20 03:57:30 +08:00
修复 手动重新整理没有更新源文件大小的问题
- V1迁移过来的记录,重整理后文件大小显示为0 - 部分源文件大小有变动,重整理后大小显示没变化
This commit is contained in:
@@ -923,9 +923,12 @@ class TransferChain(ChainBase, metaclass=Singleton):
|
||||
return storagechain.get_file_item(storage=_storage, path=p.parent)
|
||||
return None
|
||||
|
||||
if not storagechain.get_item(fileitem):
|
||||
latest_fileitem = storagechain.get_item(fileitem)
|
||||
if not latest_fileitem:
|
||||
logger.warn(f"目录或文件不存在:{fileitem.path}")
|
||||
return []
|
||||
# 确保从历史记录重新整理时 能获得最新的源文件大小、修改日期等
|
||||
fileitem = latest_fileitem
|
||||
|
||||
# 蓝光原盘子目录或文件
|
||||
if __is_bluray_sub(fileitem.path):
|
||||
|
||||
Reference in New Issue
Block a user