mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 15:02:56 +02:00
- followscreenings: invert notify behaviour
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -1528,7 +1528,7 @@ int EpgPlus::MenuTargetAddRecordTimer::exec(CMenuTarget * /*parent*/, const std:
|
||||
CFollowScreenings m(this->epgPlus->selectedChannelEntry->channel->channel_id,
|
||||
(*It)->channelEvent.startTime,
|
||||
(*It)->channelEvent.startTime + (*It)->channelEvent.duration,
|
||||
(*It)->channelEvent.description, (*It)->channelEvent.eventID, TIMERD_APIDS_CONF, true, "", &evtlist, true);
|
||||
(*It)->channelEvent.description, (*It)->channelEvent.eventID, TIMERD_APIDS_CONF, true, "", &evtlist);
|
||||
m.exec(NULL, "");
|
||||
}
|
||||
else
|
||||
|
@@ -1115,7 +1115,7 @@ int CEpgData::show(const t_channel_id channel_id, uint64_t a_id, time_t* a_start
|
||||
CFollowScreenings m(channel_id,
|
||||
epgData.epg_times.startzeit,
|
||||
epgData.epg_times.startzeit + epgData.epg_times.dauer,
|
||||
epgData.title, epgData.eventID, TIMERD_APIDS_CONF, true, recDir, &evtlist, true);
|
||||
epgData.title, epgData.eventID, TIMERD_APIDS_CONF, true, recDir, &evtlist);
|
||||
m.exec(NULL, "");
|
||||
timeoutEnd = CRCInput::calcTimeoutEnd(timeout);
|
||||
}
|
||||
|
@@ -529,7 +529,7 @@ int CEventList::exec(const t_channel_id channel_id, const std::string& channelna
|
||||
CFollowScreenings m(used_id,
|
||||
evtlist[selected].startTime,
|
||||
evtlist[selected].startTime + evtlist[selected].duration,
|
||||
evtlist[selected].description, evtlist[selected].eventID, TIMERD_APIDS_CONF, true, "", &evtlist);
|
||||
evtlist[selected].description, evtlist[selected].eventID, TIMERD_APIDS_CONF, true, "", &evtlist, false);
|
||||
m.exec(NULL, "");
|
||||
timeoutEnd = CRCInput::calcTimeoutEnd(timeout);
|
||||
}
|
||||
|
@@ -68,7 +68,7 @@ class CFollowScreenings : public CMenuTarget
|
||||
};
|
||||
|
||||
CFollowScreenings(const t_channel_id Channel_id, time_t Starttime, time_t Stoptime, const std::string &Title, uint64_t EpgID=0,
|
||||
unsigned char Apids=TIMERD_APIDS_STD, bool Safety=false, std::string RecDir="", CChannelEventList *Evtlist=NULL, bool Notify = false) : CMenuTarget () {
|
||||
unsigned char Apids=TIMERD_APIDS_STD, bool Safety=false, std::string RecDir="", CChannelEventList *Evtlist=NULL, bool Notify = true) : CMenuTarget () {
|
||||
this->channel_id = Channel_id;
|
||||
this->starttime = Starttime;
|
||||
this->stoptime = Stoptime;
|
||||
|
Reference in New Issue
Block a user