summaryrefslogtreecommitdiff
path: root/vdr-vdrmanager/handler.cpp
diff options
context:
space:
mode:
authorlado <herrlado@gmail.com>2011-10-20 14:39:12 +0200
committerlado <herrlado@gmail.com>2011-10-20 14:39:12 +0200
commit437f9d29198fd7160ef7ed23eb782a5bc4a54da0 (patch)
treefd6218b25b321aaeb8f42b058035b6a785d64ca3 /vdr-vdrmanager/handler.cpp
parentd9bd167fe3f2c7ba17056f1b2cec0c9af6b5bcf1 (diff)
downloadvdr-manager-437f9d29198fd7160ef7ed23eb782a5bc4a54da0.tar.gz
vdr-manager-437f9d29198fd7160ef7ed23eb782a5bc4a54da0.tar.bz2
added support for deleting a recording
Diffstat (limited to 'vdr-vdrmanager/handler.cpp')
-rw-r--r--vdr-vdrmanager/handler.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/vdr-vdrmanager/handler.cpp b/vdr-vdrmanager/handler.cpp
index 8729cf0..5012b5f 100644
--- a/vdr-vdrmanager/handler.cpp
+++ b/vdr-vdrmanager/handler.cpp
@@ -84,6 +84,10 @@ bool cHandler::HandleClientRequest(cVdrmanagerClientSocket * sock)
string text = cHelpers::GetRecordings(args);
sock->PutLine(text);
}
+ else if(cmd == "DRECORDING"){
+ string text = cHelpers::DelRecording(args);
+ sock->PutLine(text);
+ }
else if (cmd == "QUIT")
{
// close socket