Merge pull request #1698 from croneter/py3-fix-companion
Fix playback startup and AttributeError: 'bool' object has no attribute 'get'
This commit is contained in:
commit
9a63e5605b
2 changed files with 3 additions and 3 deletions
|
@ -25,7 +25,7 @@ def proxy_headers():
|
|||
def proxy_params():
|
||||
params = {
|
||||
'deviceClass': 'pc',
|
||||
'protocolCapabilities': 'timeline,playback,navigation,mirror,playqueues',
|
||||
'protocolCapabilities': 'timeline,playback,navigation,playqueues',
|
||||
'protocolVersion': 3
|
||||
}
|
||||
if app.ACCOUNT.pms_token:
|
||||
|
|
|
@ -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 = 'Kodi'
|
||||
PLATFORM = 'Generic'
|
||||
# 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
|
||||
STREAMING_HEADERS = {
|
||||
'X-Plex-Client-Profile-Extra':
|
||||
|
|
Loading…
Reference in a new issue