v16 kodi API
#1
Hello, I'm a C++ developer,
I would like to know if there is a way to use some sort of API to embed the kodi output from a DVB-T video channel to a Window control and How to handle the setup separately.

Thanks
Reply
#2
nope.
Reply
#3
Thanks ironic_monkey, so there are no API.
But do you know if exist some sample of using kodi structures and functions in a C++ project ?
Thanks
Reply
#4
the only sample would be the kodi code. i think you will have a very very hard time extracting the player/pvr code as it has tentacles.. everywhere. so it would be a guide but not much more than that.

naturally there are APIs for interfacing with kodi, but there is no API to get output streams. it has always been add-ons feeding the core.

if you are serious about this, i would start with the PVR API https://github.com/xbmc/xbmc/blob/master..._pvr_dll.h. note: this is the API of the pvr add-on itself (what kodi expects from the shared object). the mocking will be mocking of https://github.com/xbmc/xbmc/blob/master...XBMC_pvr.h with friends. these are the callbacks add-on can do to kodi. implement dummies for the interface until you are able to load the shared objects. then start replacing mocks with appropriate implementations for the subset you need. it will be tedious work.

such an effort could easily be molded into a test framework for the add-ons so please do share the code if you start on this.
Reply

Logout Mark Read Team Forum Stats Members Help
kodi API0