diff --git a/jellyfin_kodi/jellyfin/api.py b/jellyfin_kodi/jellyfin/api.py index 699878838..299c2fea3 100644 --- a/jellyfin_kodi/jellyfin/api.py +++ b/jellyfin_kodi/jellyfin/api.py @@ -432,7 +432,7 @@ def login(self, server_url, username, password=""): try: LOG.info("Trying to login to %s/%s as %s" % (server_url, path, username)) - response = self.send_request(server_url, path, method="post", headers=headers, data=json.dumps(auth_data)) + response = self.send_request(server_url, path, method="post", timeout=10, headers=headers, data=json.dumps(auth_data)) if response.status_code == 200: return response.json()