Drop filename for url arg, but add kodi_type

This commit is contained in:
croneter 2019-04-13 15:08:25 +02:00
parent 885e8dd581
commit d380aa8ac3

View file

@ -203,8 +203,8 @@ class RequestHandler(BaseHTTPServer.BaseHTTPRequestHandler):
path += '&transcode=true' path += '&transcode=true'
if params.get('kodi_id'): if params.get('kodi_id'):
path += '&kodi_id=%s' % params['kodi_id'] path += '&kodi_id=%s' % params['kodi_id']
if params.get('Name'): if params.get('kodi_type'):
path += '&filename=%s' % params['Name'] path += '&kodi_type=%s' % params['kodi_type']
self.wfile.write(bytes(path)) self.wfile.write(bytes(path))
return return