PVR API changes (add-on authors: read this!) - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: PVR Development (/forumdisplay.php?fid=136)
+--- Thread: PVR API changes (add-on authors: read this!) (/showthread.php?tid=97764)
- opdenkamp - 2012-02-08 00:25
if you encounter any (more) bugs in lib/platform, let me know and I'll get it fixed.
RE: PVR API changes (add-on authors: read this!) - opdenkamp - 2012-08-10 09:04
iClientId has been removed from PVR_PROPERTIES. more changes will follow soon.
RE: PVR API changes (add-on authors: read this!) - opdenkamp - 2012-08-13 12:29
removed bSupportsChannelSettings and bSupportsTimeshift from PVR_ADDON_CAPABILITIES
RE: PVR API changes (add-on authors: read this!) - opdenkamp - 2012-08-19 00:40
moved and renamed PVR_HANDLE from xbmc_pvr_types.h to ADDON_HANDLE in xbmc_addon_types.h
RE: PVR API changes (add-on authors: read this!) - opdenkamp - 2012-08-19 11:06
epg related types have been extracted from xbmc_pvr_types.h and been moved to xbmc_epg_types.h
RE: PVR API changes (add-on authors: read this!) - opdenkamp - 2012-08-20 01:10
added XBMC_PVR_API_VERSION to xbmc_pvr_types.h.
Every add-on must implement the method const char* GetPVRAPIVersion(), that returns the value of XBMC_PVR_API_VERSION that was used to compile the add-on
https://github.com/opdenkamp/xbmc/commit/1c5ca99ec4bc76cda08efa63716a934bd03e9839 (there's a typo in the method name in the commit note)
RE: PVR API changes (add-on authors: read this!) - opdenkamp - 2012-08-22 11:46
not directly an interface change, but related: https://github.com/opdenkamp/xbmc/pull/622
i'm going to remove all add-ons from the pvr tree soon.
RE: PVR API changes (add-on authors: read this!) - opdenkamp - 2012-08-23 02:50
PVR_ERROR_NOT_SYNC has been removed
PVR_ERROR_NOT_DELETED and PVR_ERROR_NOT_SAVED have been replaced by PVR_ERROR_FAILED
PVR_ERROR_NOT_POSSIBLE has been replaced by PVR_ERROR_REJECTED
PVR_ERROR_INVALID_PARAMETERS has been added
enum values were changed
all PVR add-ons have now been removed from the tree. you can find an explanation in https://github.com/opdenkamp/xbmc/blob/master/docs/README.pvr
RE: PVR API changes (add-on authors: read this!) - opdenkamp - 2012-09-03 00:21
forgot to post about the latest interface changes here.
each add-on must implement "unsigned int GetChannelSwitchDelay()". Delay to use when using switching channels for add-ons not providing an input stream.
changed some PVR_STREAM_PROPERTIES to int instead of unsigned, to match the field types in XBMC
each add-on must implement "const char* GetMininumPVRAPIVersion(void)" and return the value of XBMC_PVR_MIN_API_VERSION that was used to compile the add-on
PVR API version has been bumped to 1.2.0
RE: PVR API changes (add-on authors: read this!) - opdenkamp - 2012-09-18 13:06
the following PR exposes CFile methods to PVR add-ons: https://github.com/xbmc/xbmc/pull/1432
PVR add-ons cannot use external libs like curl or smbclient (or any other lib, unless it's linked into the add-on). I've updated most of the add-on code to use these new methods: https://github.com/opdenkamp/xbmc-pvr-addons/pull/35. That PR will be merged in after 1432 has been merged.