2019-01-08, 23:50
I can't find an obvious way of doing this. I would like to perform some cleanup actions when the addon is updated which I can do if I store the addon version. As a last resort I could read it from addon.xml.
I can do something like this for addon name and path but it doesn't work for version:
Thanks in advnace
I can do something like this for addon name and path but it doesn't work for version:
Code:
char buffer[1024];
XBMC->GetSetting("__addonpath__", buffer);
Thanks in advnace