diff --git a/resources/lib/utils.py b/resources/lib/utils.py index 652bb76..cf81268 100644 --- a/resources/lib/utils.py +++ b/resources/lib/utils.py @@ -7,6 +7,9 @@ __Addon = xbmcaddon.Addon(__addon_id__) def data_dir(): return __Addon.getAddonInfo('profile') +def addon_dir(): + return __Addon.getAddonInfo('path') + def log(message,loglevel=xbmc.LOGNOTICE): xbmc.log(encode(__addon_id__ + ": " + message),level=loglevel)