From cf05ae20c5ca04e9cfe01b684cf4f720d1839e9f Mon Sep 17 00:00:00 2001 From: jxxghp Date: Thu, 7 Mar 2024 08:10:52 +0800 Subject: [PATCH] v1.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 捷径中增加了系统健康检查功能,可快速检测各模块连接状态、目录是否跨盘等 - 网络测试增加了`fanart`和`thetvdb`测试项 - 新增`短剧自动分类`插件,可根据视频文件时长将短剧整理到独立分类目录 - 通知消息新增支持`VoceChat`,可实现消息交互以及群组通知功能,需自行搭建服务端 - 修复了订阅集数修改后会被覆盖的问题,订阅默认规则增加了做种数设定 VoceChat搭建及配置参考:https://doc.voce.chat/zh-cn/bot/bot-and-webhook ,Webhook回调地址相对路径为:/api/v1/message/ --- app/modules/emby/__init__.py | 2 +- app/modules/jellyfin/__init__.py | 2 +- app/modules/plex/__init__.py | 2 +- version.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/modules/emby/__init__.py b/app/modules/emby/__init__.py index 7adcd086..f8f94fe5 100644 --- a/app/modules/emby/__init__.py +++ b/app/modules/emby/__init__.py @@ -23,7 +23,7 @@ class EmbyModule(_ModuleBase): """ if self.emby.is_inactive(): self.emby.reconnect() - if self.emby.is_inactive(): + if not self.emby.get_user(): return False, "无法连接Emby,请检查参数配置" return True, "" diff --git a/app/modules/jellyfin/__init__.py b/app/modules/jellyfin/__init__.py index 13cd4b95..05fcc3d4 100644 --- a/app/modules/jellyfin/__init__.py +++ b/app/modules/jellyfin/__init__.py @@ -34,7 +34,7 @@ class JellyfinModule(_ModuleBase): """ if self.jellyfin.is_inactive(): self.jellyfin.reconnect() - if self.jellyfin.is_inactive(): + if not self.jellyfin.get_user(): return False, "无法连接Jellyfin,请检查参数配置" return True, "" diff --git a/app/modules/plex/__init__.py b/app/modules/plex/__init__.py index 63b3a514..7cbe5d25 100644 --- a/app/modules/plex/__init__.py +++ b/app/modules/plex/__init__.py @@ -23,7 +23,7 @@ class PlexModule(_ModuleBase): """ if self.plex.is_inactive(): self.plex.reconnect() - if self.plex.is_inactive(): + if not self.plex.get_librarys(): return False, "无法连接Plex,请检查参数配置" return True, "" diff --git a/version.py b/version.py index 86b8c65c..3df6afee 100644 --- a/version.py +++ b/version.py @@ -1 +1 @@ -APP_VERSION = 'v1.6.9' +APP_VERSION = 'v1.7.0'