Dont decide playback on optimizedForStreaming
This commit is contained in:
parent
e498736a96
commit
b5fec41448
2 changed files with 1 additions and 6 deletions
|
@ -54,11 +54,6 @@ def _initial_best_playback_method(api, item):
|
|||
Sets the highest available playback method without talking to the PMS
|
||||
Also sets self.path for a direct path, if available and accessible
|
||||
"""
|
||||
if api.should_stream():
|
||||
# True for e.g. plex.tv watch later
|
||||
LOG.info('Plex item optimized for DirectPlay')
|
||||
item.playmethod = v.PLAYBACK_METHOD_DIRECT_PLAY
|
||||
return
|
||||
item.file = api.file_path()
|
||||
item.file = api.validate_playurl(item.file, api.plex_type, force_check=True)
|
||||
# Check whether we have a strm file that we need to throw at Kodi 1:1
|
||||
|
|
|
@ -12,7 +12,7 @@ LOG = getLogger('PLEX.api')
|
|||
|
||||
|
||||
class Media(object):
|
||||
def should_stream(self):
|
||||
def optimized_for_streaming(self):
|
||||
"""
|
||||
Returns True if the item's 'optimizedForStreaming' is set, False other-
|
||||
wise
|
||||
|
|
Loading…
Reference in a new issue