Difference between revisions of "Admin-plugin"

From VDR Wiki
Jump to: navigation, search
m (rearranged)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
==Description==
 
==Description==
[[Image:Admin-plugin.jpg|thumb|Screenshot]]
+
'''Author:''' Helmut Auer
  
===Parameter===
+
Plugin for adminstrative Tasks, i.e.
{| border=1 cellpadding=2 cellspacing=0
+
* read && modify config files
|- bgcolor=#efdead
+
* Start / Stop of Tasks
!Parameter (short)
+
* de-/activate plugin, modify their start sequence (VDR restart needed)
!Parameter (long)
+
 
!Description
+
All scripts and config files are expected to be in '''[[Struktur|$VDRCONFIG]]/plugins/admin'''.
|-
+
 
| -c FILE || --cfgFile=FILE || name of configuration file (default: none)
+
===Status===
|-
+
Last Update 05/2008
| -x FILE || --exeFile=FILE || name of script file (default: none)
+
 
 +
==Bilder==
 +
{|
 +
|[[Image:admin-plugin-00.jpg|thumb|none|''Settings'']]
 
|}
 
|}
  
==Hardware requirements==
+
==Configuration==
 +
Syntax of config file.
  
==Software requirements==
+
<pre>
 +
# <script>:<name>:<value>:<type>:<length|default>:<choices>:<description>:
  
==Installation==
+
Type is one of A,I,B or L as follows:
See [[plugin installation]]
+
  
==Problems==
+
A=Alphabetic
 +
  length  - length in bytes
 +
  choices - valid chars
  
==Links==
+
I=Integer
{|
+
  default - default value (not used from plugin)
| [1]
+
  choices - minValue,maxValue
| http://www.htpc-forum.de
+
            d.h. 0,5 means values 0..5
| Plugin homepage
+
 
 +
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
 +
! Date
 +
! Description
 +
! Link
 
|-
 
|-
| [2]
+
| 0.8.0
| http://www.htpc-forum.de/download/admin-0.2.1.tgz
+
| 01.05.2008
| Download link (seems broken)
+
|
 +
* Switch from i18n to gettext for vdr-1.5.x
 
|}
 
|}
  
[[Category:Plugins]]
+
==See also==
 +
[[Gen2VDR_Configuration|Admin-Plugin on Gen2VDR]]
  
<!-- Link to german wiki page -->
+
==Current Version==
[[de:Admin-plugin]]
+
[http://www.htpc-forum.de/download/vdr-admin-0.8.0.tgz Version 0.8.0]
 +
 
 +
==Links==
 +
# [http://www.htpc-forum.de/index.php?url=downloads.php Plugins Homepage]
 +
# {{mirror 1|vdr-admin}}
 +
 
 +
[[Category:Plugins]]
 +
[[Category:Admin-Plugins]]
 +
{{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