XBMC Community Forum
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)

Pages: 1 2 3 4 5


- opdenkamp - 2012-02-08 00:25

great, thanks.
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.

https://github.com/opdenkamp/xbmc/commit/2a6b1aed206dcc6a721638980e8cc63577cd797b


RE: PVR API changes (add-on authors: read this!) - opdenkamp - 2012-08-13 12:29

removed bSupportsChannelSettings and bSupportsTimeshift from PVR_ADDON_CAPABILITIES
https://github.com/opdenkamp/xbmc/commit/68f33069105aa81d216522afedfac8d06038f987


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

https://github.com/opdenkamp/xbmc/commit/a0f882b3fb3177a601dfe466238511ad0c0af9c2


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

https://github.com/opdenkamp/xbmc/commit/e494d2eb11bb65855749d4631711b239ab17245f


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

changed PVR_ERROR:
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

https://github.com/opdenkamp/xbmc/commit/f872cfd5c70d7d62f02a11a96dddf0c84f131e8a

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.
-> https://github.com/opdenkamp/xbmc-pvr-addons/commit/ccc757b7c881a0a127b0054930d7befe55fcf598

changed some PVR_STREAM_PROPERTIES to int instead of unsigned, to match the field types in XBMC
-> https://github.com/opdenkamp/xbmc-pvr-addons/commit/97ddf5233e02fec7d908e78cb2bd1c8a7758fb44

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
-> https://github.com/opdenkamp/xbmc-pvr-addons/commit/fb0ffa5b438868fb84d07a20cf53b1afbeb65bd6

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.