add 实时硬链接插件

This commit is contained in:
jxxghp
2024-02-08 11:53:59 +08:00
parent 7acff37b67
commit c5c3da8f11
3 changed files with 609 additions and 1 deletions

View File

@@ -171,7 +171,7 @@ class DirMonitor(_PluginBase):
# 检查媒体库目录是不是下载目录的子目录
try:
if target_path and target_path.is_relative_to(Path(mon_path)):
logger.warn(f"{target_path}下载目录 {mon_path} 的子目录,无法监控")
logger.warn(f"{target_path}监控目录 {mon_path} 的子目录,无法监控")
self.systemmessage.put(f"{target_path} 是下载目录 {mon_path} 的子目录,无法监控")
continue
except Exception as e: