mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed editing channels ('timers.conf' was not written)
This commit is contained in:
parent
2a651d0ed0
commit
3208f4eddd
2
HISTORY
2
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).
|
||||
|
3
menu.c
3
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 {
|
||||
|
3
svdrp.c
3
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
|
||||
|
Loading…
Reference in New Issue
Block a user