Thread Closed
 
Thread Rating:
  • 0 Vote(s) - 0 Average
PVR API changes (add-on authors: read this!)
#46
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
#47
no, this is not the right place for questions or bugs
opdenkamp / dushmaniac

xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]

Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.

If you like my work, please consider donating to me and/or Team XBMC.
#48
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
opdenkamp / dushmaniac

xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]

Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.

If you like my work, please consider donating to me and/or Team XBMC.
#49
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)
#50
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.
opdenkamp / dushmaniac

xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]

Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.

If you like my work, please consider donating to me and/or Team XBMC.
#51
Photo 
SORRY for delate post
#52
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.
opdenkamp / dushmaniac

xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]

Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.

If you like my work, please consider donating to me and/or Team XBMC.
#53
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. :/
#54
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.
opdenkamp / dushmaniac

xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]

Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.

If you like my work, please consider donating to me and/or Team XBMC.
#55
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/f8...d6b9c65b6f
pull request: https://github.com/xbmc/xbmc/pull/6685
#56
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/f1...247b55a354
pull request: https://github.com/xbmc/xbmc/pull/6333
#57
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.
#58
New API change for Addons having their own demuxer: https://github.com/xbmc/xbmc/pull/9290
#59
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.
#60
APi change: https://github.com/xbmc/xbmc/pull/12552

reference: https://forum.kodi.tv/showthread.php?tid=259830
  Thread Closed
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
PVR API changes (add-on authors: read this!)00