There is now a log message when VDR writes the epg.data file

This commit is contained in:
Klaus Schmidinger 2006-01-28 14:45:24 +01:00
parent 8363901665
commit b395bd614a
2 changed files with 3 additions and 1 deletions

View File

@ -4254,3 +4254,4 @@ Video Disk Recorder Revision History
- Removed the "buffer reserve" in Transfer Mode - it's no longer necessary with
recent driver/firmware versions.
- The epg.data file is now written when VDR exits (suggested by Daniel Karsubka).
- There is now a log message when VDR writes the epg.data file.

3
epg.c
View File

@ -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.52 2006/01/27 13:42:10 kls Exp $
* $Id: epg.c 1.53 2006/01/28 14:45:24 kls Exp $
*/
#include "epg.h"
@ -910,6 +910,7 @@ void cSchedules::Cleanup(bool Force)
ReportEpgBugFixStats(true);
}
if (epgDataFileName && now - lastDump > 600) {
isyslog("writing EPG data to %s", epgDataFileName);
cSafeFile f(epgDataFileName);
if (f.Open()) {
Dump(f);