summaryrefslogtreecommitdiff
path: root/dxr3.c
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2009-03-28 12:20:45 +0100
committerChristian Gmeiner <christian.gmeiner@gmail.com>2009-03-28 12:20:45 +0100
commitecc3dd09be579348e8a17e968415fecaaed47d84 (patch)
tree7cbc2db0ee8634c76ab208e403bed2ee67d3b308 /dxr3.c
parent7cc46900f0a8795bcd586eec983d7172ebe439b4 (diff)
downloadvdr-plugin-dxr3-ecc3dd09be579348e8a17e968415fecaaed47d84.tar.gz
vdr-plugin-dxr3-ecc3dd09be579348e8a17e968415fecaaed47d84.tar.bz2
rework pmExtern_THIS_SHOULD_BE_AVOIDED playmode
This commit removes all checks if the device is external released as it is not possible/wanted to set playmode to pmExtern_THIS_SHOULD_BE_AVOIDED and call play methods of device class. Also I removed DON and DOF svdr commands, as in my opinion these two commands are not useful at all. If somebody who needs them give me an example usage for these commands, I will bring them back.
Diffstat (limited to 'dxr3.c')
-rw-r--r--dxr3.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/dxr3.c b/dxr3.c
index 6c60f18..945ad6d 100644
--- a/dxr3.c
+++ b/dxr3.c
@@ -245,10 +245,6 @@ cOsdObject* cPluginDxr3::MainMenuAction()
const char **cPluginDxr3::SVDRPHelpPages(void)
{
static const char *HelpPages[] = {
- "DON\n"
- " Start DXR3.",
- "DOF\n"
- " Stop DXR3.",
"SAT\n"
" Set saturation (0..999).",
"CON\n"
@@ -271,14 +267,6 @@ const char **cPluginDxr3::SVDRPHelpPages(void)
cString cPluginDxr3::SVDRPCommand(const char *Command, const char *Option,
int &ReplyCode)
{
- if (!strcasecmp(Command, "DON")) {
- cDxr3Interface::Instance().ExternalReopenDevices();
- return "DXR3 started";
- }
- if (!strcasecmp(Command, "DOF")) {
- cDxr3Interface::Instance().ExternalReleaseDevices();
- return "DXR3 stopped";
- }
if (!strcasecmp(Command, "BRI")) {
cDxr3Interface::Instance().SetBrightness(atoi(Option));
return cString::sprintf("Brightness set to %d",