Add extra verification for playback

Prevent false detection of widget playback if happen to be on home and
resuming with Play-to emby function.
This commit is contained in:
angelblue05 2016-01-31 17:28:41 -06:00
parent ff98b7fa30
commit e4f4900499

View file

@ -197,7 +197,7 @@ class PlaybackUtils():
############### PLAYBACK ################
if homeScreen and seektime:
if homeScreen and seektime and utils.window('emby_customPlaylist') != "true":
self.logMsg("Play as a widget item.", 1)
self.setListItem(listitem)
xbmcplugin.setResolvedUrl(int(sys.argv[1]), True, listitem)