diff options
author | lado <herrlado@gmail.com> | 2011-10-20 14:39:12 +0200 |
---|---|---|
committer | lado <herrlado@gmail.com> | 2011-10-20 14:39:12 +0200 |
commit | 437f9d29198fd7160ef7ed23eb782a5bc4a54da0 (patch) | |
tree | fd6218b25b321aaeb8f42b058035b6a785d64ca3 /vdr-vdrmanager/handler.cpp | |
parent | d9bd167fe3f2c7ba17056f1b2cec0c9af6b5bcf1 (diff) | |
download | vdr-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.cpp | 4 |
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 |