Add program genre and parental rating information to IceTV EPG cache

Status
Not open for further replies.

GitHub

Moderator
Add program genre and parental rating information to IceTV EPG cache

Add structure for representing EIT parental rating.

Add new methods eEPGCache::submitEventData() to submit event data
that includes a vector of event types (genres) and a vector of
parental ratings.

Add new overloaded method
void eEPGCache::submitEventData(
const std::vector<int>& sids, const std::vector<eDVBChannelID>& chids,
long start, long duration,
const char* title, const char* short_summary, const char* long_description,
std::vector<uint8_t> event_types,
std::vector<eit_parental_rating> parental_ratings,
int event_id, int source)
to load the event_types and parental_ratings vectors into the EPG cache.

Re-implement the old, more limited methods for submitting event
data by calls to the new methods.

Extend
eEPGCache::importEvents(ePyObject serviceReferences, ePyObject list)
so that the tuples in their list can have either a single event
type or a tuple or list of event types as the 6th element, and an
optional 8th element that is a list or tuple of
(country[string 3 bytes], parental_rating [byte]) tuples.

Continue reading...
 
Status
Not open for further replies.
Back
Top