summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-06-06 13:30:52 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2003-06-06 13:30:52 +0200
commit3208f4eddd46500b52eeec71d8ddc39452fb10e5 (patch)
tree684c71f474f8805d4dddb4b65c080a8d9c9b2131
parent2a651d0ed0e7d029abcfdb58d76acf19c22da9c1 (diff)
downloadvdr-3208f4eddd46500b52eeec71d8ddc39452fb10e5.tar.gz
vdr-3208f4eddd46500b52eeec71d8ddc39452fb10e5.tar.bz2
Fixed editing channels ('timers.conf' was not written)
-rw-r--r--HISTORY2
-rw-r--r--menu.c3
-rw-r--r--svdrp.c3
3 files changed, 6 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index 782755f6..5cab3edf 100644
--- a/HISTORY
+++ b/HISTORY
@@ -2239,3 +2239,5 @@ Video Disk Recorder Revision History
- Fixed OSD access in case none of the devices provides one (thanks to Axel
Gruber for reporting this one).
+- Fixed editing channels ('timers.conf' was not written after a channel has
+ been modified, which could result in errors upon the next start of VDR).
diff --git a/menu.c b/menu.c
index ecf2493c..48ef0d1f 100644
--- a/menu.c
+++ b/menu.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: menu.c 1.253 2003/05/30 09:53:57 kls Exp $
+ * $Id: menu.c 1.254 2003/06/06 12:56:05 kls Exp $
*/
#include "menu.h"
@@ -615,6 +615,7 @@ eOSState cMenuEditChannel::ProcessKey(eKeys Key)
if (channel) {
*channel = data;
isyslog("edited channel %d %s", channel->Number(), data.ToText());
+ Timers.Save();
state = osBack;
}
else {
diff --git a/svdrp.c b/svdrp.c
index 6dafddd1..e9f22161 100644
--- a/svdrp.c
+++ b/svdrp.c
@@ -10,7 +10,7 @@
* and interact with the Video Disk Recorder - or write a full featured
* graphical interface that sits on top of an SVDRP connection.
*
- * $Id: svdrp.c 1.51 2003/04/27 14:21:07 kls Exp $
+ * $Id: svdrp.c 1.52 2003/06/06 13:30:52 kls Exp $
*/
#include "svdrp.h"
@@ -790,6 +790,7 @@ void cSVDRP::CmdMODC(const char *Option)
Channels.ReNumber();
Channels.Save();
isyslog("modifed channel %d %s", channel->Number(), channel->ToText());
+ Timers.Save();
Reply(250, "%d %s", channel->Number(), channel->ToText());
}
else