From 4d8b4b7ffaa31a197dfeeec3ac33136e96e1455f Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Tue, 9 Jun 2015 15:09:55 -0500 Subject: [PATCH] Fix bug not working because it was missing ?format=json so silly.... --- resources/lib/UserClient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/UserClient.py b/resources/lib/UserClient.py index 4d845d1e..016a311d 100644 --- a/resources/lib/UserClient.py +++ b/resources/lib/UserClient.py @@ -156,7 +156,7 @@ class UserClient(threading.Thread): userId = self.getUserId() addon = self.addon - url = "%s/mediabrowser/Users/%s" % (server, userId) + url = "{server}/mediabrowser/Users/{UserId}?format=json" result = self.doUtils.downloadUrl(url) audio = result[u'Configuration'].get(u'AudioLanguagePreference', "default")