The epg.data file is now written when VDR exits

This commit is contained in:
Klaus Schmidinger 2006-01-28 14:44:32 +01:00
parent 5e623525e9
commit 8363901665
3 changed files with 6 additions and 1 deletions

View File

@ -1698,3 +1698,6 @@ Jaroslaw Swierczynski <swiergot@gmail.com>
Alexander Hans <cleditor@arcor.de>
fpr reporting a crash when pressing '0' in the "Schedule" menu on a channel that
doesn't have any EPG data
Daniel Karsubka <dkar@gmx.de>
for suggesting to write the epg.data file when VDR exits

View File

@ -4253,3 +4253,4 @@ Video Disk Recorder Revision History
handling of k_Repeat keypresses in channel switching reported by Udo Richter).
- 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).

3
vdr.c
View File

@ -22,7 +22,7 @@
*
* The project's page is at http://www.cadsoft.de/vdr
*
* $Id: vdr.c 1.244 2006/01/22 16:10:13 kls Exp $
* $Id: vdr.c 1.245 2006/01/28 14:38:30 kls Exp $
*/
#include <getopt.h>
@ -1122,6 +1122,7 @@ Exit:
}
cDevice::Shutdown();
PluginManager.Shutdown();
cSchedules::Cleanup(true);
ReportEpgBugFixStats();
if (WatchdogTimeout > 0)
dsyslog("max. latency time %d seconds", MaxLatencyTime);