mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-02-03 02:25:32 +08:00
fix 修复目录监控·真
This commit is contained in:
@@ -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":
|
||||
|
||||
@@ -418,6 +418,7 @@ class Monitor(metaclass=Singleton):
|
||||
mediainfo=mediainfo,
|
||||
transfer_type=dir_info.transfer_type,
|
||||
target_storage=dir_info.library_storage,
|
||||
target_path=Path(dir_info.library_path),
|
||||
episodes_info=episodes_info,
|
||||
scrape=dir_info.scraping)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user