From ee11112f1cc10379045cef1a081ba8ea4e295aea Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Tue, 20 Mar 2018 23:25:09 -0500 Subject: [PATCH] Skip widget workaround for 18 --- resources/lib/playbackutils.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/resources/lib/playbackutils.py b/resources/lib/playbackutils.py index 76ccbc0d..f1acd265 100644 --- a/resources/lib/playbackutils.py +++ b/resources/lib/playbackutils.py @@ -61,13 +61,12 @@ class PlaybackUtils(object): log.info("Build does not require workaround for widgets?") return False - ''' - elif int(kodi_version[:2]): + elif int(kodi_version[:2]) == 18: log.info("Kodi Leia") return False - ''' - ''' if not xbmc.getCondVisibility('Window.IsMedia'): + ''' + if not xbmc.getCondVisibility('Window.IsMedia'): log.info("Not Window.IsMedia") if self.item['Type'] == "Audio" and not xbmc.getCondVisibility('Integer.IsGreater(Playlist.Length(music),1)'):