LinuxTV Patchwork Where is epg.data supposed to be created by default?

login
register
mail settings
Submitter Ville Skyttä
Date March 14, 2013, 5:04 p.m.
Message ID <51420324.1020304@iki.fi>
Download mbox | patch
Permalink /patch/17370/
State New
Headers show

Comments

Ville Skyttä - March 14, 2013, 5:04 p.m.
On 2013-03-13 11:42, Klaus Schmidinger wrote:

> Originally there was only the "video" directory, but at some point
> people demanded that VDR be able to spread its files all over the system,
> and so a "cachedir" was introduced, which is where the EPG file is now put
> (if a cachedir is specified).

Since you didn't mention already fixing this for the next version,
attached is the patch.

Patch

diff --git a/vdr.1 b/vdr.1
index e79ac0b..5b3bc32 100644
--- a/vdr.1
+++ b/vdr.1
@@ -73,7 +73,7 @@  The program will return immediately after editing the recording.
 .TP
 .BI \-E\  file ,\ \-\-epgfile= file
 Write the EPG data into the given \fIfile\fR
-(default is \fI/video/epg.data\fR).
+(default is \fIepg.data\fR in the cache directory).
 Use \fB\-E\-\fR to disable this.
 If \fIfile\fR is a directory, the file \fIepg.data\fR
 will be created in that directory.
diff --git a/vdr.c b/vdr.c
index b8b5da9..8cbf651 100644
--- a/vdr.c
+++ b/vdr.c
@@ -483,7 +483,7 @@  int main(int argc, char *argv[])
                "                           hex values (default: 0)\n"
                "            --edit=REC     cut recording REC and exit\n"
                "  -E FILE,  --epgfile=FILE write the EPG data into the given FILE (default is\n"
-               "                           '%s' in the video directory)\n"
+               "                           '%s' in the cache directory)\n"
                "                           '-E-' disables this\n"
                "                           if FILE is a directory, the default EPG file will be\n"
                "                           created in that directory\n"

Privacy Policy