summaryrefslogtreecommitdiff
path: root/epg.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-02-25 12:39:23 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2006-02-25 12:39:23 +0100
commit40f4cef75ed6abffc68a01d1dd6ad132af17753c (patch)
treec0aeeaea1202416777de76570e7a18b729e398d0 /epg.c
parent7881effd9bfcf2fca916308f63f25417f3b6d0cf (diff)
downloadvdr-40f4cef75ed6abffc68a01d1dd6ad132af17753c.tar.gz
vdr-40f4cef75ed6abffc68a01d1dd6ad132af17753c.tar.bz2
The 'info.vdr' file of a recording now also contains the 'E' and 'V' records of the EPG event
Diffstat (limited to 'epg.c')
-rw-r--r--epg.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/epg.c b/epg.c
index 910333b1..6c8fea0e 100644
--- a/epg.c
+++ b/epg.c
@@ -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.61 2006/02/19 12:50:26 kls Exp $
+ * $Id: epg.c 1.62 2006/02/25 12:30:27 kls Exp $
*/
#include "epg.h"
@@ -249,8 +249,7 @@ cString cEvent::GetVpsString(void) const
void cEvent::Dump(FILE *f, const char *Prefix, bool InfoOnly) const
{
if (InfoOnly || startTime + duration + Setup.EPGLinger * 60 >= time(NULL)) {
- if (!InfoOnly)
- fprintf(f, "%sE %u %ld %d %X %X\n", Prefix, eventID, startTime, duration, tableID, version);
+ fprintf(f, "%sE %u %ld %d %X %X\n", Prefix, eventID, startTime, duration, tableID, version);
if (!isempty(title))
fprintf(f, "%sT %s\n", Prefix, title);
if (!isempty(shortText))
@@ -268,7 +267,7 @@ void cEvent::Dump(FILE *f, const char *Prefix, bool InfoOnly) const
fprintf(f, "%sX %s\n", Prefix, *p->ToString());
}
}
- if (!InfoOnly && vps)
+ if (vps)
fprintf(f, "%sV %ld\n", Prefix, vps);
if (!InfoOnly)
fprintf(f, "%se\n", Prefix);