Hey all, got an error when I'm trying to get the addonid, I always used to do this in my default.py file:
But now it gives me:
Error Type: <type 'exceptions.RuntimeError'>
Error Contents: access_voilation
I deleted everything except those two lines:
and I still get the error message. I've been stuck on this for 5 hours and I can't find the solution or find any help from google.
Code:
import xbmcaddon
__addon__ = xbmcaddon.Addon()
__addon_id__ = __addon__.getAddonInfo('id')
But now it gives me:
Error Type: <type 'exceptions.RuntimeError'>
Error Contents: access_voilation
I deleted everything except those two lines:
Code:
import xbmcaddon
__addon__ = xbmcaddon.Addon()
and I still get the error message. I've been stuck on this for 5 hours and I can't find the solution or find any help from google.