diff --git a/resources/lib/plexbmchelper/listener.py b/resources/lib/plexbmchelper/listener.py index 2da964a6..62386918 100644 --- a/resources/lib/plexbmchelper/listener.py +++ b/resources/lib/plexbmchelper/listener.py @@ -210,7 +210,10 @@ class MyHandler(BaseHTTPRequestHandler): else: # Throw it to companion.py companion.process_command(request_path, params) - self.response('', clientinfo.getXArgsDeviceInfo(include_token=False)) + headers = clientinfo.getXArgsDeviceInfo(include_token=False) + headers['Content-Type'] = 'text/xml' + self.response(XML_OK, headers) + self.response(v.COMPANION_OK_MESSAGE, headers) class ThreadedHTTPServer(ThreadingMixIn, HTTPServer):