How to Solve NameError: name 'xbmcaddon' is not defined
Solution: Import the 'xbmcaddon' module
# Add the following line to the top of your code
import xbmcaddon
For more information:
Python xbmcaddon
# Add the following line to the top of your code
import xbmcaddon
For more information:
Python xbmcaddon