diff --git a/README.md b/README.md index 1982393..f7a36b8 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ MoviePilot三方插件市场:https://github.com/thsrite/MoviePilot-Plugins/ - 目录监控(统一入库消息增强版) v1.0 - Sql执行器 v1.2 - 命令执行器 v1.2 -- 云盘助手(docs%2FCloudAssistant.md) v2.0.6 +- [云盘助手 v2.0.7](docs%2FCloudAssistant.md) - CloudDrive2助手 v1.3 - 软连接重定向 v1.0 - 云盘同步删除 v1.3.1 diff --git a/package.json b/package.json index d3038c1..82a461c 100644 --- a/package.json +++ b/package.json @@ -527,11 +527,12 @@ "name": "云盘助手", "description": "本地文件定时转移到云盘,软连接/strm回本地,定时清理无效软连接。", "labels": "云盘", - "version": "2.0.6", + "version": "2.0.7", "icon": "https://raw.githubusercontent.com/thsrite/MoviePilot-Plugins/main/icons/cloudassistant.png", "author": "thsrite", "level": 3, "history": { + "v2.0.7": "修复通知标题", "v2.0.6": "修复覆盖模式操作", "v2.0.5": "修复媒体文件转移完但刮削文件未转移删除目录的问题", "v2.0.4": "修复挂载目录log", diff --git a/plugins/cloudassistant/__init__.py b/plugins/cloudassistant/__init__.py index 8130dd1..0535355 100644 --- a/plugins/cloudassistant/__init__.py +++ b/plugins/cloudassistant/__init__.py @@ -65,7 +65,7 @@ class CloudAssistant(_PluginBase): # 插件图标 plugin_icon = "https://raw.githubusercontent.com/thsrite/MoviePilot-Plugins/main/icons/cloudassistant.png" # 插件版本 - plugin_version = "2.0.6" + plugin_version = "2.0.7" # 插件作者 plugin_author = "thsrite" # 作者主页 @@ -714,7 +714,7 @@ class CloudAssistant(_PluginBase): # 剧集季集信息 S01 E01-E04 || S01 E01、E02、E04 season_episode = None # 处理文件多,说明是剧集,显示季入库消息 - if mtype == MediaType.TV.name: + if str(mtype) == str(MediaType.TV.name): # 季集文本 season_episode = f"{season} {StringUtils.format_ep(episodes)}" # 发送消息 @@ -1347,6 +1347,27 @@ class CloudAssistant(_PluginBase): } ] }, + { + 'component': 'VRow', + 'content': [ + { + 'component': 'VCol', + 'props': { + 'cols': 12, + }, + 'content': [ + { + 'component': 'VAlert', + 'props': { + 'type': 'error', + 'variant': 'tonal', + 'text': '插件没想公开,传的快,死的快。' + } + } + ] + } + ] + }, { 'component': 'VRow', 'props': {