From ef8d36c0727cc06d55a357c76aa0e2655c2bd014 Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Sun, 8 Jan 2017 11:46:19 +0100 Subject: [PATCH] Fix for Plex Companion not showing up - Should fix #173 --- resources/lib/clientinfo.py | 2 +- resources/lib/plexbmchelper/functions.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/lib/clientinfo.py b/resources/lib/clientinfo.py index 5788ca00..1bb9bdd9 100644 --- a/resources/lib/clientinfo.py +++ b/resources/lib/clientinfo.py @@ -49,7 +49,7 @@ class ClientInfo(): 'X-Plex-Product': self.getAddonName(), 'X-Plex-Version': self.getVersion(), 'X-Plex-Client-Identifier': self.getDeviceId(), - 'X-Plex-Provides': 'player', + 'X-Plex-Provides': 'client,controller,player', } if window('pms_token'): diff --git a/resources/lib/plexbmchelper/functions.py b/resources/lib/plexbmchelper/functions.py index d9d19f85..5885253d 100644 --- a/resources/lib/plexbmchelper/functions.py +++ b/resources/lib/plexbmchelper/functions.py @@ -163,7 +163,7 @@ class jsonClass(): "Access-Control-Allow-Origin": "*", "X-Plex-Version": self.settings['version'], "X-Plex-Client-Identifier": self.settings['uuid'], - "X-Plex-Provides": "player", + "X-Plex-Provides": "client,controller,player", "X-Plex-Product": "PlexKodiConnect", "X-Plex-Device-Name": self.settings['client_name'], "X-Plex-Platform": "Kodi",