增加对配置了媒体库目录但没有设置自动整理的处理

This commit is contained in:
Attente
2024-10-29 06:06:02 +08:00
parent f0e4d9bf63
commit a1daf884e6

View File

@@ -72,8 +72,8 @@ class DirectoryHelper:
# 下载目录不匹配, 不符合条件, 通常处理`下载`匹配
if src_path and download_path != src_path:
continue
# 媒体库目录不匹配, 不符合条件, 通常处理`整理`匹配
if dest_path and library_path != dest_path:
# 媒体库目录不匹配, 或监控方式为None(即不自动整理), 不符合条件, 通常处理`整理`匹配
if dest_path and library_path != dest_path or not d.monitor_type:
continue
# 本地目录
if local and d.storage != "local":