Pluginsetup-plugin
From VDR Wiki
(Difference between revisions)
(rearranged) |
m |
||
| Line 14: | Line 14: | ||
==Configuration== | ==Configuration== | ||
| - | /etc/vdr/plugins/plugin_setup.conf | + | '''/etc/vdr/plugins/plugin_setup.conf''' |
| - | + | # 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:: | + | |
| - | + | ||
Die syntax of ''plugin_setup.conf'' | Die syntax of ''plugin_setup.conf'' | ||
| - | + | <startno>::<name+param>::<description>:: | |
| - | <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 | 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 -c "$VDRCMD $ALL_PLUGINS" $VDRUSR | + | .... |
| - | .... | + | |
| - | + | ||
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 22:48, 30 November 2004
Contents |
Description
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
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 |
