2010-09-15, 10:34
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.
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.