Custom Widgets incompatible with Last Played addon
alphabitnz opened this issue · 0 comments
alphabitnz commented
This isn't causing Kodi to crash, but sporadically breaks this addon if loaded as a custom widget until a skin reload is done.
2022-01-16 03:19:59.032 T:696166 WARNING <general>: CPythonInvoker(7, /Users/myusername/Library/Application Support/Kodi/addons/plugin.video.last_played/default.py): the python script "/Users/myusername/Library/Application Support/Kodi/addons/plugin.video.last_played/default.py" has left several classes in memory that we couldn't clean up. The classes include: N9XBMCAddon9xbmcaddon5AddonE,N9XBMCAddon4xbmc7MonitorE
2022-01-16 12:15:11.023 T:1352870 ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'NameError'>
Error Contents: name 'ListItem' is not defined
Traceback (most recent call last):
File "/Users/myusername/Library/Application Support/Kodi/addons/plugin.video.last_played/addon.py", line 129, in <module>
list_items("*", list_size)
File "/Users/myusername/Library/Application Support/Kodi/addons/plugin.video.last_played/addon.py", line 84, in list_items
li = ListItem(lang(30030))
NameError: name 'ListItem' is not defined
-->End of Python script error report<--
Reference Issue:
5-star/plugin.video.last_played#23