From 542679a0f0061c99d2e776390d720294443c0d31 Mon Sep 17 00:00:00 2001 From: im85288 Date: Wed, 22 Jul 2015 14:24:24 +0100 Subject: [PATCH] change music db to not have helix as default --- resources/lib/Utils.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/resources/lib/Utils.py b/resources/lib/Utils.py index 975d73f8..eb89ba8f 100644 --- a/resources/lib/Utils.py +++ b/resources/lib/Utils.py @@ -88,12 +88,16 @@ def getKodiMusicDBPath(): if xbmc.getInfoLabel("System.BuildVersion").startswith("13"): #gotham dbVersion = "46" + elif xbmc.getInfoLabel("System.BuildVersion").startswith("14"): + #helix + dbVersion = "48" elif xbmc.getInfoLabel("System.BuildVersion").startswith("15"): #isengard dbVersion = "52" else: - #helix - dbVersion = "48" + # Not a compatible build + xbmc.log("This Kodi version is incompatible. Current version: %s" % kodibuild) + dbPath = xbmc.translatePath("special://profile/Database/MyMusic" + dbVersion + ".db")