Don't set-up clips/trailers like other videos

- Should fix PKC trying to tell the PMS where we are playing that item
This commit is contained in:
tomkat83 2016-09-21 20:17:33 +02:00
parent b5b3b8380f
commit e4d736a670

View file

@ -259,8 +259,11 @@ class PlaybackUtils():
def setProperties(self, playurl, listitem): def setProperties(self, playurl, listitem):
# Set all properties necessary for plugin path playback # Set all properties necessary for plugin path playback
itemid = self.API.getRatingKey()
itemtype = self.API.getType() itemtype = self.API.getType()
if itemtype == 'clip':
log.debug('Setting up a clip/trailer, skip window variables')
return
itemid = self.API.getRatingKey()
userdata = self.API.getUserData() userdata = self.API.getUserData()
embyitem = "emby_%s" % playurl embyitem = "emby_%s" % playurl