Skip to content

Commit

Permalink
[PVR] Addon API: Changed type of PVR_TIMER.iEpgUid to unsigned int. I…
Browse files Browse the repository at this point in the history
…ntroduce constant PVR_TIMER_NO_EPG_UID.
  • Loading branch information
ksooo committed Sep 14, 2015
1 parent eb961fe commit 1869562
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion xbmc/addons/include/xbmc_pvr_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,11 @@ extern "C" {
*/
const unsigned int PVR_TIMER_NO_PARENT = PVR_TIMER_NO_CLIENT_INDEX; /*!< @brief timer has no parent; it was not scheduled by a repeating timer. */

/*!
* @brief special PVR_TIMER.iEpgUid value to indicate that a timer has no EPG event uid.
*/
const unsigned int PVR_TIMER_NO_EPG_UID = 0; /*!< @brief timer has no EPG event uid. */

/*!
* @brief special PVR_TIMER.iClientChannelUid value to indicate "any channel". Useful for some repeating timer types.
*/
Expand Down Expand Up @@ -417,7 +422,7 @@ extern "C" {
unsigned int iWeekdays; /*!< @brief (optional) week days, for repeating timers */
unsigned int iPreventDuplicateEpisodes; /*!< @brief (optional) 1 if backend should only record new episodes in case of a repeating epg-based timer, 0 if all episodes shall be recorded (no duplicate detection). Actual algorithm for
duplicate detection is defined by the backend. Addons may define own values for different duplicate detection algorithms, thus this is not just a bool.*/
int iEpgUid; /*!< @brief (optional) epg event id. If set iClientChannelUid, strTitle, strSummary, startTime, endTime, iGenreType, iGenreSubType will be ignored */
unsigned int iEpgUid; /*!< @brief (optional) epg event id. Use PVR_TIMER_NO_EPG_UID to state that there is no EPG event id available for this timer. Values greater than PVR_TIMER_NO_EPG_UID represent a valid epg event id. */
unsigned int iMarginStart; /*!< @brief (optional) if set, the backend starts the recording iMarginStart minutes before startTime. */
unsigned int iMarginEnd; /*!< @brief (optional) if set, the backend ends the recording iMarginEnd minutes after endTime. */
int iGenreType; /*!< @brief (optional) genre type */
Expand Down

0 comments on commit 1869562

Please sign in to comment.