Kodi Community Forum

Full Version: Call an addon from within an addon
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I would like to call an addon from within my addon, I have imported it in the xml file however in addon.py when i use RunAddon(addon id here) it says Error Contents: name 'RunAddon' is not defined.
Any idea how to do this?
RunAddon is a Kodi function, not a python one.
to execute kodi functions from python:
http://mirrors.xbmc.org/docs/python-docs...utebuiltin
Thank you so much for the reply finally got my addon working Smile