Remove workaround widget for 18

plugin path only work with play next automatically disabled. More
changes will come.
This commit is contained in:
angelblue05 2018-03-31 01:57:52 -05:00
parent f0f36b3b19
commit 9c43587c50

View file

@ -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