From f2e2be6da7a21d7e89c0bad1d9922c1e2f4e2aaa Mon Sep 17 00:00:00 2001 From: croneter Date: Fri, 5 Nov 2021 17:58:16 +0100 Subject: [PATCH] Adjust some Companion headers --- resources/lib/plex_companion/common.py | 2 +- resources/lib/variables.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/lib/plex_companion/common.py b/resources/lib/plex_companion/common.py index 14f6e4c1..a957a785 100644 --- a/resources/lib/plex_companion/common.py +++ b/resources/lib/plex_companion/common.py @@ -25,7 +25,7 @@ def proxy_headers(): def proxy_params(): params = { 'deviceClass': 'pc', - 'protocolCapabilities': 'timeline,playback,navigation,playqueues', + 'protocolCapabilities': 'timeline,playback,navigation,mirror,playqueues', 'protocolVersion': 3 } if app.ACCOUNT.pms_token: diff --git a/resources/lib/variables.py b/resources/lib/variables.py index e457a5bd..5219af5a 100644 --- a/resources/lib/variables.py +++ b/resources/lib/variables.py @@ -445,9 +445,9 @@ CONTENT_FROM_PLEX_TYPE = { # Plex profile for transcoding and direct streaming # Uses the empty Generic.xml at Plex Media Server/Resources/Profiles for any # Playback decisions -PLATFORM = 'Generic' +PLATFORM = 'Kodi' # Version seems to be irrelevant for the generic platform -PLATFORM_VERSION = '1.0.0' +PLATFORM_VERSION = KODILONGVERSION # Overrides (replace=true) any existing entries in generic.xml STREAMING_HEADERS = { 'X-Plex-Client-Profile-Extra':