diff options
author | Christian Völlinger <zerov83@gmail.com> | 2014-01-21 18:49:56 +0100 |
---|---|---|
committer | Christian Völlinger <zerov83@gmail.com> | 2014-01-21 18:49:56 +0100 |
commit | 06464fbaa856da447cb794d80e07f5abb96f4b1f (patch) | |
tree | 2fe4b4593a74256b0ba023138ce63583dcbcc65d /vdrboblight.c | |
parent | 27a4e9d7f3690c51c63fad7d329c990f48da54f1 (diff) | |
download | vdr-plugin-boblight-06464fbaa856da447cb794d80e07f5abb96f4b1f.tar.gz vdr-plugin-boblight-06464fbaa856da447cb794d80e07f5abb96f4b1f.tar.bz2 |
changed SVDRP responses
Diffstat (limited to 'vdrboblight.c')
-rw-r--r-- | vdrboblight.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/vdrboblight.c b/vdrboblight.c index 491e30e..24d18b3 100644 --- a/vdrboblight.c +++ b/vdrboblight.c @@ -173,14 +173,14 @@ cString cPluginBoblight::SVDRPCommand(const char* Command, const char* Option, i cfg.viewMode = cAmbiService::vmAtmo; startAtmo(); ReplyCode = 550; - return "atmo mode activated"; + return "atmo"; } else if (Option && strcasecmp(Option, "fixed") == 0) { cfg.viewMode = cAmbiService::vmFixedCol; startAtmo(); ReplyCode = 550; - return "fixed color activated"; + return "fixed"; } else if (Option && strcasecmp(Option, "black") == 0) { @@ -188,7 +188,7 @@ cString cPluginBoblight::SVDRPCommand(const char* Command, const char* Option, i startAtmo(); ReplyCode = 550; - return "stripes black"; + return "black"; } else if (Option && strcasecmp(Option, "detach") == 0) { @@ -196,22 +196,22 @@ cString cPluginBoblight::SVDRPCommand(const char* Command, const char* Option, i stopAtmo(); ReplyCode = 550; - return "stripes detached"; + return "detach"; } else if(!Option || !strlen(Option)) { switch(cfg.viewMode) { case cAmbiService::vmAtmo: ReplyCode = 551; - return "atmo mode"; + return "atmo"; case cAmbiService::vmFixedCol: ReplyCode = 552; - return "fixed color"; + return "fixed"; case cAmbiService::vmBlack: ReplyCode = 553; - return "stripes black"; + return "black"; case cAmbiService::vmDetached: ReplyCode = 554; - return "stripes detached"; + return "detach"; } } else |