diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-05-05 13:55:12 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-05-05 13:55:12 +0200 |
commit | cfab3380c7cdedbd4dccd9ade156e0f58ec0ce30 (patch) | |
tree | a5ee26ec4e55be6c716594ae1c8f609c20481043 /epg.c | |
parent | 49f9edc19499a2d6538dea2634d97fc69f0d68bc (diff) | |
download | vdr-cfab3380c7cdedbd4dccd9ade156e0f58ec0ce30.tar.gz vdr-cfab3380c7cdedbd4dccd9ade156e0f58ec0ce30.tar.bz2 |
Now also considering the "EPG linger time" when saving the EPG data to file or listing it via LSTE
Diffstat (limited to 'epg.c')
-rw-r--r-- | epg.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -7,7 +7,7 @@ * Original version (as used in VDR before 1.3.0) written by * Robert Schneider <Robert.Schneider@web.de> and Rolf Hakenes <hakenes@hippomi.de>. * - * $Id: epg.c 1.28 2005/05/05 12:37:15 kls Exp $ + * $Id: epg.c 1.29 2005/05/05 13:53:19 kls Exp $ */ #include "epg.h" @@ -223,7 +223,7 @@ cString cEvent::GetVpsString(void) const void cEvent::Dump(FILE *f, const char *Prefix) const { - if (startTime + duration >= time(NULL)) { + if (startTime + duration + Setup.EPGLinger * 60 >= time(NULL)) { fprintf(f, "%sE %u %ld %d %X\n", Prefix, eventID, startTime, duration, tableID); if (!isempty(title)) fprintf(f, "%sT %s\n", Prefix, title); |