Revert "Adjust some Companion headers"

This reverts commit f2e2be6da7.
This commit is contained in:
croneter 2021-11-07 11:48:58 +01:00
parent 27084c8978
commit 020f050068
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,mirror,playqueues', 'protocolCapabilities': 'timeline,playback,navigation,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 = 'Kodi' PLATFORM = 'Generic'
# Version seems to be irrelevant for the generic platform # Version seems to be irrelevant for the generic platform
PLATFORM_VERSION = KODILONGVERSION PLATFORM_VERSION = '1.0.0'
# 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':