mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 10:16:11 +00:00
Catch keyerror
If advancedsettings.xml modifies the webserver, it seems to cause errors in jsonrpc and will return invalid params. Bug in Kodi?
This commit is contained in:
parent
800d5bd4d4
commit
48f20295aa
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ class Artwork():
|
||||||
result = json.loads(result)
|
result = json.loads(result)
|
||||||
try:
|
try:
|
||||||
self.xbmc_port = result['result']['value']
|
self.xbmc_port = result['result']['value']
|
||||||
except TypeError:
|
except (TypeError, KeyError):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
web_user = {
|
web_user = {
|
||||||
|
|
Loading…
Reference in a new issue