mirror of
https://github.com/Cp0204/quark-auto-save.git
synced 2026-01-20 12:29:37 +08:00
Compare commits
No commits in common. "c20a31773ef92dd9f4f3a4970ae777ac994cef45" and "07df5b6f3dd657055a3387a68588ae6222bddf3a" have entirely different histories.
c20a31773e
...
07df5b6f3d
@ -164,9 +164,7 @@ class Alist_sync:
|
|||||||
|
|
||||||
# 获取网盘已有文件
|
# 获取网盘已有文件
|
||||||
source_dir_list = self.get_path_list(self.source_path)
|
source_dir_list = self.get_path_list(self.source_path)
|
||||||
if not source_dir_list:
|
|
||||||
print("获取夸克文件列表失败,请检查网络或手动刷新alist中的夸克目录")
|
|
||||||
return 0
|
|
||||||
if self.tv_mode == 0 or self.tv_mode == "":
|
if self.tv_mode == 0 or self.tv_mode == "":
|
||||||
self.tv_mode = False
|
self.tv_mode = False
|
||||||
else:
|
else:
|
||||||
@ -230,11 +228,11 @@ class Alist_sync:
|
|||||||
.lower()
|
.lower()
|
||||||
)
|
)
|
||||||
for target_list in target_dir_list:
|
for target_list in target_dir_list:
|
||||||
if source_list["is_dir"]:
|
|
||||||
# print(f"跳过目录同步")
|
|
||||||
skip = True
|
|
||||||
break
|
|
||||||
if self.tv_mode:
|
if self.tv_mode:
|
||||||
|
if source_list["is_dir"]:
|
||||||
|
# print(f"跳过目录同步")
|
||||||
|
skip = True
|
||||||
|
break
|
||||||
target_list_filename = (
|
target_list_filename = (
|
||||||
target_list["name"]
|
target_list["name"]
|
||||||
.replace(".mp4", "")
|
.replace(".mp4", "")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user