From a9e4cebed43b136bc527d90983631a7ac4cb75e0 Mon Sep 17 00:00:00 2001 From: Sebastian S Date: Fri, 19 Jan 2018 00:49:02 +0100 Subject: [PATCH] Changed playback method detection (#123) --- resources/lib/playbackutils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/lib/playbackutils.py b/resources/lib/playbackutils.py index 9b32ea2a..3c32b28e 100644 --- a/resources/lib/playbackutils.py +++ b/resources/lib/playbackutils.py @@ -88,8 +88,8 @@ 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)') and - not xbmc.getCondVisibility('Window.IsVisible(VideoFullScreen.xml)')): + if (not xbmc.getCondVisibility('Window.IsMedia') and + not xbmc.getCondVisibility('Integer.IsGreater(Playlist.Length(video),1)')): # widgets do not fill artwork correctly log.info("Detected widget.") raise IndexError