fix per warning translatePath kodi 19, altri piccoli ritocchi

This commit is contained in:
marco
2020-10-19 14:14:03 +02:00
parent 79b3f56dad
commit 81dd318e3d
7 changed files with 25 additions and 5 deletions
+7
View File
@@ -7,6 +7,13 @@ import os
import sys
import xbmc
# on kodi 18 its xbmc.translatePath, on 19 xbmcvfs.translatePath
try:
import xbmcvfs
xbmc.translatePath = xbmcvfs.translatePath
except:
pass
from platformcode import config, logger
logger.info("init...")