Kodi Community Forum
Json RPC Addons.SetAddonEnabled - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+--- Thread: Json RPC Addons.SetAddonEnabled (/showthread.php?tid=341726)



Json RPC Addons.SetAddonEnabled - Edoar - 2019-03-07

hi anyone, i'm can't post on general support and i think this is the best place or similar, my doubt its if possible disable or enable two addons with single json RPC request. currently i'm try send array into params but doesn't work.


i'm try like this.
Code:

params: [
  {
    "addonid": "service.xbmc.versioncheck",
    "enabled": False
  },
  {
    "addonid": "other addon",
    "enabled": False
  }
]

thanks!


RE: Json RPC Addons.SetAddonEnabled - trogggy - 2019-03-07

It's not anything I've seen documented, so I'd be amazed if it worked.
Is there a problem with making multiple calls?


RE: Json RPC Addons.SetAddonEnabled - Edoar - 2019-03-07

nop only a doubt, thanks.