From d380aa8ac31bc7a07e69ca31b49c9292007bda1c Mon Sep 17 00:00:00 2001 From: croneter Date: Sat, 13 Apr 2019 15:08:25 +0200 Subject: [PATCH] Drop filename for url arg, but add kodi_type --- resources/lib/webservice.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/lib/webservice.py b/resources/lib/webservice.py index 702dadc3..d4919b0b 100644 --- a/resources/lib/webservice.py +++ b/resources/lib/webservice.py @@ -203,8 +203,8 @@ class RequestHandler(BaseHTTPServer.BaseHTTPRequestHandler): path += '&transcode=true' if params.get('kodi_id'): path += '&kodi_id=%s' % params['kodi_id'] - if params.get('Name'): - path += '&filename=%s' % params['Name'] + if params.get('kodi_type'): + path += '&kodi_type=%s' % params['kodi_type'] self.wfile.write(bytes(path)) return