From 241646f9a23f222601f7c1372eed6a0ac13bc650 Mon Sep 17 00:00:00 2001 From: Sebastian S Date: Tue, 9 Jan 2018 12:39:59 +0100 Subject: [PATCH] Fixed "Play from here" issue (#121) --- resources/lib/playbackutils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/lib/playbackutils.py b/resources/lib/playbackutils.py index 3611d8f3..9ba0d833 100644 --- a/resources/lib/playbackutils.py +++ b/resources/lib/playbackutils.py @@ -88,8 +88,7 @@ class PlaybackUtils(object): # Stack: [(url, listitem), (url, ...), ...] self.stack[0][1].setPath(self.stack[0][0]) try: - #if not xbmc.getCondVisibility('Window.IsVisible(MyVideoNav.xml)'): # Causes infinite loop with play from here - if xbmc.getCondVisibility('Window.IsVisible(10000).xml'): + if not xbmc.getCondVisibility('Window.IsVisible(MyVideoNav.xml)') and not xbmc.getCondVisibility('Window.IsVisible(VideoFullScreen.xml)'): # widgets do not fill artwork correctly log.info("Detected widget.") raise IndexError