timerd/timermanager: fix EPG auto-adjustment of recordings

This commit is contained in:
martii
2016-09-26 13:04:48 +02:00
committed by svenhoefer
parent c07b0f0b6c
commit 2cebd62aee
3 changed files with 6 additions and 3 deletions

View File

@@ -105,7 +105,7 @@ int CFollowScreenings::exec(CMenuTarget* /*parent*/, const std::string & actionK
}
if (g_Timerd->addRecordTimerEvent(channel_id, e->startTime, e->startTime + e->duration, e->eventID,
e->startTime, e->startTime - (ANNOUNCETIME + 120 ), apids, true, true, recDir, true) == -1) {
e->startTime, e->startTime - (ANNOUNCETIME + 120 ), apids, true, e->startTime - (ANNOUNCETIME + 120) > time(NULL), recDir, true) == -1) {
//FIXME -- no error handling, but this shouldn't happen ...
} else {
#if 0