mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
CRecordInstance::FillMovieInfo: -fix epg title if epgid removed http://www.dbox2world.net/board293-cst-coolstream/board314-cst-coolstream-development/12026-probleme-mit-timeraufnahme/
Origin commit data
------------------
Commit: 9455b0eeda
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2014-01-16 (Thu, 16 Jan 2014)
This commit is contained in:
@@ -570,8 +570,23 @@ void CRecordInstance::FillMovieInfo(CZapitChannel * channel, APIDList & apid_lis
|
||||
|
||||
recMovieInfo->length = epgdata.epg_times.dauer / 60;
|
||||
|
||||
printf("fsk:%d, Genre:%d, Dauer: %d\r\n",recMovieInfo->parentalLockAge,recMovieInfo->genreMajor,recMovieInfo->length);
|
||||
} else if (!epgTitle.empty()) {//if old eepgid removed
|
||||
tmpstring = epgTitle;
|
||||
} else if(CEitManager::getInstance()->getActualEPGServiceKey(channel_id, &epgdata )){
|
||||
tmpstring = epgdata.title;
|
||||
info1 = epgdata.info1;
|
||||
info2 = epgdata.info2;
|
||||
|
||||
recMovieInfo->parentalLockAge = epgdata.fsk;
|
||||
if( !epgdata.contentClassification.empty() )
|
||||
recMovieInfo->genreMajor = epgdata.contentClassification[0];
|
||||
|
||||
recMovieInfo->length = epgdata.epg_times.dauer / 60;
|
||||
|
||||
printf("fsk:%d, Genre:%d, Dauer: %d\r\n",recMovieInfo->parentalLockAge,recMovieInfo->genreMajor,recMovieInfo->length);
|
||||
}
|
||||
|
||||
} else if (!epgTitle.empty()) {
|
||||
tmpstring = epgTitle;
|
||||
}
|
||||
|
Reference in New Issue
Block a user