From aa585f9f90652b810365481b1ff850d764d48803 Mon Sep 17 00:00:00 2001 From: thsrite Date: Sat, 26 Oct 2024 16:18:41 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BF=AE=E5=A4=8D=E8=87=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.v2.json | 9 ++++++--- plugins.v2/embyactorsync/__init__.py | 4 ++-- plugins.v2/embyaudiobook/__init__.py | 4 ++-- plugins.v2/embydanmu/__init__.py | 4 ++-- 4 files changed, 12 insertions(+), 9 deletions(-) diff --git a/package.v2.json b/package.v2.json index 723aacf..ba63aaf 100644 --- a/package.v2.json +++ b/package.v2.json @@ -131,11 +131,12 @@ "name": "Emby弹幕下载", "description": "通知Emby Danmu插件下载弹幕。", "labels": "Emby,媒体库", - "version": "1.3", + "version": "1.4", "icon": "https://raw.githubusercontent.com/thsrite/MoviePilot-Plugins/main/icons/danmu.png", "author": "thsrite", "level": 1, "history": { + "v1.4": "修复自定义参数", "v1.3": "适配v2多媒体服务器", "v1.2": "检查本地弹幕文件是否已存在,避免重复下载。", "v1.1": "解析Emby日志,判断已配置弹幕源是否全部匹配失败。", @@ -159,11 +160,12 @@ "name": "Emby有声书整理", "description": "还在为Emby有声书整理烦恼吗?入库存在很多单集?", "labels": "Emby,媒体库", - "version": "1.2", + "version": "1.3", "icon": "https://raw.githubusercontent.com/thsrite/MoviePilot-Plugins/main/icons/audiobook.png", "author": "thsrite", "level": 1, "history": { + "v1.3": "修复自定义参数", "v1.2": "适配v2多媒体服务器", "v1.1": "整理完锁定,防止数据被刷新", "v1.0": "还在为Emby有声书整理烦恼吗?入库存在很多单集。" @@ -187,11 +189,12 @@ "name": "Emby剧集演员同步", "description": "同步剧演员信息到集演员信息。", "labels": "Emby,媒体库", - "version": "1.4", + "version": "1.5", "icon": "https://raw.githubusercontent.com/thsrite/MoviePilot-Plugins/main/icons/embyactorsync.png", "author": "thsrite", "level": 1, "history": { + "v1.5": "修复自定义参数", "v1.4": "适配v2多媒体服务器", "v1.3": "剧集优先使用季演员。", "v1.2": "交互命令返回处理完成信息。", diff --git a/plugins.v2/embyactorsync/__init__.py b/plugins.v2/embyactorsync/__init__.py index b8a68fd..00a0be4 100644 --- a/plugins.v2/embyactorsync/__init__.py +++ b/plugins.v2/embyactorsync/__init__.py @@ -23,7 +23,7 @@ class EmbyActorSync(_PluginBase): # 插件图标 plugin_icon = "https://raw.githubusercontent.com/thsrite/MoviePilot-Plugins/main/icons/embyactorsync.png" # 插件版本 - plugin_version = "1.4" + plugin_version = "1.5" # 插件作者 plugin_author = "thsrite" # 作者主页 @@ -98,7 +98,7 @@ class EmbyActorSync(_PluginBase): if not event_data or event_data.get("action") != "actorsync": return - args = event_data.get("args") + args = event_data.get("arg_str") if not args: logger.error(f"缺少参数:{event_data}") return diff --git a/plugins.v2/embyaudiobook/__init__.py b/plugins.v2/embyaudiobook/__init__.py index 4e6d686..5beb1b5 100644 --- a/plugins.v2/embyaudiobook/__init__.py +++ b/plugins.v2/embyaudiobook/__init__.py @@ -28,7 +28,7 @@ class EmbyAudioBook(_PluginBase): # 插件图标 plugin_icon = "https://raw.githubusercontent.com/thsrite/MoviePilot-Plugins/main/icons/audiobook.png" # 插件版本 - plugin_version = "1.2" + plugin_version = "1.3" # 插件作者 plugin_author = "thsrite" # 作者主页 @@ -202,7 +202,7 @@ class EmbyAudioBook(_PluginBase): userid=event.event_data.get("user")) return - args = event_data.get("args") + args = event_data.get("arg_str") if not args: logger.error(f"缺少参数:{event_data}") return diff --git a/plugins.v2/embydanmu/__init__.py b/plugins.v2/embydanmu/__init__.py index 044c639..adb282f 100644 --- a/plugins.v2/embydanmu/__init__.py +++ b/plugins.v2/embydanmu/__init__.py @@ -20,7 +20,7 @@ class EmbyDanmu(_PluginBase): # 插件图标 plugin_icon = "https://raw.githubusercontent.com/thsrite/MoviePilot-Plugins/main/icons/danmu.png" # 插件版本 - plugin_version = "1.3" + plugin_version = "1.4" # 插件作者 plugin_author = "thsrite" # 作者主页 @@ -63,7 +63,7 @@ class EmbyDanmu(_PluginBase): if not event_data or event_data.get("action") != "embydanmu": return - args = event_data.get("args") + args = event_data.get("arg_str") if not args: logger.error(f"缺少参数:{event_data}") return