mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
timerd: reset EPG ID when modifying record or zapto timer
this ensures an up-to-date EPG ID if no EPG infos available for the
modified event during modification
Signed-off-by: Christian Schuett <Gaucho316@hotmail.com>
Signed-off-by: Thilo Graf <dbt@novatux.de>
Origin commit data
------------------
Branch: ni/coolstream
Commit: 4eb949dda0
Author: Christian Schuett <Gaucho316@hotmail.com>
Date: 2014-01-19 (Sun, 19 Jan 2014)
------------------
This commit was generated by Migit
This commit is contained in:
committed by
Jacek Jendrzej
parent
25290a0317
commit
4d92618535
@@ -350,13 +350,19 @@ int CTimerManager::modifyEvent(int peventID, time_t announceTime, time_t alarmTi
|
|||||||
break;
|
break;
|
||||||
case CTimerd::TIMER_RECORD:
|
case CTimerd::TIMER_RECORD:
|
||||||
{
|
{
|
||||||
(static_cast<CTimerEvent_Record*>(event))->recordingDir = data.recordingDir;
|
CTimerEvent_Record *event_record = static_cast<CTimerEvent_Record*>(event);
|
||||||
(static_cast<CTimerEvent_Record*>(event))->getEpgId();
|
event_record->recordingDir = data.recordingDir;
|
||||||
|
event_record->eventInfo.epgID = 0;
|
||||||
|
event_record->eventInfo.epg_starttime = 0;
|
||||||
|
event_record->getEpgId();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case CTimerd::TIMER_ZAPTO:
|
case CTimerd::TIMER_ZAPTO:
|
||||||
{
|
{
|
||||||
(static_cast<CTimerEvent_Zapto*>(event))->getEpgId();
|
CTimerEvent_Zapto *event_zapto = static_cast<CTimerEvent_Zapto*>(event);
|
||||||
|
event_zapto->eventInfo.epgID = 0;
|
||||||
|
event_zapto->eventInfo.epg_starttime = 0;
|
||||||
|
event_zapto->getEpgId();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
Reference in New Issue
Block a user