mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
change music db to not have helix as default
This commit is contained in:
parent
2bfe377378
commit
542679a0f0
1 changed files with 6 additions and 2 deletions
|
@ -88,12 +88,16 @@ def getKodiMusicDBPath():
|
||||||
if xbmc.getInfoLabel("System.BuildVersion").startswith("13"):
|
if xbmc.getInfoLabel("System.BuildVersion").startswith("13"):
|
||||||
#gotham
|
#gotham
|
||||||
dbVersion = "46"
|
dbVersion = "46"
|
||||||
|
elif xbmc.getInfoLabel("System.BuildVersion").startswith("14"):
|
||||||
|
#helix
|
||||||
|
dbVersion = "48"
|
||||||
elif xbmc.getInfoLabel("System.BuildVersion").startswith("15"):
|
elif xbmc.getInfoLabel("System.BuildVersion").startswith("15"):
|
||||||
#isengard
|
#isengard
|
||||||
dbVersion = "52"
|
dbVersion = "52"
|
||||||
else:
|
else:
|
||||||
#helix
|
# Not a compatible build
|
||||||
dbVersion = "48"
|
xbmc.log("This Kodi version is incompatible. Current version: %s" % kodibuild)
|
||||||
|
|
||||||
|
|
||||||
dbPath = xbmc.translatePath("special://profile/Database/MyMusic" + dbVersion + ".db")
|
dbPath = xbmc.translatePath("special://profile/Database/MyMusic" + dbVersion + ".db")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue