Skip to content

Commit

Permalink
fix: #2974 #2963
Browse files Browse the repository at this point in the history
  • Loading branch information
wikrin committed Oct 30, 2024
1 parent b4e2336 commit 021fcb1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/helper/directory.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,9 @@ def get_dir(self, media: MediaInfo, src_path: Path = None, dest_path: Path = Non
if src_path and download_path != src_path:
continue
# 媒体库目录不匹配, 或监控方式为None(即不自动整理), 不符合条件, 通常处理`整理`匹配
if dest_path and library_path != dest_path or not d.monitor_type:
continue
if dest_path:
if library_path != dest_path or not d.monitor_type:
continue
# 本地目录
if local and d.storage != "local":
continue
Expand Down

0 comments on commit 021fcb1

Please sign in to comment.