diff options
author | lado <herrlado@gmail.com> | 2012-04-29 22:48:34 +0200 |
---|---|---|
committer | lado <herrlado@gmail.com> | 2012-04-29 22:48:34 +0200 |
commit | 3b9bafa7c95e79fb4bd2a88f56fc6d594b0f9860 (patch) | |
tree | fb8a44a8d6b26f7f9726264ff9b81a08a16043ec /vdr-vdrmanager/handler.cpp | |
parent | d48b577683a6f1992a8bac65d8e5e3365fd55cef (diff) | |
download | vdr-manager-3b9bafa7c95e79fb4bd2a88f56fc6d594b0f9860.tar.gz vdr-manager-3b9bafa7c95e79fb4bd2a88f56fc6d594b0f9860.tar.bz2 |
Feature #951
Bug #950
Diffstat (limited to 'vdr-vdrmanager/handler.cpp')
-rw-r--r-- | vdr-vdrmanager/handler.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/vdr-vdrmanager/handler.cpp b/vdr-vdrmanager/handler.cpp index c768007..43b500a 100644 --- a/vdr-vdrmanager/handler.cpp +++ b/vdr-vdrmanager/handler.cpp @@ -84,8 +84,14 @@ bool cHandler::HandleClientRequest(cVdrmanagerClientSocket * sock) string text = cHelpers::GetRecordings(args); sock->PutLine(text); } - else if(cmd == "DRECORDING"){ - string text = cHelpers::DelRecording(args); + else if(cmd == "DRECORDING") + { + string text = cHelpers::DelRecording(args); + sock->PutLine(text); + } + else if (cmd == "SETCHANNEL") + { + string text = cHelpers::SetChannel(args); sock->PutLine(text); } else if (cmd == "QUIT") |