2015-09-15, 16:56
Using the V6 API, if you call the method ''Addons.SetAddonEnabled" with the following params:
Kodi will return a 200 OK. But if you change "enable" by false or "toggle", it will return:
I think all the results should be the same. If you have an error when trying to disable a non-existing addon, you should also have an error when trying to enable it IMO.
Code:
{
"addonid": "",
"enabled": true
}
Kodi will return a 200 OK. But if you change "enable" by false or "toggle", it will return:
Code:
"error": {
"code": -32602,
"message": "Invalid params."
}
I think all the results should be the same. If you have an error when trying to disable a non-existing addon, you should also have an error when trying to enable it IMO.