From 1f7d785afc2b28c395aca0ee6fd7fd6d5ed553b0 Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Tue, 8 Nov 2016 21:00:13 +0100 Subject: [PATCH] Fix transcoding for several parts --- resources/lib/playbackutils.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/lib/playbackutils.py b/resources/lib/playbackutils.py index 9378286c..8205ff3e 100644 --- a/resources/lib/playbackutils.py +++ b/resources/lib/playbackutils.py @@ -182,8 +182,7 @@ class PlaybackUtils(): self.currentPosition += 1 ############### -- CHECK FOR ADDITIONAL PARTS ################ - if (len(item[0][0]) > 1 and - window('emby_%s.playmethod' % playurl) != "Transcode"): + if len(item[0][0]) > 1: # Only add to the playlist after intros have played for counter, part in enumerate(item[0][0]): # Never add first part @@ -194,7 +193,8 @@ class PlaybackUtils(): additionalListItem = xbmcgui.ListItem() additionalPlayurl = playutils.getPlayUrl( partNumber=counter) - log.debug("Adding additional part: %s" % counter) + log.debug("Adding additional part: %s, url: %s" + % (counter, additionalPlayurl)) self.setProperties(additionalPlayurl, additionalListItem) self.setArtwork(additionalListItem)