Now also considering the "EPG linger time" when saving the EPG data to file or listing it via LSTE

This commit is contained in:
Klaus Schmidinger
2005-05-05 13:55:12 +02:00
parent 49f9edc194
commit cfab3380c7
3 changed files with 6 additions and 2 deletions

View File

@@ -1303,6 +1303,8 @@ Mikko Salo <mikko.salo@ppe.inet.fi>
Roman Krenick<63> <free-rtk@gmx.de> Roman Krenick<63> <free-rtk@gmx.de>
for a patch that was used a a basis for changing a timer's day handling to full date for a patch that was used a a basis for changing a timer's day handling to full date
for considering the "EPG linger time" when saving the EPG data to file or listing
it via LSTE
Ville Skytt<74> <ville.skytta@iki.fi> Ville Skytt<74> <ville.skytta@iki.fi>
for reporting several compiler warnings in gcc 4.0 for reporting several compiler warnings in gcc 4.0

View File

@@ -3485,3 +3485,5 @@ Video Disk Recorder Revision History
Matthias L<>tzke). Matthias L<>tzke).
- Updated the Finnish OSD texts (thanks to Rolf Ahrenberg). - Updated the Finnish OSD texts (thanks to Rolf Ahrenberg).
- Fixed handling transparent areas in cDvbSpuBitmap (thanks to Marco Schl<68><6C>ler). - Fixed handling transparent areas in cDvbSpuBitmap (thanks to Marco Schl<68><6C>ler).
- Now also considering the "EPG linger time" when saving the EPG data to file or
listing it via LSTE (thanks to Roman Krenick<63>).

4
epg.c
View File

@@ -7,7 +7,7 @@
* Original version (as used in VDR before 1.3.0) written by * Original version (as used in VDR before 1.3.0) written by
* Robert Schneider <Robert.Schneider@web.de> and Rolf Hakenes <hakenes@hippomi.de>. * 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" #include "epg.h"
@@ -223,7 +223,7 @@ cString cEvent::GetVpsString(void) const
void cEvent::Dump(FILE *f, const char *Prefix) 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); fprintf(f, "%sE %u %ld %d %X\n", Prefix, eventID, startTime, duration, tableID);
if (!isempty(title)) if (!isempty(title))
fprintf(f, "%sT %s\n", Prefix, title); fprintf(f, "%sT %s\n", Prefix, title);