Control-plugin

From VDR Wiki
Revision as of 10:59, 30 November 2013 by Wirbel (talk | contribs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Description

Author: Jan Rieger

Displays VDRs OSD on Telnet console. Control VDR from any remote computer capable of telnet.

Status

  • Last Update 09/2008
  • Last Patch 05/2012

Images

Configuration

svdrphosts.conf

In file $VDRCONFIG/svdrphosts.conf the IP or subnet masks of the computer needs to be allowed opening a Telnet session, eg. 192.168.0.76 if opening telnet with this IP. Otherwise, only message "access denied" in Telnet Client appears.

Parameter

Parameter (short) Parameter (long) Description
-t <TTY> --terminal=<TTY> tty to control vdr per virtual terminal (default: none)
-p <PORT> --port=<PORT> port to receive remote connections (default: 2002)

Patches

[Link]

diff -Nru control-0.0.2a-kw3/control.c control-0.0.2a-kw3_0/control.c
--- control-0.0.2a-kw3/control.c	2008-09-26 16:19:29.000000000 +0200
+++ control-0.0.2a-kw3_0/control.c	2012-08-04 12:17:08.000000000 +0200
@@ -32,6 +32,7 @@
 class cPluginControl : public cPlugin {
 private:
   // Add any member variables or functions you may need here.
+  cCtrlState* _pState;
   cCtrlGateways* _pReceivers;
   cCtrlGateway*  _pTerminal;
 
@@ -67,6 +68,7 @@
 cPluginControl::~cPluginControl()
 {
   // Clean up after yourself!
+  delete(_pState);
   delete(_pReceivers);
   delete(_pTerminal);
 }
@@ -120,7 +122,7 @@
   // Start any background activities the plugin shall perform.
 
   if (glParPort || glParTerminal && *glParTerminal)
-    new cCtrlState();
+    _pState = new cCtrlState();
 
   if (glParPort) {
     _pReceivers = new cCtrlGateways();


Tipps

  • Access with PuTTY
for PuTTY the Function keys (F1..Fn) have to be send in Linux format. You can modify these settings in connection configuration dialog: Terminal -> Keyboard -> "The Function keys and keypad" = "Linux".

Versions

Current Version

Links

  1. Plugins Homepage
  2. Version