fix 修复目录监控·真

This commit is contained in:
thsrite
2024-10-23 12:34:39 +08:00
parent 6ca78c0cb9
commit 5871c60a9d
2 changed files with 5 additions and 1 deletions
+4 -1
View File
@@ -69,10 +69,13 @@ class DirectoryHelper:
continue
# 下载目录
download_path = Path(d.download_path)
# 媒体库目录
library_path = Path(d.library_path)
# 媒体类型
# 有目录时直接匹配
if src_path and download_path != src_path:
continue
if dest_path and download_path != dest_path:
if dest_path and library_path != dest_path:
continue
# 本地目录
if local and d.storage != "local":