2022-12-15, 12:44
Hello!
If you can't get Metdataeditor 3.0.1 to work in the recent versions of Kodi, and you see the followin error in log file:
then you can fix it by edititng the file:
If you can't get Metdataeditor 3.0.1 to work in the recent versions of Kodi, and you see the followin error in log file:
Quote:Error Type: <class 'AttributeError'>
Error Contents: module 'xbmc' has no attribute 'translatePath'
Traceback (most recent call last):
File "C:\Users\dredkin\AppData\Roaming\Kodi\addons\script.metadata.editor\service.py", line 8, in <module>
from resources.lib.helper import *
File "C:\Users\dredkin\AppData\Roaming\Kodi\addons\script.metadata.editor\resources\lib\helper.py", line 27, in <module>
ADDON_DATA_PATH = os.path.join(xbmc.translatePath("special://profile/addon_data/%s" % ADDON_ID))
AttributeError: module 'xbmc' has no attribute 'translatePath'
then you can fix it by edititng the file:
addons\script.metadata.editor\resources\lib\helper.py
. Just add vfs characters as show below:Code:
ADDON_DATA_PATH = os.path.join(xbmcvfs.translatePath("special://profile/addon_data/%s" % ADDON_ID))