Check for installed addons??
#1
Hi all

Is there a way to check if an addon is installed or not?

For example, in my musicOSD.xml I have a button which calls the lyrics script:

<onclick>XBMC.RunScript(script.cu.lyrics)</onclick>

All good if the addon is installed but if it isn't I get nothing except an error in the logs.

Is it possibe to check for the addon and if it isn't installed then let the user know that they need to install it for that feature to work?

Regards,

Crookas
PS apologies if this has been covered before.
Reply
#2
Maybe what you are looking for has already been requested and introduced in this thread: http://forum.xbmc.org/showthread.php?tid=78363
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#3
Or just add it to the required section of your addon.xml.
Reply
#4
Montellese Wrote:Maybe what you are looking for has already been requested and introduced in this thread: http://forum.xbmc.org/showthread.php?tid=78363

Hitcher Wrote:Or just add it to the required section of your addon.xml.

Thanks chaps, all I need to know.
Reply

Logout Mark Read Team Forum Stats Members Help
Check for installed addons??0