From 9c43587c507dc5c559992f7db513d1a0926e78e4 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Sat, 31 Mar 2018 01:57:52 -0500 Subject: [PATCH] Remove workaround widget for 18 plugin path only work with play next automatically disabled. More changes will come. --- resources/lib/playbackutils.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/resources/lib/playbackutils.py b/resources/lib/playbackutils.py index 8b03d049..ee177c37 100644 --- a/resources/lib/playbackutils.py +++ b/resources/lib/playbackutils.py @@ -60,7 +60,10 @@ class PlaybackUtils(object): kodi_version = xbmc.getInfoLabel('System.BuildVersion') - if kodi_version and "Git:" in kodi_version and kodi_version.split('Git:')[1].split("-")[0] == '20171119': + if KODI_V == 18: + return False + + elif kodi_version and "Git:" in kodi_version and kodi_version.split('Git:')[1].split("-")[0] == '20171119': #TODO: To be reviewed once Leia is out. log.info("Build does not require workaround for widgets?") return False