2021-03-01, 19:56
(2021-02-14, 00:00)pletopia Wrote: The pity is AB did more then just scrape extra artwork that now will not be possible without it. I wish I had any coding skills, otherwise I'd get AB to be v19 compatiblei actually went a step further, i updated same settings as you and some other requirements to bring up to Matrix versions, then i used an online updater to convert all the .py files inside the addon to be python v3...but still it didn't work :-(
EDIT:
I guess changing <import addon="xbmc.python" version="2.19.0" /> to <import addon="xbmc.python" version="3.0.0" /> isn't all you need to do.
Code:021-02-13 18:30:29.226 T:5292 ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'AttributeError'>
Error Contents: 'str' object has no attribute 'decode'
Traceback (most recent call last):
File "D:\Kodi.v19\portable_data\addons\script.artwork.beef\default.py", line 6, in <module>
from lib import advancedsettings, cleaner, reporting
File "D:\Kodi.v19\portable_data\addons\script.artwork.beef\lib\cleaner.py", line 4, in <module>
from lib.libs import pykodi, mediatypes, quickjson
File "D:\Kodi.v19\portable_data\addons\script.artwork.beef\lib\libs\mediatypes.py", line 21, in <module>
addon = pykodi.get_main_addon()
File "D:\Kodi.v19\portable_data\addons\script.artwork.beef\lib\libs\pykodi.py", line 40, in get_main_addon
_main_addon = Addon()
File "D:\Kodi.v19\portable_data\addons\script.artwork.beef\lib\libs\pykodi.py", line 199, in __init__
self.resourcespath = os.path.join(xbmc.translatePath(self.path).decode('utf-8'), u'resources')
AttributeError: 'str' object has no attribute 'decode'
-->End of Python script error report<--