Fixed "Play from here" issue (#121)

This commit is contained in:
Sebastian S 2018-01-09 12:39:59 +01:00 committed by angelblue05
parent 9ac37a1c40
commit 241646f9a2

View file

@ -88,8 +88,7 @@ class PlaybackUtils(object):
# Stack: [(url, listitem), (url, ...), ...] # Stack: [(url, listitem), (url, ...), ...]
self.stack[0][1].setPath(self.stack[0][0]) self.stack[0][1].setPath(self.stack[0][0])
try: try:
#if not xbmc.getCondVisibility('Window.IsVisible(MyVideoNav.xml)'): # Causes infinite loop with play from here if not xbmc.getCondVisibility('Window.IsVisible(MyVideoNav.xml)') and not xbmc.getCondVisibility('Window.IsVisible(VideoFullScreen.xml)'):
if xbmc.getCondVisibility('Window.IsVisible(10000).xml'):
# widgets do not fill artwork correctly # widgets do not fill artwork correctly
log.info("Detected widget.") log.info("Detected widget.")
raise IndexError raise IndexError