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) window('%s.refreshid' % embyitem, value=itemid)
# Append external subtitles to stream # Append external subtitles to stream
playmethod = window('%s.playmethod' % embyitem) subtitles = self.API.externalSubs(playurl)
if playmethod in ("DirectStream", "DirectPlay"): listitem.setSubtitles(subtitles)
subtitles = self.API.externalSubs(playurl)
listitem.setSubtitles(subtitles)
self.setArtwork(listitem) self.setArtwork(listitem)