From 168b6b89d034fdd33bc94b7178e159a1a94e06cc Mon Sep 17 00:00:00 2001 From: jxxghp Date: Mon, 11 Dec 2023 12:29:55 +0800 Subject: [PATCH] =?UTF-8?q?add=20=E7=9B=AE=E5=BD=95=E7=9B=91=E6=8E=A7?= =?UTF-8?q?=E6=8F=92=E4=BB=B6=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- plugins/dirmonitor/__init__.py | 23 ++++++++++++++++++++++- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 675c020..20ddfad 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "DirMonitor": { "name": "目录监控", "description": "监控目录文件发生变化时实时整理到媒体库。", - "version": "1.3", + "version": "1.4", "icon": "directory.png", "author": "jxxghp", "level": 1 diff --git a/plugins/dirmonitor/__init__.py b/plugins/dirmonitor/__init__.py index 41e86ac..c78558c 100644 --- a/plugins/dirmonitor/__init__.py +++ b/plugins/dirmonitor/__init__.py @@ -59,7 +59,7 @@ class DirMonitor(_PluginBase): # 插件图标 plugin_icon = "directory.png" # 插件版本 - plugin_version = "1.3" + plugin_version = "1.4" # 插件作者 plugin_author = "jxxghp" # 作者主页 @@ -854,6 +854,27 @@ class DirMonitor(_PluginBase): } ] }, + { + 'component': 'VRow', + 'content': [ + { + 'component': 'VCol', + 'props': { + 'cols': 12, + }, + 'content': [ + { + 'component': 'VAlert', + 'props': { + 'type': 'info', + 'variant': 'tonal', + 'text': '监控目录不指定目的目录时,将转移到媒体库目录,并按配置自动创建一级或二级分类目录;监控目录指定了目的目录时,不会自动添加一级和二级目录而是直接转移到配置的目的目录,同时需要提前手动创建好目的目录路程径,多个转移目录时需要配置多条记录。' + } + } + ] + } + ] + }, { 'component': 'VRow', 'content': [