mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 10:16:11 +00:00
Support server 3.x with Leia
This commit is contained in:
parent
8c1903d632
commit
2e2ca1c7aa
1 changed files with 3 additions and 3 deletions
|
@ -118,11 +118,11 @@ class requestHandler(BaseHTTPServer.BaseHTTPRequestHandler):
|
||||||
try:
|
try:
|
||||||
params = self.get_params()
|
params = self.get_params()
|
||||||
|
|
||||||
if not params:
|
if not params or params.get('Id') is None:
|
||||||
raise IndexError("Incomplete URL format")
|
raise IndexError("Incomplete URL format")
|
||||||
|
|
||||||
if not params.get('Id').isdigit():
|
if 'extrafanart' in params['Id']:
|
||||||
raise IndexError("Incorrect Id format %s" % params.get('Id'))
|
raise IndexError("Incorrect Id format %s" % params['Id'])
|
||||||
|
|
||||||
xbmc.log("[ webservice ] path: %s params: %s" % (str(self.path), str(params)), xbmc.LOGWARNING)
|
xbmc.log("[ webservice ] path: %s params: %s" % (str(self.path), str(params)), xbmc.LOGWARNING)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue