Update utils.py

Add initial krypton support
This commit is contained in:
Ian Mclaughlin 2016-04-12 16:00:22 +01:00
parent c18d74ce18
commit d95d854f70

View file

@ -93,7 +93,8 @@ def getKodiVideoDBPath():
"13": 78, # Gotham "13": 78, # Gotham
"14": 90, # Helix "14": 90, # Helix
"15": 93, # Isengard "15": 93, # Isengard
"16": 99 # Jarvis "16": 99, # Jarvis
"17": 104 # Krypton
} }
dbPath = xbmc.translatePath( dbPath = xbmc.translatePath(
@ -108,7 +109,8 @@ def getKodiMusicDBPath():
"13": 46, # Gotham "13": 46, # Gotham
"14": 48, # Helix "14": 48, # Helix
"15": 52, # Isengard "15": 52, # Isengard
"16": 56 # Jarvis "16": 56, # Jarvis
"17": 60 # Krypton
} }
dbPath = xbmc.translatePath( dbPath = xbmc.translatePath(
@ -561,4 +563,4 @@ def deleteNodes():
try: try:
xbmcvfs.delete("%s%s" % (path, file.decode('utf-8'))) xbmcvfs.delete("%s%s" % (path, file.decode('utf-8')))
except: except:
logMsg("EMBY", "Failed to file: %s" % file.decode('utf-8')) logMsg("EMBY", "Failed to file: %s" % file.decode('utf-8'))