mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Fix bug
not working because it was missing ?format=json so silly....
This commit is contained in:
parent
5c07b03cc5
commit
4d8b4b7ffa
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ class UserClient(threading.Thread):
|
||||||
userId = self.getUserId()
|
userId = self.getUserId()
|
||||||
addon = self.addon
|
addon = self.addon
|
||||||
|
|
||||||
url = "%s/mediabrowser/Users/%s" % (server, userId)
|
url = "{server}/mediabrowser/Users/{UserId}?format=json"
|
||||||
result = self.doUtils.downloadUrl(url)
|
result = self.doUtils.downloadUrl(url)
|
||||||
|
|
||||||
audio = result[u'Configuration'].get(u'AudioLanguagePreference', "default")
|
audio = result[u'Configuration'].get(u'AudioLanguagePreference', "default")
|
||||||
|
|
Loading…
Reference in a new issue