2016-03-11, 21:48
Hi All,
I've been working on a Python based PVR addon, instead of implementing and compiling a binary addon. I already have a proof of concept, where Kodi must be modified, new Python addon module was created and so on.
So there is a generic Python PVR binary addon, which acts like a proxy, starts the script, and calls into the script when the PVR API is called. The parameter exchange is done by dictionaries, and the key names are the actual PVR struct field names.
Here is a working python script example, which implements the PVR Demo addon shipped with Kodi, but using a python script.
Do you guys think that this kind of feature might be needed?
Here is the script example: http://paste.osmc.io/zafugukixi.py
I've been working on a Python based PVR addon, instead of implementing and compiling a binary addon. I already have a proof of concept, where Kodi must be modified, new Python addon module was created and so on.
So there is a generic Python PVR binary addon, which acts like a proxy, starts the script, and calls into the script when the PVR API is called. The parameter exchange is done by dictionaries, and the key names are the actual PVR struct field names.
Here is a working python script example, which implements the PVR Demo addon shipped with Kodi, but using a python script.
Do you guys think that this kind of feature might be needed?
Here is the script example: http://paste.osmc.io/zafugukixi.py