PVR addons - Development documentation

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
benb Offline
Junior Member
Posts: 3
Joined: Aug 2009
Reputation: 0
Location: German
Post: #1
I'd like to develop a PVR addon. I wrote a TV backend similar to MythTV backend, called Zeipis. I'd like to add it to XBMC using the new PVR API.

However, I couldn't find any development or API documentation about it. Huh All I found was the existing plugins (including the demo), at https://github.com/opdenkamp/xbmc-pvr-ad...ter/addons (not sure whether this is the official once).

Where can I find documentation?

I noticed that all the PVR plugins are in C++. I had assumed that it's possible to write them in Python. For my client, Python is plenty sufficient, as it's just calling a web service for everything - and this is something that's comparably hard to do in C++. Is there a way to write PVR plugins in Python only?

Thanks,

Ben Bucksch


P.S. Shouldn't there be a PVR addon forum in Add-ons Help and Support?
find quote
spiff Offline
Retired Developer
Posts: 12,386
Joined: Nov 2003
Post: #2
there is some doxy, the rest is monkey see, monkey do and you have discovered. this is floss Smile

there is no python pvr add-on API.
(This post was last modified: 2013-07-22 13:35 by spiff.)
find quote
benb Offline
Junior Member
Posts: 3
Joined: Aug 2009
Reputation: 0
Location: German
Post: #3
I've tried this "copy and just go" with the XBMC plugin, and it's been an utter pain. The API and the whole idea and concept is great, but without documentation, there are enough pitholes to make it highly painful.

I've spent the whole night fighting, until after 8 AM in the morning. I don't even know basics like test cycles, i.e. how do I quickly test my plugin changes, without clicking myself through the UI of installing, navigating etc. every time I change a code line and want to test it.

FLOSS and documentation are no contradiction. Python itself is excellently documented, with extensive API docs including introductions and examples for each module, with many tutorials etc. It's more a question of how much you want new developers.

Too bad that there's no Python API. I don't feel like connecting to web services via C++. Too bad, because the PVR API idea is great.
(This post was last modified: 2013-07-23 00:46 by benb.)
find quote
bam80 Offline
Junior Member
Posts: 18
Joined: Dec 2011
Reputation: 0
Post: #4
Yea, I wanted to port some existing python video plugin to PVR subsystem, but now I doubt if I can, when I realized the API is purely C++..
find quote