Adjust some Companion headers

This commit is contained in:
croneter 2021-11-05 17:58:16 +01:00
parent 1d82fbc0fb
commit f2e2be6da7
2 changed files with 3 additions and 3 deletions

View file

@ -25,7 +25,7 @@ def proxy_headers():
def proxy_params(): def proxy_params():
params = { params = {
'deviceClass': 'pc', 'deviceClass': 'pc',
'protocolCapabilities': 'timeline,playback,navigation,playqueues', 'protocolCapabilities': 'timeline,playback,navigation,mirror,playqueues',
'protocolVersion': 3 'protocolVersion': 3
} }
if app.ACCOUNT.pms_token: if app.ACCOUNT.pms_token:

View file

@ -445,9 +445,9 @@ CONTENT_FROM_PLEX_TYPE = {
# Plex profile for transcoding and direct streaming # Plex profile for transcoding and direct streaming
# Uses the empty Generic.xml at Plex Media Server/Resources/Profiles for any # Uses the empty Generic.xml at Plex Media Server/Resources/Profiles for any
# Playback decisions # Playback decisions
PLATFORM = 'Generic' PLATFORM = 'Kodi'
# Version seems to be irrelevant for the generic platform # 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 # Overrides (replace=true) any existing entries in generic.xml
STREAMING_HEADERS = { STREAMING_HEADERS = {
'X-Plex-Client-Profile-Extra': 'X-Plex-Client-Profile-Extra':