how to list addons (possibly for a kind of media)
#1
Hello everybody !

I would like to be able to list addon's IDs for pictures types. I haven't found anything to do that.
Do you have an idea ?

(i.e I would like to be able to call a function ,say 'getPicturesAddons()' that return a list of pictures addon's IDs )
Reply
#2
it's not available in a neat way, but use the json interface with GetFiles on addons://xbmc.addon.image/
Reply
#3
ok I'll try this !
Waiting for answers I was looking for sqlite request on addon.db base.
What do you recon ?
Code:
SELECT addonID FROM "addon"
  where
    id in (select id from addonextra where key="provides" and value like "%image%")
     and
    type="xbmc.python.pluginsource"
     and
    addonID not in (select distinct addonID from disabled)
     and
    addonID not in (select distinct addonID from broken)
Reply
#4
that would also work just fine. tons of hacky solutions - isn't xbmc great ;P
Reply
#5
We strongly recommend against it though - if we change the layout you're screwed.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply

Logout Mark Read Team Forum Stats Members Help
how to list addons (possibly for a kind of media)0