![]() |
DVBCore
22.11.0
Open Source DVB Engine
|
DVB Interface for MHEG5 engine - Audio. More...
Functions | |
E_MhegErr | DVB_MhegPvrMakeBooking (S_STRING crid, S_CRID_DETAILS *details) |
The function adds an event to the PVR’s list of scheduled events to record. The type of CRID can be any of a single programme or series. The type is defined in crid_type to aid the PVR in finding the required CID. Where the CRID is a series CRID the booking relates to all programme events that are part of the series. The PVR is required to validate the CRID and check that resources are available for the booking. This may involve searching for multiple instances of an event until one is found that does not clash with a previous booking. Where no such instance is found the PVR may choose to indicate the conflict to the viewer, giving them the option to cancel one or more of the bookings. Each 'booking' in 'details' has a logical 'OR' between them. So receiver should choose one booking. The PVR must be able to record all 'locations' for the booking to be successful. The platform implementation of this funtion should only return MHERR_CONFLICT when it does not ask the user, via the native GUI, for input regarding conflicts. If it does ask for user input, then it should return MHEG5_RESULT_PENDING, and subsequently call MHG_NotifyBookingResult() More... | |
E_MhegErr | DVB_MhegPvrCancelBooking (S_STRING crid, U16BIT crid_type) |
Removes an event from the PVR schedule. More... | |
S_CRID_REC * | DVB_MhegPvrListBookings (U16BIT *number) |
Returns an array of CRIDs (and CRID types for NZ profile) that are being monitored by the PVR. More... | |
void | DVB_MhegPvrReleaseList (S_CRID_REC *crid_array) |
MHEG indicates that it is finished using the array returned by DVB_MhegPvrListBookings(). For example, platforms that malloc memory for this, may wish to free the memory here. More... | |
S_CRID_DETAILS * | DVB_MhegPvrGetDetails (S_STRING crid) |
Required by Australia profile only. Returns the type, name, description and a single booking section only containing location details required to resolve the booking. More... | |
void | DVB_MhegPvrReleaseDetails (S_CRID_DETAILS *details) |
Required by Australia profile only. MHEG indicates that it is finished using the CRID details returned by DVB_MhegPvrGetDetails(). For platforms that malloc memory for this, it is a chance to free the memory. More... | |
DVB Interface for MHEG5 engine - Audio.
E_MhegErr DVB_MhegPvrCancelBooking | ( | S_STRING | crid, |
U16BIT | crid_type | ||
) |
Removes an event from the PVR schedule.
crid | Content Reference Identifier string |
S_CRID_DETAILS* DVB_MhegPvrGetDetails | ( | S_STRING | crid | ) |
Required by Australia profile only. Returns the type, name, description and a single booking section only containing location details required to resolve the booking.
crid | Content Reference Identifier string |
S_CRID_REC* DVB_MhegPvrListBookings | ( | U16BIT * | number | ) |
Returns an array of CRIDs (and CRID types for NZ profile) that are being monitored by the PVR.
number | Number of Content References in array |
E_MhegErr DVB_MhegPvrMakeBooking | ( | S_STRING | crid, |
S_CRID_DETAILS * | details | ||
) |
The function adds an event to the PVR’s list of scheduled events to record. The type of CRID can be any of a single programme or series. The type is defined in crid_type to aid the PVR in finding the required CID. Where the CRID is a series CRID the booking relates to all programme events that are part of the series. The PVR is required to validate the CRID and check that resources are available for the booking. This may involve searching for multiple instances of an event until one is found that does not clash with a previous booking. Where no such instance is found the PVR may choose to indicate the conflict to the viewer, giving them the option to cancel one or more of the bookings. Each 'booking' in 'details' has a logical 'OR' between them. So receiver should choose one booking. The PVR must be able to record all 'locations' for the booking to be successful. The platform implementation of this funtion should only return MHERR_CONFLICT when it does not ask the user, via the native GUI, for input regarding conflicts. If it does ask for user input, then it should return MHEG5_RESULT_PENDING, and subsequently call MHG_NotifyBookingResult()
crid | Content Reference Identifier string |
details | Pointer to structure with description of Content Reference |
void DVB_MhegPvrReleaseDetails | ( | S_CRID_DETAILS * | details | ) |
Required by Australia profile only. MHEG indicates that it is finished using the CRID details returned by DVB_MhegPvrGetDetails(). For platforms that malloc memory for this, it is a chance to free the memory.
details | Pointer of Content Reference details structure |
void DVB_MhegPvrReleaseList | ( | S_CRID_REC * | crid_array | ) |
MHEG indicates that it is finished using the array returned by DVB_MhegPvrListBookings(). For example, platforms that malloc memory for this, may wish to free the memory here.
crid_array | Array of Content Reference Identifier's |