From bc5a1513129fd8f3c3f6fc739c87f8ac13ec70fc Mon Sep 17 00:00:00 2001 From: jxxghp Date: Sun, 12 Nov 2023 07:29:43 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=E8=87=AA=E5=8A=A8=E5=88=A0=E7=A7=8D?= =?UTF-8?q?=E6=8F=92=E4=BB=B6=E6=96=B0=E5=A2=9E=E7=8A=B6=E6=80=81=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- plugins/torrentremover/__init__.py | 42 +++++++++++++++++++++++++++++- 2 files changed, 42 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index aa4c8da..030d79d 100644 --- a/package.json +++ b/package.json @@ -83,7 +83,7 @@ "TorrentRemover": { "name": "自动删种", "description": "自动删除下载器中的下载任务。", - "version": "1.0", + "version": "1.1", "icon": "torrent.png", "color": "#02853F", "author": "jxxghp", diff --git a/plugins/torrentremover/__init__.py b/plugins/torrentremover/__init__.py index 7b08ec2..ddad1bd 100644 --- a/plugins/torrentremover/__init__.py +++ b/plugins/torrentremover/__init__.py @@ -29,7 +29,7 @@ class TorrentRemover(_PluginBase): # 主题色 plugin_color = "#02853F" # 插件版本 - plugin_version = "1.0" + plugin_version = "1.1" # 插件作者 plugin_author = "jxxghp" # 作者主页 @@ -496,6 +496,46 @@ class TorrentRemover(_PluginBase): ] } ] + }, + { + 'component': 'VRow', + 'content': [ + { + 'component': 'VCol', + 'props': { + 'cols': 12, + }, + 'content': [ + { + 'component': 'VAlert', + 'props': { + 'type': 'info', + 'variant': 'tonal', + 'text': '任务状态(QB)字典:' + 'downloading:正在下载-传输数据,' + 'stalledDL:正在下载_未建立连接,' + 'uploading:正在上传-传输数据,' + 'stalledUP:正在上传-未建立连接,' + 'error:暂停-发生错误,' + 'pausedDL:暂停-下载未完成,' + 'pausedUP:暂停-下载完成,' + 'missingFiles:暂停-文件丢失,' + 'checkingDL:检查中-下载未完成,' + 'checkingUP:检查中-下载完成,' + 'checkingResumeData:检查中-启动时恢复数据,' + 'forcedDL:强制下载-忽略队列,' + 'queuedDL:等待下载-排队,' + 'forcedUP:强制上传-忽略队列,' + 'queuedUP:等待上传-排队,' + 'allocating:分配磁盘空间,' + 'metaDL:获取元数据,' + 'moving:移动文件,' + 'unknown:未知状态' + } + } + ] + } + ] } ] }