Kodi Community Forum
PVR API changes (add-on authors: read this!) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+---- Forum: PVR (https://forum.kodi.tv/forumdisplay.php?fid=136)
+---- Thread: PVR API changes (add-on authors: read this!) (/showthread.php?tid=97764)

Pages: 1 2 3 4


RE: PVR API changes (add-on authors: read this!) - x-cimo - 2012-11-14

Not sure if this is the right place, but I`m working on a plugin that use the XBMC GetInfoBooleans, and the
Pvr.IsPlayingTv is working properly however the Pvr.IsPlayingRecording always return false.

Thanks


RE: PVR API changes (add-on authors: read this!) - opdenkamp - 2012-11-14

no, this is not the right place for questions or bugs


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

minor change: in the add-on xml, a line must be present to check API compatibility, so add-ons can be installed from a repository properly:
PHP Code:
<requires>
  <
import addon="xbmc.pvr" version="1.6.0"/>
</
requires



RE: PVR API changes (add-on authors: read this!) - piotrasd - 2013-05-21

Hi
There is any chance extend functionality ?

actual API i very limited.

now special we this feel when we somethig want create, some changes in skin, widget etc. and in actual API we connot find for this special Call
and we must create some extra service, script etc :/

what i mean:
Image

On this info bar for show TP freq, FEC, pol. we need create extra service wich will be extract this data from channels list becuase API dont delivery this Sad

second Example:
If we have 1 tuner DVB-S2 and watch some channel - tuner is LOCKED to one TP - and we can watch other programs from this same TP (example when recoding is active) but now there is no possibility LIST/show wich channels we can play in this same time .. because also info about TP is not delivery - so now we can only try One by One for cheking wich working :/
If this info API will delivery then easy we can sort channels - or list channels wich actual will be work (when recording is active, or if second client watch something)


RE: PVR API changes (add-on authors: read this!) - opdenkamp - 2013-05-24

please create a topic with your proposition(s) for changes, don't post them here. this topic is about actual changes that have been implemented.


RE: PVR API changes (add-on authors: read this!) - piotrasd - 2013-11-09

SORRY for delate post


RE: PVR API changes (add-on authors: read this!) - opdenkamp - 2015-03-06

Right, let's get this thread going again. The following things have been changed in pvr api version 1.9.5:

PVR_RECORDING struct has a new field, which can be used to link EPG tags to recordings.
PHP Code:
unsigned int iEpgEventId/*!< @brief (optional) EPG event id associated with this recording */ 
this field replaces the strRecordingId field in the EPG_TAG struct.

Setting this ID from the add-on will allow users to play a recording from the timeline and from the channels window.

libXBMC_gui.h has been replaced by libKODI_guilib.h, and all member names have been changed to match the new name.
For the add-ons not using any of this: change the name of the included file, and change XBMC_GUI_API_VERSION to KODI_GUILIB_API_VERSION, and XBMC_GUI_MIN_API_VERSION to KODI_GUILIB_MIN_API_VERSION in your code.


RE: PVR API changes (add-on authors: read this!) - janbar - 2015-03-08

Hi Lars, something is broken since API 1.9.5: non flattened view of recordings does not show any recording. Until commit 8d9754b1205124e6ded1f0395570a5223a6f148a it was ok. :/


RE: PVR API changes (add-on authors: read this!) - opdenkamp - 2015-03-10

This thread is to announce API changes, not to ask for help or report bugs, so making this thread read-only (for you ;-)). Please create a new thread to report bugs.


RE: PVR API changes (add-on authors: read this!) - xhaggi - 2015-03-17

2015-03-16: New property for PVR_CHANNEL_GROUP

API Version: 1.9.6

PHP Code:
unsigned int iPosition/*!< @brief (optional) sort position of the group (0 indicates that the backend doesn't support sorting of groups) */ 

git commit: https://github.com/xhaggi/xbmc/commit/f84b479df448093dfc254c5993f836d6b9c65b6f
pull request: 6685 (PR)


RE: PVR API changes (add-on authors: read this!) - xhaggi - 2015-03-17

2015-03-16: New properties for EPG_TAG

API Version: 1.9.6

PHP Code:
const char strOriginalTitle/*!< @brief (optional) originaltitle */
const char strCast;          /*!< @brief (optional) cast */
const char strDirector;      /*!< @brief (optional) director */
const char strWriter;        /*!< @brief (optional) writer */
int iYear;                     /*!< @brief (optional) year */
const char strIMDBNumber;    /*!< @brief (optional) IMDBNumber */ 

git commit: https://github.com/xhaggi/xbmc/commit/f12b14090233a890506ef3588ea9ae247b55a354
pull request: 6333 (PR)


RE: PVR API changes (add-on authors: read this!) - FernetMenta - 2016-01-17

New API change: https://github.com/xbmc/xbmc/pull/8896

Real-time streams need special treatment because buffers won't fill once playback was started.


RE: PVR API changes (add-on authors: read this!) - FernetMenta - 2016-03-07

New API change for Addons having their own demuxer: https://github.com/xbmc/xbmc/pull/9290


RE: PVR API changes (add-on authors: read this!) - FernetMenta - 2016-11-26

API Change: https://github.com/xbmc/xbmc/pull/10985

Signature of function SeekTime was changes, parameter time form int to double. Addon authors who have implemented this function are requested to check their addons.
I only did the necessary changes to make them build again.


RE: PVR API changes (add-on authors: read this!) - FernetMenta - 2017-07-23

APi change: https://github.com/xbmc/xbmc/pull/12552

reference: https://forum.kodi.tv/showthread.php?tid=259830