mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
The 'info.vdr' file of a recording now also contains the 'E' and 'V' records of the EPG event
This commit is contained in:
parent
7881effd9b
commit
40f4cef75e
2
HISTORY
2
HISTORY
@ -4388,3 +4388,5 @@ Video Disk Recorder Revision History
|
|||||||
to the actual data.
|
to the actual data.
|
||||||
- The new function cRecordingInfo::ChannelID() can be used to retrieve the ID of
|
- The new function cRecordingInfo::ChannelID() can be used to retrieve the ID of
|
||||||
the channel a recording was made from.
|
the channel a recording was made from.
|
||||||
|
- The 'info.vdr' file of a recording now also contains the 'E' and 'V' records of
|
||||||
|
the EPG event used when creating it.
|
||||||
|
7
epg.c
7
epg.c
@ -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.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"
|
#include "epg.h"
|
||||||
@ -249,8 +249,7 @@ cString cEvent::GetVpsString(void) const
|
|||||||
void cEvent::Dump(FILE *f, const char *Prefix, bool InfoOnly) const
|
void cEvent::Dump(FILE *f, const char *Prefix, bool InfoOnly) const
|
||||||
{
|
{
|
||||||
if (InfoOnly || startTime + duration + Setup.EPGLinger * 60 >= time(NULL)) {
|
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))
|
if (!isempty(title))
|
||||||
fprintf(f, "%sT %s\n", Prefix, title);
|
fprintf(f, "%sT %s\n", Prefix, title);
|
||||||
if (!isempty(shortText))
|
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());
|
fprintf(f, "%sX %s\n", Prefix, *p->ToString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!InfoOnly && vps)
|
if (vps)
|
||||||
fprintf(f, "%sV %ld\n", Prefix, vps);
|
fprintf(f, "%sV %ld\n", Prefix, vps);
|
||||||
if (!InfoOnly)
|
if (!InfoOnly)
|
||||||
fprintf(f, "%se\n", Prefix);
|
fprintf(f, "%se\n", Prefix);
|
||||||
|
6
vdr.5
6
vdr.5
@ -8,7 +8,7 @@
|
|||||||
.\" License as specified in the file COPYING that comes with the
|
.\" License as specified in the file COPYING that comes with the
|
||||||
.\" vdr distribution.
|
.\" vdr distribution.
|
||||||
.\"
|
.\"
|
||||||
.\" $Id: vdr.5 1.51 2006/02/25 12:18:59 kls Exp $
|
.\" $Id: vdr.5 1.52 2006/02/25 12:39:23 kls Exp $
|
||||||
.\"
|
.\"
|
||||||
.TH vdr 5 "19 Feb 2006" "1.3.43" "Video Disk Recorder Files"
|
.TH vdr 5 "19 Feb 2006" "1.3.43" "Video Disk Recorder Files"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
@ -565,8 +565,8 @@ a description of the recording, derived from the EPG data at recording time
|
|||||||
(if such data was available). The \fBAux\fR field of the corresponding
|
(if such data was available). The \fBAux\fR field of the corresponding
|
||||||
timer (if given) is copied into this file, using the '@' tag.
|
timer (if given) is copied into this file, using the '@' tag.
|
||||||
This is a plain ASCII file and contains tagged lines like the \fBEPG DATA\fR
|
This is a plain ASCII file and contains tagged lines like the \fBEPG DATA\fR
|
||||||
file (see the description of the \fIepg.data\fR file). Note that the tags
|
file (see the description of the \fIepg.data\fR file). Note that the lowercase
|
||||||
c, E, e and V will not appear in an \fIinfo.vdr\fR file.
|
tags ('c' and 'e') will not appear in an \fIinfo.vdr\fR file.
|
||||||
.SS RESUME
|
.SS RESUME
|
||||||
The file \fIresume.vdr\fR (if present in a recording directory) contains
|
The file \fIresume.vdr\fR (if present in a recording directory) contains
|
||||||
the position within the recording where the last replay session left off.
|
the position within the recording where the last replay session left off.
|
||||||
|
Loading…
Reference in New Issue
Block a user