timerd: adjust recording timers to epg

This commit is contained in:
martii
2016-09-26 13:04:48 +02:00
committed by svenhoefer
parent 9a36f6f1e6
commit c07b0f0b6c
9 changed files with 70 additions and 8 deletions

View File

@@ -303,7 +303,7 @@ bool timerd_parse_command(CBasicMessage::Header &rmsg, int connfd)
CTimerd::TransferRecordingInfo recInfo;
CBasicServer::receive_data(connfd, &recInfo, sizeof(CTimerd::TransferRecordingInfo));
if(recInfo.recordingSafety)
if(recInfo.recordingSafety)
{
int pre,post;
CTimerManager::getInstance()->getRecordingSafety(pre,post);
@@ -321,7 +321,9 @@ bool timerd_parse_command(CBasicMessage::Header &rmsg, int connfd)
recInfo.apids,
msgAddTimer.eventRepeat,
msgAddTimer.repeatCount,
recInfo.recordingDir);
recInfo.recordingDir,
recInfo.recordingSafety,
recInfo.autoAdjustToEPG);
rspAddTimer.eventID = CTimerManager::getInstance()->addEvent(event);
break;