Neutrino: 'Port' of Neutrino-SD 'Additionally refresh EPG before recording starts'

Patch by Gaucho316: http://www.dbox2-tuning.net/forum/viewtopic.php?f=2&t=50004
This commit is contained in:
bellum
2013-01-22 18:08:08 +01:00
committed by satbaby
parent 460e224a28
commit 0577329740

View File

@@ -1143,6 +1143,7 @@ CTimerEvent_Record::CTimerEvent_Record(CConfigFile *config, int iId):
//------------------------------------------------------------ //------------------------------------------------------------
void CTimerEvent_Record::fireEvent() void CTimerEvent_Record::fireEvent()
{ {
Refresh();
CTimerd::RecordingInfo ri=eventInfo; CTimerd::RecordingInfo ri=eventInfo;
ri.eventID=eventID; ri.eventID=eventID;
strcpy(ri.recordingDir, recordingDir.substr(0,sizeof(ri.recordingDir)-1).c_str()); strcpy(ri.recordingDir, recordingDir.substr(0,sizeof(ri.recordingDir)-1).c_str());