2016-11-15, 05:10
Hi, I'm writing a addon like addon manager, but i dont know how to get list of installed addons. Can i do this in python code?
(2016-11-15, 10:37)trogggy Wrote: I'm fairly sure you can use JSON - Addons.GetAddons - for this.
{ "jsonrpc": "2.0", "method": "Addons.GetAddons","params":{"type":"xbmc.player.musicviz"}, "id": "1"}
{"id":"1","jsonrpc":"2.0","result":{"addons":[{"addonid":"visualization.shadertoy","type":"xbmc.player.musicviz"},{"addonid":"visualization.goom","type":"xbmc.player.musicviz"},{"addonid":"visualization.spectrum","type":"xbmc.player.musicviz"},{"addonid":"visualization.waveform","type":"xbmc.player.musicviz"}],"limits":{"end":4,"start":0,"total":4}}}
(2016-11-21, 11:41)anhth Wrote:(2016-11-16, 09:36)SLiX Wrote: I would prefer the json interface way to get the addons. But good to hear that you were successfulYep! But i cant install/update/unstall addon programmatically
What is your goal? Are you developing some kind of all-in-one installer?
(2016-11-24, 15:11)SLiX Wrote: But installing by just moving an addon in addons folder was possible till jarvis.
This does not work on krypton anymore, am I right?
(2016-11-24, 15:15)black_eagle Wrote:(2016-11-24, 15:11)SLiX Wrote: But installing by just moving an addon in addons folder was possible till jarvis.
This does not work on krypton anymore, am I right?
Yes, you are right. Add-ons have to be installed via Kodi's built in add-on installer AND if they are not from the official repo, then 'allow 3rd party add-ons' needs to be enabled too.