From 4b2a941c888a8943e9fa7830d487d07cb0dbdc48 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Sun, 20 Jan 2019 04:46:18 -0600 Subject: [PATCH] Use LastConnectionMode for server test --- resources/lib/emby/core/connection_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/lib/emby/core/connection_manager.py b/resources/lib/emby/core/connection_manager.py index 3b56719e..62b3dce3 100644 --- a/resources/lib/emby/core/connection_manager.py +++ b/resources/lib/emby/core/connection_manager.py @@ -255,8 +255,8 @@ class ConnectionManager(object): tests = [] if server.get('LastConnectionMode') is not None: - #tests.append(server['LastConnectionMode']) - pass + tests.append(server['LastConnectionMode']) + if CONNECTION_MODE['Manual'] not in tests: tests.append(CONNECTION_MODE['Manual']) if CONNECTION_MODE['Local'] not in tests: