fix DirMonitor

This commit is contained in:
jxxghp
2023-11-02 12:32:57 +08:00
parent 0c04e9e83f
commit 733671410a
2 changed files with 2 additions and 5 deletions

View File

@@ -47,7 +47,7 @@
"DirMonitor": {
"name": "目录监控",
"description": "监控目录文件发生变化时实时整理到媒体库。",
"version": "1.0",
"version": "1.1",
"icon": "directory.png",
"color": "#E0995E",
"author": "jxxghp",

View File

@@ -60,7 +60,7 @@ class DirMonitor(_PluginBase):
# 主题色
plugin_color = "#E0995E"
# 插件版本
plugin_version = "1.0"
plugin_version = "1.1"
# 插件作者
plugin_author = "jxxghp"
# 作者主页
@@ -490,9 +490,6 @@ class DirMonitor(_PluginBase):
}
self._medias[mediainfo.title_year + " " + file_meta.season] = media_list
# 汇总刷新媒体库
if settings.REFRESH_MEDIASERVER:
self.chain.refresh_mediaserver(mediainfo=mediainfo, file_path=transferinfo.target_path)
# 广播事件
self.eventmanager.send_event(EventType.TransferComplete, {
'meta': file_meta,