From 437f9d29198fd7160ef7ed23eb782a5bc4a54da0 Mon Sep 17 00:00:00 2001 From: lado Date: Thu, 20 Oct 2011 14:39:12 +0200 Subject: added support for deleting a recording --- vdr-vdrmanager/handler.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'vdr-vdrmanager/handler.cpp') 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 -- cgit v1.2.3