Enable external Plex subtitles if available
This commit is contained in:
parent
a5b33a9f49
commit
33f5044828
1 changed files with 1 additions and 3 deletions
|
@ -275,9 +275,7 @@ class PlaybackUtils():
|
||||||
|
|
||||||
# Append external subtitles to stream
|
# Append external subtitles to stream
|
||||||
playmethod = utils.window('%s.playmethod' % embyitem)
|
playmethod = utils.window('%s.playmethod' % embyitem)
|
||||||
# Only for direct stream
|
if playmethod in ("DirectStream", "DirectPlay"):
|
||||||
if playmethod in ("DirectStream"):
|
|
||||||
# Direct play automatically appends external
|
|
||||||
subtitles = self.API.externalSubs(playurl)
|
subtitles = self.API.externalSubs(playurl)
|
||||||
listitem.setSubtitles(subtitles)
|
listitem.setSubtitles(subtitles)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue