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
1 changed files with 1 additions and 1 deletions

View File

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