Admin-plugin: Difference between revisions

From VDR Wiki
Jump to navigation Jump to search
m (Vdradmin moved to Admin-plugin)
No edit summary
 
Line 1: Line 1:
==Description==
==Description==
'''Author:''' Helmut Auer
[[Image:admin-plugin.jpg|thumb|Screenshot]]
This is a VDR plugin for adminstrative tasks (e.g. network settings).


Plugin for adminstrative Tasks, i.e.
==Hardware requirements==
* read && modify config files
* none
* Start / Stop of Tasks
* de-/activate plugin, modify their start sequence (VDR restart needed)


All scripts and config files are expected to be in '''[[Struktur|$VDRCONFIG]]/plugins/admin'''.
==Software requirements==
* none


==Installation==
===Status===
Last Update 05/2008
See [[plugin installation]].

==Bilder==
{|
|[[Image:admin-plugin-00.jpg|thumb|none|''Settings'']]
|}


==Configuration==
==Configuration==
Syntax of config file.
===Parameter===

This are the commandline parameter for the plugin.
<pre>
{| width=100% border=1 cellpadding=2 cellspacing=0 style="border-collapse: collapse;"
# <script>:<name>:<value>:<type>:<length|default>:<choices>:<description>:
|- bgcolor=#efdead

!Parameter (short)
Type is one of A,I,B or L as follows:
!Parameter (long)

!Description
A=Alphabetic
length - length in bytes
choices - valid chars

I=Integer
default - default value (not used from plugin)
choices - minValue,maxValue
d.h. 0,5 means values 0..5

B=Bool
default - default value (not used from plugin)
choices - value1,value2

L=List
default - default value (not used from plugin)
choices - value1,value2.....valueN

Valid lines in admin.conf starts with:

"/" - Variable ( with / begins the skript name )

":" - Submenu (if a Name follows ':', then this one is the submenu name,
a single ':' ends the current submenu.
Rekursive Submenus are not supported, ie. a new submenu ends
the current one.

"-" - comment as shown in OSD

All other lines are silently ignored. :-)
</pre>

See folder '''../gentoo''' for a bunch of examples.

The [[dvdconvert-plugin]] is also based on admin, therefore you can peek there for examples too.

==Version History==
{| width=100% class="wikitable"
|-
|-
! Version
| -c FILE || --cfgFile=FILE || name of configuration file (default: '''admin.conf''')
! Date
! Description
! Link
|-
|-
| 0.8.0
| -x FILE || --exeFile=FILE || name of script file (default: '''admin.sh''')
| 01.05.2008
|
* Switch from i18n to gettext for vdr-1.5.x
|}
|}

==See also==
[[Gen2VDR_Configuration|Admin-Plugin on Gen2VDR]]

==Current Version==
[http://www.htpc-forum.de/download/vdr-admin-0.8.0.tgz Version 0.8.0]


==Links==
==Links==
# [http://www.htpc-forum.de/index.php?url=downloads.php Plugins Homepage]
{|
# {{mirror 1|vdr-admin}}
| [1]
| http://www.htpc-forum.de
| Plugin homepage
|-
| [2]
| http://www.htpc-forum.de/download/vdr-admin-0.2.1.tgz
| Download
|}


[[Category:Plugins]]
[[Category:Plugins]]
[[Category:Admin-Plugins]]

{{i18n|admin-plugin}}
{{i18n|admin-plugin}}

Latest revision as of 14:08, 24 November 2013

Description

Author: Helmut Auer

Plugin for adminstrative Tasks, i.e.

  • read && modify config files
  • Start / Stop of Tasks
  • de-/activate plugin, modify their start sequence (VDR restart needed)

All scripts and config files are expected to be in $VDRCONFIG/plugins/admin.

Status

Last Update 05/2008

Bilder

Configuration

Syntax of config file.

# <script>:<name>:<value>:<type>:<length|default>:<choices>:<description>:

Type is one of A,I,B or L as follows:

A=Alphabetic
  length  - length in bytes
  choices - valid chars

I=Integer
  default - default value (not used from plugin)
  choices - minValue,maxValue
            d.h. 0,5 means values 0..5

B=Bool
  default - default value (not used from plugin)
  choices - value1,value2

L=List
  default - default value (not used from plugin)
  choices - value1,value2.....valueN

Valid lines in admin.conf starts with:

"/" - Variable ( with / begins the skript name )

":" - Submenu (if a Name follows ':', then this one is the submenu name,
      a single ':' ends the current submenu.
      Rekursive Submenus are not supported, ie. a new submenu ends
      the current one.

"-" - comment as shown in OSD

All other lines are silently ignored. :-)

See folder ../gentoo for a bunch of examples.

The dvdconvert-plugin is also based on admin, therefore you can peek there for examples too.

Version History

Version Date Description Link
0.8.0 01.05.2008
  • Switch from i18n to gettext for vdr-1.5.x

See also

Admin-Plugin on Gen2VDR

Current Version

Version 0.8.0

Links

  1. Plugins Homepage
  2. Mirror