mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06: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:
|
||||
params = self.get_params()
|
||||
|
||||
if not params:
|
||||
if not params or params.get('Id') is None:
|
||||
raise IndexError("Incomplete URL format")
|
||||
|
||||
if not params.get('Id').isdigit():
|
||||
raise IndexError("Incorrect Id format %s" % params.get('Id'))
|
||||
if 'extrafanart' in params['Id']:
|
||||
raise IndexError("Incorrect Id format %s" % params['Id'])
|
||||
|
||||
xbmc.log("[ webservice ] path: %s params: %s" % (str(self.path), str(params)), xbmc.LOGWARNING)
|
||||
|
||||
|
|
Loading…
Reference in a new issue