Python PVR Clients?
#1
Similar to how Python Scrapers have been added here: 
https://github.com/xbmc/xbmc/pull/9984/c...c55c9709e3

Could a similar approach be taken to allow for Python PVR Clients.
This would stop the need for add-ons to re-create EPG guides etc.

It would also allow for more advanced IPTV functionality.

1) Streams that require tokens
2) Use inputstream.adaptive for HLS playback

It would be pretty basic PVR (like IPTV Simple Client)

Just a few calls would be made 
1) list - returns a list of channels
2) play - plays the channel
3) EPG - returns epg data

It could be done in the same way the scrapers were implemented.
Set the python lib in the addon.xml, and then KODI makes "action" calls via the plugin arguments.
The addon then uses list items to return the list.
It could also play the streams (just like a normal plugin would play a listitem by setting the path).
Here you could setup inputstream etc.

Hardest part is working out a nice way to return basic EPG data.
Reply

Logout Mark Read Team Forum Stats Members Help
Python PVR Clients?0