Pluginsetup-plugin

From VDR Wiki

(Difference between revisions)
Jump to: navigation, search
(rearranged)
(Links: i18n)
(4 intermediate revisions not shown)
Line 1: Line 1:
==Description==
==Description==
[[Image:Pluginsetup-plugin(setup).jpg|thumb|Screenshot (setup)]]
[[Image:Pluginsetup-plugin(setup).jpg|thumb|Screenshot (setup)]]
-
The '''pluginsetup plugin''' controls other plugins over the OSD. The funkctions are
+
The '''pluginsetup plugin''' controls other plugins over the OSD. The functions are
* Changing the plugin order
* Changing the plugin order
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 -p -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.
===Parameter===
===Parameter===
Line 72: Line 66:
[[Category:Plugins]]
[[Category:Plugins]]
-
<!-- Link to german wiki page -->
+
{{i18n|pluginsetup-plugin}}
-
[[de:Pluginsetup-plugin]]
+

Revision as of 16:50, 13 March 2006

Contents

Description

Screenshot (setup)

The pluginsetup plugin controls other plugins over the OSD. The functions 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 -p -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
Personal tools
Participate