mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +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/
This commit is contained in:
@@ -570,8 +570,23 @@ void CRecordInstance::FillMovieInfo(CZapitChannel * channel, APIDList & apid_lis
|
|||||||
|
|
||||||
recMovieInfo->length = epgdata.epg_times.dauer / 60;
|
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);
|
printf("fsk:%d, Genre:%d, Dauer: %d\r\n",recMovieInfo->parentalLockAge,recMovieInfo->genreMajor,recMovieInfo->length);
|
||||||
}
|
}
|
||||||
|
|
||||||
} else if (!epgTitle.empty()) {
|
} else if (!epgTitle.empty()) {
|
||||||
tmpstring = epgTitle;
|
tmpstring = epgTitle;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user