Beta Metadata Editor - Update library + .nfo informations
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:
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))
Reply


Messages In This Thread
RE: Metadata Editor - Update library + .nfo informations - by dredkin - 2022-12-15, 12:44
Metadata editor error - by BartZorn - 2023-02-23, 10:02
Logout Mark Read Team Forum Stats Members Help
Metadata Editor - Update library + .nfo informations0