New Add-on Type: Content Provider
#1
Kodi provides the option to be extended by (video) plugins. However, these plugins are just stupid lists of movies/tv shows/... Kodi does neither get sematic information of the content nor integrates them into local library. For a conform look and feel, it would be great to give Plugin developer the option to integrate content into Kodis library. I know, there already are plugins like OSMOSIS, but why not provide a clean python interface?
The end user benefits from faster access, better integration and all the Kodi library features.

Feature Request: Please provide an python API to integrate Video/Audio content into Kodi library. Maybe something like a content-provider extension. The developer could define in addon.xml, which kind of data an addon provides, e.g. movies, and an update interval. Kodi calls the Addon in this interval and adds the content.

Since content for streaming providers changes from time to time, it would be great to allow developers to return an "expire" or "update" timestamp for the content. If the "expire" is reached, content could be removed from database. When "update" is reached, Kodi should call a defined entrypoint to fetch updated data of the video entry.
Reply
#2
(2020-03-29, 16:25)flubshi Wrote: .....Since content for streaming providers changes from time to time, it would be great to allow developers to return an "expire" or "update" timestamp for the content. If the "expire" is reached, content could be removed from database. When "update" is reached, Kodi should call a defined entrypoint to fetch updated data of the video entry.

That smells like wanting to add piracy links to Kodi.........
Server: Ubuntu Server 22TB HDD running SAMBA
Kodi: 4 Raspberry Pi 3 running Libreelec -  on the main PC - running Linux Mint
My Setup thread |
Reply
#3
(2020-03-29, 20:52)tjay260476 Wrote: That smells like wanting to add piracy links to Kodi......... 
Thanks for your foolish comment!

I talk about an option for video addons like Netflix, Amazon to integrate the Kodi library. In my case, I am maintaining a video addon for waipu.tv. They provide a small movie and tv show database (legal, no piracy) I would like to see integrated in Kodi.
Reply
#4
Actually it isn't a foolish comment, as whilst your usage case is perfectly acceptable and legitimate, such a feature could well be abused by unscrupulous peddlers of pirated media.
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply
#5
(2020-03-29, 22:11)DarrenHill Wrote: , such a feature could well be abused by unscrupulous peddlers of pirated media.
Like every other Kodi feature could be abused for that!?!
Reply
#6
To some degree yes.

I was more commenting on your reaction to the previous post than the feature request itself.
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply
#7
It was the wording of the sentence that got me twitchy....
Server: Ubuntu Server 22TB HDD running SAMBA
Kodi: 4 Raspberry Pi 3 running Libreelec -  on the main PC - running Linux Mint
My Setup thread |
Reply
#8
I believe this work https://forum.kodi.tv/showthread.php?tid=224794 may eventually allow this.
Reply
#9
@flubshi,
Since your are an addon developer, jump in the thread and see if you can do it now. Ask for direction or give guidance as to what you need. Let's get the conversation started.

https://forum.kodi.tv/showthread.php?tid=224794
Reply
#10
I was busy last days, sorry: @LongMan & @jjd-uk the thread you linked looks promising. Thanks a lot. I will take a deeper look into it asap!

I think this solves my feature request Smile
Reply
#11
@flubshi,
Montellese has started a wiki to give some background on the concept and guidance on the development of a mediaimporter. Your feedback would be greatly appreciated.

https://github.com/Montellese/xbmc/wiki/Media-Import


Cheers,
LongMan
Reply
#12
(2020-04-05, 00:53)LongMan Wrote: Montellese has started a wiki to give some background on the concept and guidance on the development of a mediaimporter. Your feedback would be greatly appreciated.

Thanks a lot! I already started to implement my first media provider. It is very basic, but it works - I started the my first movie from media library  Smile .
I will provide feedback to Montellese via Github.
Reply

Logout Mark Read Team Forum Stats Members Help
New Add-on Type: Content Provider0