Also append ext. subtitles if transcoding

This commit is contained in:
tomkat83 2016-11-05 16:35:43 +01:00
parent 1a18c810d0
commit b8ae679092

View file

@ -275,10 +275,8 @@ class PlaybackUtils():
window('%s.refreshid' % embyitem, value=itemid)
# Append external subtitles to stream
playmethod = window('%s.playmethod' % embyitem)
if playmethod in ("DirectStream", "DirectPlay"):
subtitles = self.API.externalSubs(playurl)
listitem.setSubtitles(subtitles)
subtitles = self.API.externalSubs(playurl)
listitem.setSubtitles(subtitles)
self.setArtwork(listitem)