Difference between revisions of "Pluginsetup-plugin"

From VDR Wiki
Jump to: navigation, search
(initial)
 
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
==Description==
 
==Description==
[[Image:Pluginsetup-plugin.jpg|thumb|Screenshot]]
+
[[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'''
  +
# This file contains the plugins
<pre>
 
  +
# Syntax:
# This file contains the plugins
 
  +
# <startno>::<name+param>::<description>::
# Syntax:
 
  +
0::sky::Sky::
# <startno>::<name+param>::<description>::
 
0::sky::Sky::
+
1::softdevice::SoftDevice::
1::softdevice::SoftDevice::
+
2::status::Status::
2::status::Status::
+
3::timeline::Timeline::
  +
4::tvtv::TVTV Informationen laden::
3::timeline::Timeline::
 
  +
5::vcd::VCD Player::
4::tvtv::TVTV Informationen laden::
 
5::vcd::VCD Player::
+
0::xine -r::Xine::
  +
6::graphlcd -c ks0108 -x 128 -y 64::GraphLCD::
0::xine -r::Xine::
 
6::graphlcd -c ks0108 -x 128 -y 64::GraphLCD::
 
</pre>
 
   
Die syntax of ''plugin_setup.conf''
+
Die syntax of '''[[plugin_setup.conf]]'''
  +
<startno>::<name+param>::<description>::
<pre>
 
  +
^ ^ ^
<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`"
....
 
  +
su -p -c "$VDRCMD $ALL_PLUGINS" $VDRUSR
ALL_PLUGINS="-P pluginsetup `grep -s - /etc/vdr/plugins/plugin_setup_runvdr.conf`"
 
  +
....
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===
 
{| border=1 cellpadding=2 cellspacing=0
 
{| border=1 cellpadding=2 cellspacing=0
 
|- bgcolor=#efdead
 
|- bgcolor=#efdead
Line 70: Line 64:
 
|}
 
|}
   
[[Category:Plugins]]
+
[[Category:Outdated Plugins]]
   
  +
{{i18n|pluginsetup-plugin}}
<!-- Link to german wiki page -->
 
[[de:Pluginsetup-plugin]]
 

Latest revision as of 11:48, 25 November 2013

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