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:
|
else:
|
||||||
playurl = item.file
|
playurl = item.file
|
||||||
listitem.setPath(try_encode(playurl))
|
listitem.setPath(try_encode(playurl))
|
||||||
if item.playmethod in ('DirectStream', 'DirectPlay'):
|
if item.playmethod == 'DirectStream':
|
||||||
listitem.setSubtitles(api.cache_external_subs())
|
listitem.setSubtitles(api.cache_external_subs())
|
||||||
else:
|
elif item.playmethod == 'Transcode':
|
||||||
playutils.audio_subtitle_prefs(listitem)
|
playutils.audio_subtitle_prefs(listitem)
|
||||||
if state.RESUME_PLAYBACK is True:
|
if state.RESUME_PLAYBACK is True:
|
||||||
state.RESUME_PLAYBACK = False
|
state.RESUME_PLAYBACK = False
|
||||||
|
|
Loading…
Add table
Reference in a new issue