summaryrefslogtreecommitdiff
path: root/svdrp.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-09-18 10:51:54 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2005-09-18 10:51:54 +0200
commit83985eff479b0a287b747160b33458de38b10732 (patch)
tree83bbc9f1e0c4e09ecb1c7efd2fd11f53c2b09d09 /svdrp.c
parentcfc1903408cc121ef6e6e9f16e14099f7d4150bb (diff)
downloadvdr-83985eff479b0a287b747160b33458de38b10732.tar.gz
vdr-83985eff479b0a287b747160b33458de38b10732.tar.bz2
The SVDRP command DELR no longer triggers a complete reload of the global Recordings list, but rather deletes that particular entry
Diffstat (limited to 'svdrp.c')
-rw-r--r--svdrp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/svdrp.c b/svdrp.c
index 2c567aa1..68570b85 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.80 2005/09/03 14:09:02 kls Exp $
+ * $Id: svdrp.c 1.81 2005/09/18 10:50:08 kls Exp $
*/
#include "svdrp.h"
@@ -569,7 +569,7 @@ void cSVDRP::CmdDELR(const char *Option)
if (!rc) {
if (recording->Delete()) {
Reply(250, "Recording \"%s\" deleted", Option);
- ::Recordings.Load(); // must make sure the global recordings list is updated
+ ::Recordings.DelByName(recording->FileName());
}
else
Reply(554, "Error while deleting recording!");