summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'vdr.c')
-rw-r--r--vdr.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/vdr.c b/vdr.c
index 417ee19d..f01239aa 100644
--- a/vdr.c
+++ b/vdr.c
@@ -22,7 +22,7 @@
*
* The project's page is at http://www.tvdr.de
*
- * $Id: vdr.c 2.29 2012/02/19 11:37:35 kls Exp $
+ * $Id: vdr.c 2.30 2012/02/27 10:59:55 kls Exp $
*/
#include <getopt.h>
@@ -53,7 +53,6 @@
#include "menu.h"
#include "osdbase.h"
#include "plugin.h"
-#include "rcu.h"
#include "recording.h"
#include "shutdown.h"
#include "skinclassic.h"
@@ -201,14 +200,11 @@ int main(int argc, char *argv[])
bool UseKbd = true;
const char *LircDevice = NULL;
- const char *RcuDevice = NULL;
#if !defined(REMOTE_KBD)
UseKbd = false;
#endif
#if defined(REMOTE_LIRC)
LircDevice = LIRC_DEVICE;
-#elif defined(REMOTE_RCU)
- RcuDevice = RCU_DEVICE;
#endif
#if defined(VDR_USER)
VdrUser = VDR_USER;
@@ -236,7 +232,6 @@ int main(int argc, char *argv[])
{ "no-kbd", no_argument, NULL, 'n' | 0x100 },
{ "plugin", required_argument, NULL, 'P' },
{ "port", required_argument, NULL, 'p' },
- { "rcu", optional_argument, NULL, 'r' | 0x100 },
{ "record", required_argument, NULL, 'r' },
{ "shutdown", required_argument, NULL, 's' },
{ "split", no_argument, NULL, 's' | 0x100 },
@@ -350,9 +345,6 @@ int main(int argc, char *argv[])
break;
case 'P': PluginManager.AddPlugin(optarg);
break;
- case 'r' | 0x100:
- RcuDevice = optarg ? : RCU_DEVICE;
- break;
case 'r': cRecordingUserCommand::SetCommand(optarg);
break;
case 's': ShutdownHandler.SetShutdownCommand(optarg);
@@ -455,8 +447,6 @@ int main(int argc, char *argv[])
" -p PORT, --port=PORT use PORT for SVDRP (default: %d)\n"
" 0 turns off SVDRP\n"
" -P OPT, --plugin=OPT load a plugin defined by the given options\n"
- " --rcu[=PATH] use a remote control device, attached to PATH\n"
- " (default: %s)\n"
" -r CMD, --record=CMD call CMD before and after a recording\n"
" -s CMD, --shutdown=CMD call CMD to shutdown the computer\n"
" --split split edited files at the editing marks (only\n"
@@ -479,7 +469,6 @@ int main(int argc, char *argv[])
LIRC_DEVICE,
LOCDIR,
DEFAULTSVDRPPORT,
- RCU_DEVICE,
VideoDirectory,
DEFAULTWATCHDOG
);
@@ -707,8 +696,6 @@ int main(int argc, char *argv[])
}
// Remote Controls:
- if (RcuDevice)
- new cRcuRemote(RcuDevice);
if (LircDevice)
new cLircRemote(LircDevice);
if (!DaemonMode && HasStdin && UseKbd)