fix #900
This commit is contained in:
parent
dad5d76664
commit
ce693435df
@ -315,12 +315,6 @@ class DirMonitor(_PluginBase):
|
|||||||
logger.debug(f"{event_path} 不是媒体文件")
|
logger.debug(f"{event_path} 不是媒体文件")
|
||||||
return
|
return
|
||||||
|
|
||||||
# 元数据
|
|
||||||
file_meta = MetaInfoPath(file_path)
|
|
||||||
if not file_meta.name:
|
|
||||||
logger.error(f"{file_path.name} 无法识别有效信息")
|
|
||||||
return
|
|
||||||
|
|
||||||
# 判断是不是蓝光目录
|
# 判断是不是蓝光目录
|
||||||
if re.search(r"BDMV[/\\]STREAM", event_path, re.IGNORECASE):
|
if re.search(r"BDMV[/\\]STREAM", event_path, re.IGNORECASE):
|
||||||
# 截取BDMV前面的路径
|
# 截取BDMV前面的路径
|
||||||
@ -332,6 +326,12 @@ class DirMonitor(_PluginBase):
|
|||||||
logger.info(f"{event_path} 已整理过")
|
logger.info(f"{event_path} 已整理过")
|
||||||
return
|
return
|
||||||
|
|
||||||
|
# 元数据
|
||||||
|
file_meta = MetaInfoPath(file_path)
|
||||||
|
if not file_meta.name:
|
||||||
|
logger.error(f"{file_path.name} 无法识别有效信息")
|
||||||
|
return
|
||||||
|
|
||||||
# 查询转移目的目录
|
# 查询转移目的目录
|
||||||
target: Path = self._dirconf.get(mon_path)
|
target: Path = self._dirconf.get(mon_path)
|
||||||
# 查询转移方式
|
# 查询转移方式
|
||||||
|
Loading…
x
Reference in New Issue
Block a user