Add Kodi 17 backwards compat to #308

This commit is contained in:
Odd Stråbø 2020-05-31 01:07:16 +02:00
parent c4ea4271ea
commit db51abd786
2 changed files with 18 additions and 9 deletions

View file

@ -33,7 +33,7 @@ def addon_id():
def kodi_version():
return xbmc.getInfoLabel('System.BuildVersion')[:2]
return int(xbmc.getInfoLabel('System.BuildVersion').split('.')[0])
def window(key, value=None, clear=False, window_id=10000):