Kodi Community Forum
API for adding media to Library from addons - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Discussions (https://forum.kodi.tv/forumdisplay.php?fid=222)
+--- Forum: Feature Requests (https://forum.kodi.tv/forumdisplay.php?fid=9)
+--- Thread: API for adding media to Library from addons (/showthread.php?tid=206310)



API for adding media to Library from addons - wozio - 2014-10-12

Hi,

Wondering if this would be doable, to create API for addons to create media items in Library. One example would be PVR recorded movie poping up in Movie Library with all scrapers working. Or youtube movie added to Movie Library.

Openning items would have to be done via addon as it is now with PVR addons.

Regards
Piotr


RE: API for adding media to Library from addons - Montellese - 2014-10-13

I'm working on a system that will allow importing items from anywhere (plugins, upnp servers, ...) possible. Right now I'm focusing on importing items from other XBMC/Kodi instances through UPnP but I also want to support plugins.


RE: API for adding media to Library from addons - DarkHelmet - 2014-12-20

This would be great. I mean the ability to add content from an addon to a library (music or video).


RE: API for adding media to Library from addons - wozio - 2014-12-28

(2014-10-13, 08:29)Montellese Wrote: I'm working on a system that will allow importing items from anywhere (plugins, upnp servers, ...) possible. Right now I'm focusing on importing items from other XBMC/Kodi instances through UPnP but I also want to support plugins.
Any schedule when that will happen? Where can I try/test new code?


RE: API for adding media to Library from addons - Montellese - 2014-12-28

No schedule. I've been working on this for over two years now but for the last year I only had very very limited time to work on XBMC/Kodi and there were other important things (fixes etc.) that had to be done so I didn't get much done. That's also why I've never publicly/officially announced this work. You can find the current state at https://github.com/Montellese/xbmc/tree/media_import_redesign but there's so much missing. I don't even know if it compiles anywhere else but on windows.


RE: API for adding media to Library from addons - wozio - 2014-12-29

Any general idea how it will be implemented? Some general api which will be used from both addons and file scraper? Im new to kodi dev so any hint where to look at would be Good, maybe i could help.


RE: API for adding media to Library from addons - Montellese - 2014-12-29

(2014-12-29, 00:05)wozio Wrote: Any general idea how it will be implemented? Some general api which will be used from both addons and file scraper? Im new to kodi dev so any hint where to look at would be Good, maybe i could help.

See http://forum.kodi.tv/showthread.php?tid=212196&pid=1869132#pid1869132 for a bit more detail.