eitd: as long as neutrino using only first content classification,

reduce content classification caching (leaving old code with ifdef)
This commit is contained in:
[CST] Focus
2015-01-30 19:47:30 +03:00
parent ae6a5e6917
commit e8700de2b7
8 changed files with 84 additions and 2 deletions

View File

@@ -580,8 +580,13 @@ void CRecordInstance::FillMovieInfo(CZapitChannel * channel, APIDList & apid_lis
info2 = epgdata.info2;
recMovieInfo->parentalLockAge = epgdata.fsk;
#ifdef FULL_CONTENT_CLASSIFICATION
if( !epgdata.contentClassification.empty() )
recMovieInfo->genreMajor = epgdata.contentClassification[0];
#else
if(epgdata.contentClassification)
recMovieInfo->genreMajor = epgdata.contentClassification;
#endif
recMovieInfo->length = epgdata.epg_times.dauer / 60;