gui/timerlist: don't auto-adjust manually-added timer to EPG (untested)

Origin commit data
------------------
Branch: ni/coolstream
Commit: 250926daff
Author: martii <m4rtii@gmx.de>
Date: 2016-09-26 (Mon, 26 Sep 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
martii
2016-09-26 13:04:48 +02:00
committed by vanhofen
parent b22de090e0
commit 36dfbe1d4f

View File

@@ -316,7 +316,7 @@ int CTimerList::exec(CMenuTarget* parent, const std::string & actionKey)
eventinfo.channel_id=timerNew.channel_id; eventinfo.channel_id=timerNew.channel_id;
eventinfo.apids = TIMERD_APIDS_CONF; eventinfo.apids = TIMERD_APIDS_CONF;
eventinfo.recordingSafety = false; eventinfo.recordingSafety = false;
eventinfo.autoAdjustToEPG = true; eventinfo.autoAdjustToEPG = false;
timerNew.standby_on = (timerNew_standby_on == 1); timerNew.standby_on = (timerNew_standby_on == 1);
void *data=NULL; void *data=NULL;
if (timerNew.eventType == CTimerd::TIMER_STANDBY) if (timerNew.eventType == CTimerd::TIMER_STANDBY)
@@ -334,7 +334,7 @@ int CTimerList::exec(CMenuTarget* parent, const std::string & actionKey)
recinfo.channel_id=timerNew.channel_id; recinfo.channel_id=timerNew.channel_id;
recinfo.apids=TIMERD_APIDS_CONF; recinfo.apids=TIMERD_APIDS_CONF;
recinfo.recordingSafety = false; recinfo.recordingSafety = false;
recinfo.autoAdjustToEPG = true; // FIXME -- add GUI option? recinfo.autoAdjustToEPG = false; // FIXME -- add GUI option?
timerNew.announceTime-= 120; // 2 more mins for rec timer timerNew.announceTime-= 120; // 2 more mins for rec timer
strncpy(recinfo.recordingDir,timerNew.recordingDir,sizeof(recinfo.recordingDir)-1); strncpy(recinfo.recordingDir,timerNew.recordingDir,sizeof(recinfo.recordingDir)-1);