From 9227a8ae95bef0a719a0879cd88ff83dc1b6165f Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Mon, 10 Sep 2018 17:34:39 -0500 Subject: [PATCH] Fix auth pass to new server way Still need to look into profile switch 401 error. --- resources/lib/emby/core/connection_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/emby/core/connection_manager.py b/resources/lib/emby/core/connection_manager.py index c96f4943..770c971e 100644 --- a/resources/lib/emby/core/connection_manager.py +++ b/resources/lib/emby/core/connection_manager.py @@ -202,7 +202,7 @@ class ConnectionManager(object): 'url': self.get_emby_url(server, "Users/AuthenticateByName"), 'json': { 'username': username, - 'password': hashlib.sha1(password or "").hexdigest() + 'pw': password or "" } }, False) except Exception as error: # Failed to login