2021-02-23, 22:43
I think this code precedes the info label item being available. Probably would be sufficient for newer versions of Kodi.
Note that the Kodi 19 version of this particular line is:
DB = os.path.join(xbmcvfs.translatePath("special://database"), getDatabaseName())
whereas older versions it is:
DB = os.path.join(xbmc.translatePath("special://database"), getDatabaseName())
This could be merged into an if statement to handle multiple versions but I maintain separate addon files so it's a minor thing for me to handle.
Jeff
Note that the Kodi 19 version of this particular line is:
DB = os.path.join(xbmcvfs.translatePath("special://database"), getDatabaseName())
whereas older versions it is:
DB = os.path.join(xbmc.translatePath("special://database"), getDatabaseName())
This could be merged into an if statement to handle multiple versions but I maintain separate addon files so it's a minor thing for me to handle.
Jeff