Skip to content

Commit

Permalink
Merge pull request #2978 from wikrin/v2
Browse files Browse the repository at this point in the history
  • Loading branch information
jxxghp authored Oct 30, 2024
2 parents 957df2c + 021fcb1 commit a69d56d
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 a69d56d

Please sign in to comment.