From 836390166570fed7a8741e72050f1c2a65b28db3 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 28 Jan 2006 14:44:32 +0100 Subject: [PATCH] The epg.data file is now written when VDR exits --- CONTRIBUTORS | 3 +++ HISTORY | 1 + vdr.c | 3 ++- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 2d3b3a75..284e67d4 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -1698,3 +1698,6 @@ Jaroslaw Swierczynski Alexander Hans fpr reporting a crash when pressing '0' in the "Schedule" menu on a channel that doesn't have any EPG data + +Daniel Karsubka + for suggesting to write the epg.data file when VDR exits diff --git a/HISTORY b/HISTORY index 4f82a524..c083cced 100644 --- a/HISTORY +++ b/HISTORY @@ -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). diff --git a/vdr.c b/vdr.c index 35866dbd..3b35f194 100644 --- a/vdr.c +++ b/vdr.c @@ -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 @@ -1122,6 +1122,7 @@ Exit: } cDevice::Shutdown(); PluginManager.Shutdown(); + cSchedules::Cleanup(true); ReportEpgBugFixStats(); if (WatchdogTimeout > 0) dsyslog("max. latency time %d seconds", MaxLatencyTime);