Req To be able to write python based PVR
#1
Why is there limitation that we cannot write PVR plugins in python? I would like to write plugin for major IPTV provider in europe. They have API that provides EPG, timeshift, recordings of shows (for a week), and video rental(probably not going to fit in PVR, but I digress) and it provides streams over HLS protocol(which kodi already reads perfectly well with inputstream adaptive). I already have small video plugin as a proof of concept, and it works, but I just stumbled across this major issue, that one simply cannot write PVR plugins in python, and I am not willing to write C++ plugin, as it requires too much effort to compile to all possible devices on the planet

https://forum.kodi.tv/showthread.php?tid=323818
https://forum.kodi.tv/showthread.php?tid=290834
Reply
#2
(2020-04-21, 11:26)mikk150 Wrote: Why is there limitation that we cannot write PVR plugins in python? I would like to write plugin for major IPTV provider in europe. They have API that provides EPG, timeshift, recordings of shows (for a week), and video rental(probably not going to fit in PVR, but I digress) and it provides streams over HLS protocol(which kodi already reads perfectly well with inputstream adaptive). I already have small video plugin as a proof of concept, and it works, but I just stumbled across this major issue, that one simply cannot write PVR plugins in python, and I am not willing to write C++ plugin, as it requires too much effort to compile to all possible devices on the planet

https://forum.kodi.tv/showthread.php?tid=323818
https://forum.kodi.tv/showthread.php?tid=290834
I guess you will have to contribute the Python <> C bindings (https://github.com/xbmc/xbmc/tree/master...ces/legacy) yourself to make this possible, since the Kodi team has a lot of other stuff to do.

The limitation probably exists because it would be a lot of work to add the Python interfaces.
Reply

Logout Mark Read Team Forum Stats Members Help
To be able to write python based PVR1