Difference between revisions of "Pluginsetup-plugin"

From VDR Wiki
Jump to: navigation, search
m
Line 35: Line 35:
 
   +--------------------------- Order (NULL for off)
 
   +--------------------------- Order (NULL for off)
  
The runvdr has to be changed
+
The [[runvdr]] has to be changed
 
  ....
 
  ....
 
  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 -p -c "$VDRCMD $ALL_PLUGINS" $VDRUSR
 
  ....
 
  ....
  

Revision as of 15:34, 2 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 -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