Admin-plugin

From VDR Wiki

(Difference between revisions)
Jump to: navigation, search
(initial)
 
(10 intermediate revisions not shown)
Line 1: Line 1:
==Description==
==Description==
-
[[Image:Admin-plugin.jpg|thumb|Screenshot]]
+
'''Author:''' Helmut Auer
-
==Hardware requirements==
+
Plugin for adminstrative Tasks, i.e.
 +
* 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'''.
-
==Installation==
+
===Status===
-
See [[plugin installation]]
+
Last Update 05/2008
-
==Problems==
+
==Bilder==
-
 
+
-
==Links==
+
{|
{|
-
| [1]  
+
|[[Image:admin-plugin-00.jpg|thumb|none|''Settings'']]
-
| http://www.htpc-forum.de
+
|}
-
| Plugin homepage
+
 
 +
==Configuration==
 +
Syntax of config file.
 +
 
 +
<pre>
 +
# <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. :-)
 +
</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"
|-
|-
-
| [2]
+
! Version
-
| http://www.htpc-forum.de/download/admin-0.2.1.tgz
+
! Date
-
| Download link
+
! Description
 +
! Link
 +
|-
 +
| 0.8.0
 +
| 01.05.2008
 +
|
 +
* 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 14:08, 24 November 2013

Contents

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
Personal tools
Participate