Difference between revisions of "Pluginsetup-plugin"

From VDR Wiki
Jump to: navigation, search
(rearranged)
m
Line 14: Line 14:
  
 
==Configuration==
 
==Configuration==
/etc/vdr/plugins/plugin_setup.conf  
+
'''/etc/vdr/plugins/plugin_setup.conf'''
<pre>
+
# This file contains the plugins
# This file contains the plugins
+
# Syntax:
# Syntax:
+
# <startno>::<name+param>::<description>::
# <startno>::<name+param>::<description>::
+
0::sky::Sky::
0::sky::Sky::
+
1::softdevice::SoftDevice::
1::softdevice::SoftDevice::
+
2::status::Status::
2::status::Status::
+
3::timeline::Timeline::
3::timeline::Timeline::
+
4::tvtv::TVTV Informationen laden::
4::tvtv::TVTV Informationen laden::
+
5::vcd::VCD Player::
5::vcd::VCD Player::
+
0::xine -r::Xine::
0::xine -r::Xine::
+
6::graphlcd -c ks0108 -x 128 -y 64::GraphLCD::
6::graphlcd -c ks0108 -x 128 -y 64::GraphLCD::
+
</pre>
+
  
 
Die syntax of ''plugin_setup.conf''
 
Die syntax of ''plugin_setup.conf''
<pre>
+
<startno>::<name+param>::<description>::
<startno>::<name+param>::<description>::
+
  ^          ^            ^
^          ^            ^
+
  |          |            |
|          |            |
+
  |          |            +-- A short description that is displayed in the menu
|          |            +-- A short description that is displayed in the menu
+
  |          +---------------- Plugin with the appropiate parameters
|          +---------------- Plugin with the appropiate parameters
+
  +--------------------------- Order (NULL for off)
+--------------------------- Order (NULL for off)
+
</pre>
+
  
 
The runvdr has to be changed
 
The runvdr has to be changed
<pre>
+
....
....
+
ALL_PLUGINS="-P pluginsetup `grep -s - /etc/vdr/plugins/plugin_setup_runvdr.conf`"
ALL_PLUGINS="-P pluginsetup `grep -s - /etc/vdr/plugins/plugin_setup_runvdr.conf`"
+
su -c "$VDRCMD $ALL_PLUGINS" $VDRUSR
su -c "$VDRCMD $ALL_PLUGINS" $VDRUSR
+
....
....
+
</pre>
+
  
 
After calling the plugins in the menu the first time, the ''plugin_setup_runvdr.conf'' is generated.
 
After calling the plugins in the menu the first time, the ''plugin_setup_runvdr.conf'' is generated.

Revision as of 00:48, 1 December 2004

Description

Screenshot (setup)

The pluginsetup plugin controls other plugins over the OSD. The funkctions are

  • Changing the plugin order
  • Activation/Deactivation of plugins

Hardware requirements

Software requirements

Installation

See plugin installation

Configuration

/etc/vdr/plugins/plugin_setup.conf

# This file contains the plugins
# Syntax:
# <startno>::<name+param>::<description>::
0::sky::Sky::
1::softdevice::SoftDevice::
2::status::Status::
3::timeline::Timeline::
4::tvtv::TVTV Informationen laden::
5::vcd::VCD Player::
0::xine -r::Xine::
6::graphlcd -c ks0108 -x 128 -y 64::GraphLCD::

Die syntax of plugin_setup.conf

<startno>::<name+param>::<description>::
 ^          ^             ^
 |          |             |
 |          |             +-- A short description that is displayed in the menu
 |          +---------------- Plugin with the appropiate parameters
 +--------------------------- Order (NULL for off)

The runvdr has to be changed

....
ALL_PLUGINS="-P pluginsetup `grep -s - /etc/vdr/plugins/plugin_setup_runvdr.conf`"
su -c "$VDRCMD $ALL_PLUGINS" $VDRUSR
....

After calling the plugins in the menu the first time, the plugin_setup_runvdr.conf is generated.

Parameter

Parameter (short) Parameter (long) Description
-c FILE --cfgFile=FILE name of configuration file (default: (null))
-x FILE --execFile=FILE name of script file (default: (null))

Problems

Links

[1] http://www.andreas-fey.com/projekte.html Plugin homepage