mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-23 00:12:45 +00:00
Add Kodi 17 backwards compat to #308
This commit is contained in:
parent
c4ea4271ea
commit
db51abd786
2 changed files with 18 additions and 9 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue