fix 修复自定义参数

This commit is contained in:
thsrite
2024-10-26 16:18:41 +08:00
parent 4afe0bf8d0
commit aa585f9f90
4 changed files with 12 additions and 9 deletions

View File

@@ -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": "交互命令返回处理完成信息。",

View File

@@ -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

View File

@@ -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

View File

@@ -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