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'