diff --git a/app/helper/directory.py b/app/helper/directory.py index c9349dfd..91c9e5d0 100644 --- a/app/helper/directory.py +++ b/app/helper/directory.py @@ -65,16 +65,14 @@ class DirectoryHelper: dirs = self.get_dirs() # 按照配置顺序查找 for d in dirs: - if not d.download_path: - 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 library_path != dest_path: continue # 本地目录