Control-plugin: Difference between revisions
Jump to navigation
Jump to search
Line 75: | Line 75: | ||
==Current Version== |
==Current Version== |
||
* [http://www.u32.de/download/vdr-control-0.0.2a-kw3.tar.gz 0.0.2a_kw3] |
* [http://www.u32.de/download/vdr-control-0.0.2a-kw3.tar.gz 0.0.2a_kw3] |
||
* [http://www.vdr-portal.de/board1-news/board101-news-archiv/114203-vdr-control-ohne-absturz-beenden |
* [http://www.vdr-portal.de/board1-news/board101-news-archiv/114203-vdr-control-ohne-absturz-beenden suggested Patch] |
||
==Links== |
==Links== |
Revision as of 11:01, 30 November 2013
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
[fix vdr-control segfault on stopping plugin]
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".