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:
parent
b5b3b8380f
commit
e4d736a670
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue