get and add item to a existing list container
#1
Hello...
does someone know if there is any possibility with python api to add items to an existing container list ?

i explain :

my list container under xml skin point to moviedb://videos/ ......

and in my video addon, i would like to add items to this list.....

anyone already do that ?

trying with getControl and add , but nothing work Sad

So, i get items with JSON Api and add item with addDirectoryItem....

But it seem getting list item <content>moviedb://....</content> in xml skin is more fast than with with JSON Api

thanks
Intel NUC 5YPPH-8Go-SSD120go-external drive 1To
Windows 10 PRO - Kodi Krypton 17 - IconMix
Reply
#2
i don't think you can.

afaik python does not have access to lists that are filled with content in xml.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
This will be possible when https://github.com/xbmc/xbmc/pull/10730 is merged. You can add a content path which points to a plugin path of your addon and another with the moviedb:// path.
Reply
#4
ok...
thank for yours explanations....
Intel NUC 5YPPH-8Go-SSD120go-external drive 1To
Windows 10 PRO - Kodi Krypton 17 - IconMix
Reply

Logout Mark Read Team Forum Stats Members Help
get and add item to a existing list container0