Don't cache subtitles if direct playing
This commit is contained in:
parent
11ac4fbe46
commit
edff54bb7e
1 changed files with 2 additions and 2 deletions
|
@ -291,9 +291,9 @@ def _conclude_playback(playqueue, pos):
|
|||
else:
|
||||
playurl = item.file
|
||||
listitem.setPath(try_encode(playurl))
|
||||
if item.playmethod in ('DirectStream', 'DirectPlay'):
|
||||
if item.playmethod == 'DirectStream':
|
||||
listitem.setSubtitles(api.cache_external_subs())
|
||||
else:
|
||||
elif item.playmethod == 'Transcode':
|
||||
playutils.audio_subtitle_prefs(listitem)
|
||||
if state.RESUME_PLAYBACK is True:
|
||||
state.RESUME_PLAYBACK = False
|
||||
|
|
Loading…
Reference in a new issue