From 930d9303017f4fcea2d82c62e082336e5eec55fd Mon Sep 17 00:00:00 2001 From: croneter Date: Wed, 8 Sep 2021 11:28:34 +0200 Subject: [PATCH] Initial compatibility with Kodi 20 Nexus --- resources/lib/variables.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/resources/lib/variables.py b/resources/lib/variables.py index e112cfd0..0da3dd67 100644 --- a/resources/lib/variables.py +++ b/resources/lib/variables.py @@ -89,15 +89,18 @@ MIN_DB_VERSION = '3.2.1' # Supported databases - version numbers in tuples should decrease SUPPORTED_VIDEO_DB = { # Kodi 19 - EXTREMLY EXPERIMENTAL! - 19: (119, ) + 19: (119, ), + 20: (119, ), } SUPPORTED_MUSIC_DB = { # Kodi 19 - EXTREMLY EXPERIMENTAL! - 19: (82, ) + 19: (82, ), + 20: (82, ), } SUPPORTED_TEXTURE_DB = { # Kodi 19 - EXTREMLY EXPERIMENTAL! - 19: (13, ) + 19: (13, ), + 20: (13, ), } DB_VIDEO_VERSION = None DB_VIDEO_PATH = None @@ -684,7 +687,7 @@ def database_paths(): unsupported version ''' # Check Kodi version first - if KODIVERSION not in (19, ): + if KODIVERSION not in (19, 20): raise RuntimeError('Kodiversion %s not supported by PKC' % KODIVERSION) database_path = xbmcvfs.translatePath('special://database')