Merge pull request #1610 from croneter/py3-nexus
Initial compatibility with Kodi 20 Nexus. Keep in mind that development for Kodi Nexus has not even officially reached alpha stage - any issues you encounter are probably caused by that
This commit is contained in:
commit
b4c78cc575
1 changed files with 7 additions and 4 deletions
|
@ -89,15 +89,18 @@ MIN_DB_VERSION = '3.2.1'
|
||||||
# Supported databases - version numbers in tuples should decrease
|
# Supported databases - version numbers in tuples should decrease
|
||||||
SUPPORTED_VIDEO_DB = {
|
SUPPORTED_VIDEO_DB = {
|
||||||
# Kodi 19 - EXTREMLY EXPERIMENTAL!
|
# Kodi 19 - EXTREMLY EXPERIMENTAL!
|
||||||
19: (119, )
|
19: (119, ),
|
||||||
|
20: (119, ),
|
||||||
}
|
}
|
||||||
SUPPORTED_MUSIC_DB = {
|
SUPPORTED_MUSIC_DB = {
|
||||||
# Kodi 19 - EXTREMLY EXPERIMENTAL!
|
# Kodi 19 - EXTREMLY EXPERIMENTAL!
|
||||||
19: (82, )
|
19: (82, ),
|
||||||
|
20: (82, ),
|
||||||
}
|
}
|
||||||
SUPPORTED_TEXTURE_DB = {
|
SUPPORTED_TEXTURE_DB = {
|
||||||
# Kodi 19 - EXTREMLY EXPERIMENTAL!
|
# Kodi 19 - EXTREMLY EXPERIMENTAL!
|
||||||
19: (13, )
|
19: (13, ),
|
||||||
|
20: (13, ),
|
||||||
}
|
}
|
||||||
DB_VIDEO_VERSION = None
|
DB_VIDEO_VERSION = None
|
||||||
DB_VIDEO_PATH = None
|
DB_VIDEO_PATH = None
|
||||||
|
@ -684,7 +687,7 @@ def database_paths():
|
||||||
unsupported version
|
unsupported version
|
||||||
'''
|
'''
|
||||||
# Check Kodi version first
|
# Check Kodi version first
|
||||||
if KODIVERSION not in (19, ):
|
if KODIVERSION not in (19, 20):
|
||||||
raise RuntimeError('Kodiversion %s not supported by PKC' % KODIVERSION)
|
raise RuntimeError('Kodiversion %s not supported by PKC' % KODIVERSION)
|
||||||
|
|
||||||
database_path = xbmcvfs.translatePath('special://database')
|
database_path = xbmcvfs.translatePath('special://database')
|
||||||
|
|
Loading…
Reference in a new issue