Difference between revisions of "Admin-plugin"

From VDR Wiki
Jump to: navigation, search
m (Admin-plugin moved to Vdradmin)
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
 
==Description==
 
==Description==
[[Image:admin-plugin.jpg|thumb|Screenshot]]
+
'''Author:''' Helmut Auer
This is a VDR plugin for adminstrative tasks (e.g. network settings).
+
  
==Hardware requirements==
+
Plugin for adminstrative Tasks, i.e.
* none
+
* read && modify config files
 +
* Start / Stop of Tasks
 +
* de-/activate plugin, modify their start sequence (VDR restart needed)
  
==Software requirements==
+
All scripts and config files are expected to be in '''[[Struktur|$VDRCONFIG]]/plugins/admin'''.
* none
+
  
==Installation==
+
===Status===
See [[plugin installation]].
+
Last Update 05/2008
 +
 
 +
==Bilder==
 +
{|
 +
|[[Image:admin-plugin-00.jpg|thumb|none|''Settings'']]
 +
|}
  
 
==Configuration==
 
==Configuration==
===Parameter===
+
Syntax of config file.
This are the commandline parameter for the plugin.
+
 
{| width=100% border=1 cellpadding=2 cellspacing=0 style="border-collapse: collapse;"
+
<pre>
|- bgcolor=#efdead
+
# <script>:<name>:<value>:<type>:<length|default>:<choices>:<description>:
!Parameter (short)
+
 
!Parameter (long)
+
Type is one of A,I,B or L as follows:
!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"
 
|-
 
|-
| -c FILE || --cfgFile=FILE || name of configuration file (default: '''admin.conf''')
+
! Version
 +
! Date
 +
! Description
 +
! Link
 
|-
 
|-
| -x FILE || --exeFile=FILE || name of script file (default: '''admin.sh''')
+
| 0.8.0
 +
| 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]
| [1]
+
# {{mirror 1|vdr-admin}}
| 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 16: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