not working because it was missing ?format=json
so silly....
This commit is contained in:
angelblue05 2015-06-09 15:09:55 -05:00
parent 5c07b03cc5
commit 4d8b4b7ffa

View file

@ -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")