2013-10-23, 01:48 AM 
	
	
	
		BTW I stand corrected there are a lot of optional meta fields that NextPVR doesn't populate in the EPG 
and recordings
Martin
	
	
	
Code:
typedef struct EPG_TAG {
    unsigned int iUniqueBroadcastId; /*!< @brief (required) identifier for this event */
    const char * strTitle; /*!< @brief (required) this event's title */
    unsigned int iChannelNumber; /*!< @brief (required) the number of the channel this event occurs on */
    time_t startTime; /*!< @brief (required) start time in UTC */
    time_t endTime; /*!< @brief (required) end time in UTC */
    const char * strPlotOutline; /*!< @brief (optional) plot outline */
    const char * strPlot; /*!< @brief (optional) plot */
    const char * strIconPath; /*!< @brief (optional) icon path */
    int iGenreType; /*!< @brief (optional) genre type */
    int iGenreSubType; /*!< @brief (optional) genre sub type */
    const char * strGenreDescription; /*!< @brief (optional) genre. Will be used only when iGenreType = EPG_GENRE_USE_STRING */
    time_t firstAired; /*!< @brief (optional) first aired in UTC */
    int iParentalRating; /*!< @brief (optional) parental rating */
    int iStarRating; /*!< @brief (optional) star rating */
    bool bNotify; /*!< @brief (optional) notify the user when this event starts */
    int iSeriesNumber; /*!< @brief (optional) series number */
    int iEpisodeNumber; /*!< @brief (optional) episode number */
    int iEpisodePartNumber; /*!< @brief (optional) episode part number */
    const char * strEpisodeName; /*!< @brief (optional) episode name */
  } ATTRIBUTE_PACKED EPG_TAG;and recordings
Code:
typedef struct PVR_RECORDING {
    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 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 strPlotOutline[PVR_ADDON_DESC_STRING_LENGTH]; /*!< @brief (optional) plot outline */
    char strPlot[PVR_ADDON_DESC_STRING_LENGTH]; /*!< @brief (optional) plot */
    char strChannelName[PVR_ADDON_NAME_STRING_LENGTH]; /*!< @brief (optional) channel name */
    char strIconPath[PVR_ADDON_URL_STRING_LENGTH]; /*!< @brief (optional) icon path */
    char strThumbnailPath[PVR_ADDON_URL_STRING_LENGTH]; /*!< @brief (optional) thumbnail path */
    char strFanartPath[PVR_ADDON_URL_STRING_LENGTH]; /*!< @brief (optional) fanart path */
    time_t recordingTime; /*!< @brief (optional) start time of the recording */
    int iDuration; /*!< @brief (optional) duration of the recording in seconds */
    int iPriority; /*!< @brief (optional) priority of this recording (from 0 - 100) */
    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 */
    int iLastPlayedPosition; /*!< @brief (optional) last played position of this recording on the client */
  } ATTRIBUTE_PACKED PVR_RECORDING;Martin
 
