♻️ 修改为不同步子目录

先暂时修改为不同步子目录,原因是目前不清楚通过调用API创建任务时,是否会将原有的文件进行覆盖,后续测试修改完毕后再将此项迁移至TV模式下启用
This commit is contained in:
jenfonro 2025-06-26 17:27:39 +08:00 committed by GitHub
parent f6b7ecdc83
commit 07df5b6f3d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -229,6 +229,10 @@ class Alist_sync:
)
for target_list in target_dir_list:
if self.tv_mode:
if source_list["is_dir"]:
# print(f"跳过目录同步")
skip = True
break
target_list_filename = (
target_list["name"]
.replace(".mp4", "")