Disabling addon by command
#1
Hello,

is there a way to enable/disable addon by command/function/script?
Something similar to built-in function:
Addon.OpenSettings(id)

but for activate/disable?

Thanks
Zajda
Reply
#2
+1 for this if there isn't an option already!
Reply
#3
Yep, you can do it with json.
eg I use:

Quote:xbmc.executeJSONRPC('{"jsonrpc":"2.0","method":"Addons.SetAddonEnabled","id":7,"params":{"addonid": "%s","enabled":false}}' % CHOICE)

in a python script to disable an addon (the CHOICE variable).
Reply

Logout Mark Read Team Forum Stats Members Help
Disabling addon by command0