mirror of
https://github.com/robweber/xbmcbackup.git
synced 2024-11-15 04:45:49 +01:00
added method to return addon path
This commit is contained in:
parent
4749978adb
commit
5ec8770057
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user