mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
eitd: as long as neutrino using only first content classification,
reduce content classification caching (leaving old code with ifdef)
Origin commit data
------------------
Branch: ni/coolstream
Commit: e8700de2b7
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2015-01-30 (Fri, 30 Jan 2015)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user