From 00299b58b270121e3d816654749dc04582dcac39 Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Sat, 5 Nov 2016 17:28:03 +0100 Subject: [PATCH] Revert "Also append ext. subtitles if transcoding" This reverts commit b8ae6790921eb0aad715b086af14d73a748f8a1c. --- resources/lib/playbackutils.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/resources/lib/playbackutils.py b/resources/lib/playbackutils.py index cd37848c..6f832ef5 100644 --- a/resources/lib/playbackutils.py +++ b/resources/lib/playbackutils.py @@ -275,8 +275,10 @@ class PlaybackUtils(): window('%s.refreshid' % embyitem, value=itemid) # Append external subtitles to stream - subtitles = self.API.externalSubs(playurl) - listitem.setSubtitles(subtitles) + playmethod = window('%s.playmethod' % embyitem) + if playmethod in ("DirectStream", "DirectPlay"): + subtitles = self.API.externalSubs(playurl) + listitem.setSubtitles(subtitles) self.setArtwork(listitem)