Alpha pvr.python - A PVR client supporting Python scripting
#16
Hi, to can use KODI Python modules can use rpyc inside of noop.py service.
Link: http://rpyc.readthedocs.io/en/latest/

kodi python addons/modules <--> noop.py (with rpyc) <--> pvrimpl.py

This works Wink
Reply
#17
What's the current status of this? I would like to develop a PVR client for my TV provider's streaming video website. It provides live TV, EPG, and replay. I would like to implement this client as a Python add-on, because the website also provides On Demand content for which I already developed a prototype add-on, and I would like to re-use as much of it as possible to avoid double work.
Reply
#18
(2017-07-06, 20:32)leandrotsampa Wrote: Hi, to can use KODI Python modules can use rpyc inside of noop.py service.
Link: http://rpyc.readthedocs.io/en/latest/

kodi python addons/modules <--> noop.py (with rpyc) <--> pvrimpl.py

This works Wink
I have basically taken over the project and made it more robust, can even pass file pointers between python and c, to be able to use callbacks such as XBMC->OpenFile and XBMC->ReadFile

I have already implemented my version of IPTV simple client w/recording (https://forum.kodi.tv/showthread.php?tid=326896) using just python implementation and have been testing it on Ubuntu.
This python implementation will allow me to port my addon to Android and allow IPTV recording on android, however...

I am stuck at compiling for Android, so how did you get this to cross-compileHuh

I'm getting the issue:
Could NOT find PythonLibs (missing:  PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)

I can build native for Ubuntu after installing python-dev using apt-get. 

Do I need to compile python2.7 for android using the toolchainHuh If so, what configuration for Python 2.7 did you use to achieve this?
Reply
#19
(2018-10-01, 19:19)el_gonz87 Wrote: I have basically taken over the project and made it more robust, can even pass file pointers between python and c, to be able to use callbacks such as XBMC->OpenFile and XBMC->ReadFile

I have already implemented my version of IPTV simple client w/recording (https://forum.kodi.tv/showthread.php?tid=326896) using just python implementation and have been testing it on Ubuntu.
This python implementation will allow me to port my addon to Android and allow IPTV recording on android, however... 
Are you planning on sharing the improvements you made? I am also thinking of creating a pvr client and would really like to do it in python Smile I am however struggling with the version here attempting to get pvr.python to compile on a mac. Any tips would be much appreciated.
Reply
#20
(2018-10-10, 16:57)im85288 Wrote:
(2018-10-01, 19:19)el_gonz87 Wrote: I have basically taken over the project and made it more robust, can even pass file pointers between python and c, to be able to use callbacks such as XBMC->OpenFile and XBMC->ReadFile

I have already implemented my version of IPTV simple client w/recording (https://forum.kodi.tv/showthread.php?tid=326896) using just python implementation and have been testing it on Ubuntu.
This python implementation will allow me to port my addon to Android and allow IPTV recording on android, however... 
Are you planning on sharing the improvements you made? I am also thinking of creating a pvr client and would really like to do it in python Smile I am however struggling with the version here attempting to get pvr.python to compile on a mac. Any tips would be much appreciated. 
 Shoot! I abandoned the project after I couldn't get it to compile on Android, let me see if I can dig up my code from my junk folder....

Unfortunately I'm on Linux so can't speak for Mac, but can try to help, what errors do you get?
Reply

Logout Mark Read Team Forum Stats Members Help
pvr.python - A PVR client supporting Python scripting3