Skip to content
This repository has been archived by the owner on Apr 15, 2023. It is now read-only.

Commit

Permalink
sync interface v1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
opdenkamp committed Oct 3, 2012
1 parent 4afa416 commit 9e7a5ba
Showing 1 changed file with 19 additions and 16 deletions.
35 changes: 19 additions & 16 deletions xbmc/xbmc_pvr_types.h
Expand Up @@ -72,10 +72,10 @@ struct DemuxPacket;
#define PVR_STREAM_MAX_STREAMS 20 #define PVR_STREAM_MAX_STREAMS 20


/* current PVR API version */ /* current PVR API version */
#define XBMC_PVR_API_VERSION "1.3.0" #define XBMC_PVR_API_VERSION "1.4.0"


/* min. PVR API version */ /* min. PVR API version */
#define XBMC_PVR_MIN_API_VERSION "1.3.0" #define XBMC_PVR_MIN_API_VERSION "1.4.0"


#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
Expand Down Expand Up @@ -251,20 +251,23 @@ extern "C" {
* @brief Representation of a recording. * @brief Representation of a recording.
*/ */
typedef struct PVR_RECORDING { typedef struct PVR_RECORDING {
char strRecordingId[PVR_ADDON_NAME_STRING_LENGTH]; /*!< @brief (required) unique id of the recording on the client. */ char strRecordingId[PVR_ADDON_NAME_STRING_LENGTH]; /*!< @brief (required) unique id of the recording on the client. */
char strTitle[PVR_ADDON_NAME_STRING_LENGTH]; /*!< @brief (required) the title of this recording */ char strTitle[PVR_ADDON_NAME_STRING_LENGTH]; /*!< @brief (required) the title of this recording */
char strStreamURL[PVR_ADDON_URL_STRING_LENGTH]; /*!< @brief (required) stream URL to access this recording */ char strStreamURL[PVR_ADDON_URL_STRING_LENGTH]; /*!< @brief (required) stream URL to access this recording */
char strDirectory[PVR_ADDON_URL_STRING_LENGTH]; /*!< @brief (optional) directory of this recording on the client */ char strDirectory[PVR_ADDON_URL_STRING_LENGTH]; /*!< @brief (optional) directory of this recording on the client */
char strPlotOutline[PVR_ADDON_DESC_STRING_LENGTH]; /*!< @brief (optional) plot outline */ char strPlotOutline[PVR_ADDON_DESC_STRING_LENGTH]; /*!< @brief (optional) plot outline */
char strPlot[PVR_ADDON_DESC_STRING_LENGTH]; /*!< @brief (optional) plot */ char strPlot[PVR_ADDON_DESC_STRING_LENGTH]; /*!< @brief (optional) plot */
char strChannelName[PVR_ADDON_NAME_STRING_LENGTH]; /*!< @brief (optional) channel name */ char strChannelName[PVR_ADDON_NAME_STRING_LENGTH]; /*!< @brief (optional) channel name */
time_t recordingTime; /*!< @brief (optional) start time of the recording */ char strIconPath[PVR_ADDON_URL_STRING_LENGTH]; /*!< @brief (optional) icon path */
int iDuration; /*!< @brief (optional) duration of the recording in seconds */ char strThumbnailPath[PVR_ADDON_URL_STRING_LENGTH]; /*!< @brief (optional) thumbnail path */
int iPriority; /*!< @brief (optional) priority of this recording (from 0 - 100) */ char strFanartPath[PVR_ADDON_URL_STRING_LENGTH]; /*!< @brief (optional) fanart path */
int iLifetime; /*!< @brief (optional) life time in days of this recording */ time_t recordingTime; /*!< @brief (optional) start time of the recording */
int iGenreType; /*!< @brief (optional) genre type */ int iDuration; /*!< @brief (optional) duration of the recording in seconds */
int iGenreSubType; /*!< @brief (optional) genre sub type */ int iPriority; /*!< @brief (optional) priority of this recording (from 0 - 100) */
int iPlayCount; /*!< @brief (optional) play count of this recording on the client */ int iLifetime; /*!< @brief (optional) life time in days of this recording */
int iGenreType; /*!< @brief (optional) genre type */
int iGenreSubType; /*!< @brief (optional) genre sub type */
int iPlayCount; /*!< @brief (optional) play count of this recording on the client */
} ATTRIBUTE_PACKED PVR_RECORDING; } ATTRIBUTE_PACKED PVR_RECORDING;


/*! /*!
Expand Down

0 comments on commit 9e7a5ba

Please sign in to comment.