diff --git a/package.json b/package.json index 4cc27bb..42a44a9 100644 --- a/package.json +++ b/package.json @@ -394,7 +394,7 @@ "DiagParamAdjust": { "name": "诊断参数调整", "description": "Emby专用插件|暂时性解决emby字幕偏移问题,需要emby安装Diagnostics插件。", - "version": "1.1", + "version": "1.2", "icon": "Themeengine_A.png", "author": "jeblove", "level": 1 diff --git a/plugins/diagparamadjust/__init__.py b/plugins/diagparamadjust/__init__.py index 74b28fd..07e20ca 100644 --- a/plugins/diagparamadjust/__init__.py +++ b/plugins/diagparamadjust/__init__.py @@ -23,7 +23,7 @@ class DiagParamAdjust(_PluginBase): # 插件图标 plugin_icon = "Themeengine_A.png" # 插件版本 - plugin_version = "1.1" + plugin_version = "1.2" # 插件作者 plugin_author = "jeblove" # 作者主页 @@ -355,7 +355,7 @@ class DiagParamAdjust(_PluginBase): except KeyError: # 已装插件,未设置过该参数 # logger.info('目标参数为空') - return None + return False # 符合所有情况 if 'repeatlast' in replaceText \ @@ -412,6 +412,7 @@ class DiagParamAdjust(_PluginBase): logger.info('参数正常,无需修正') return True elif state is None: + logger.info('插件退出') return None self.set_options()