support for kodi jarvis

This commit is contained in:
im85288 2015-07-24 12:29:41 +01:00
parent 335035d6f2
commit 7f21c61753
3 changed files with 18 additions and 12 deletions

View file

@ -76,6 +76,9 @@ def getKodiVideoDBPath():
elif kodibuild.startswith("15"):
# Isengard
dbVersion = "93"
elif kodibuild.startswith("16"):
# Jarvis
dbVersion = "94"
else:
# Not a compatible build
xbmc.log("This Kodi version is incompatible. Current version: %s" % kodibuild)
@ -94,6 +97,9 @@ def getKodiMusicDBPath():
elif xbmc.getInfoLabel("System.BuildVersion").startswith("15"):
#isengard
dbVersion = "52"
elif xbmc.getInfoLabel("System.BuildVersion").startswith("16"):
#jarvis
dbVersion = "53"
else:
# Not a compatible build
xbmc.log("This Kodi version is incompatible. Current version: %s" % kodibuild)