Difference between revisions of "Vdradmin"

From VDR Wiki
Jump to: navigation, search
(DE: Authentifizierung, EN: authentication)
Line 128: Line 128:
====Distribution specific====
{{Box Datei|/etc/httpd/conf/httpd2.conf|
<IfModule mod_proxy.c>
# ProxyRequests are only needed when you want to use apache als squid replacement
  ProxyRequests Off
  ProxyPass /vdradmin/
{{Box Datei|/etc/httpd/conf.d/30_mod_proxy.conf|
<Proxy *>
    Order deny,allow
    Deny from all
#    Allow from .your-domain.com
# diesen Eintrag den eigenen Gegebenheiten anpassen
    Allow from 192.168.1

Latest revision as of 19:12, 11 February 2014


VDR-Admin is a daemon that communicates with VDR and shows informations in a Internet browser which opens the adress of the VDR computer with port 8001. In a Config file is set, which computers are allowed to access vdr-admin. Authentication is nessessary, but can be disabled with a patch.

A (non-offical) improved version is Vdradmin AM.


thumb|none|What's on? thumb|none|Channels thumb|none|Timers
thumb|none|Recordings thumb|none|Configuration thumb|none|Remote Control

Software requirements

  • Browser at client site.
  • Perl with modul perl-Compress-Zlib.


perl-Compress-Zlib (should be included in most distris):

perl -MCPAN -e 'install Compress::Zlib'

Oder per Source:

tar zxvf Compress-Zlib-<VERSION>.tar.gz
cd  Compress-Zlib-<VERSION>
perl Makefile.PL
make test
make install

for vdr-admin-am [1] only additionally Template:

perl -MCPAN -e 'install Template'


tar zxvf Template-Toolkit-<VERSION>.tar.gz
cd  Template-Toolkit-<VERSION>
perl Makefile.PL
make test
make install


tar xvz vdradmin-<VERSION>.tar.gz
mv vdradmin-<VERSION> vdradmin
cd vdradmin
touch vdradmind.conf
./vdradmind.pl -c
# What's your VDR hostname (e.g video.intra.net)? [localhost]:
# What's the port VDR listen to SVDRP query's? [2001]:
# On which address should vdradmin listen ( for any)? []:
# On which port should vdradmin answer? [8001]:
# Username? [linvdr]: ente
# Password? [linvdr]: ************
# Config file sucessfull written.


CPU Load

While VDR-Admin loads Data via SVDRP, CPU Load rises up to 99%, VDR is not usable this time.

No EPG-Data

VDR-Admin should be started after VDR, otherwise it takes some minutes to display that data. With calling inside runvdr the problem can be solved.

For example inside the "while (true) do" - Loop this line /usr/local/bin/runvdr which starts vdr-admin two minutes delayed:

echo "su vdr -c /usr/local/bin/vdradmind.pl" | at now + 2 minutes

Missing recording directories

One known reason is that in VDR Options the format can be choosen that way that recording time or length are missing. This case vdradmin will stop gathering information from that recording.

Errors while starting vdradmin

vdrserver vdradmin # ./vdradmind.pl
Compress::Zlib object version 1.22 does not match bootstrap parameter 1.33 at ⌐
/usr/lib/perl5/5.8.4/i686-linux/DynaLoader.pm line 253.
Compilation failed in require at ./vdradmind.pl line 139.
BEGIN failed--compilation aborted at ./vdradmind.pl line 139.

This case you should update zlib:

vdrserver vdradmin # cpan update Compress::Zlib

Wrong time in VDR

see [2]

Suchen in vdradmin.pl nach der Zeile die dies beinhaltet:

"  if(/^E (.*) (.*) (.*) (.*)/ || /^E (.*) (.*) (.*)/) {  "

(im letzten VDRadmin 0.96 ist es die zeile 552, und VDRadminNG 0.97 die 739)
diese muss durch das hier ersetzt werden:

"  if(/^E (.*) (.*) (.*) (.*) (.*)/ || /^E (.*) (.*) (.*) (.*)/ || /^E (.*) (.*) (.*)/) {  "

und dann tuts.


Vdr-Admin Start on Client

A link should look like this:


Access from Internet

Change the standard password of vdr-admin! The proxy module must be started:


# LoadModule proxy_module /usr/lib/apache/1.3/libproxy.so


LoadModule proxy_module /usr/lib/apache/1.3/libproxy.so

Inside Apache's httpd.conf append:

ProxyPass        /vdr/vdradmin/ http://VDRip:8001/
ProxyPassReverse /vdr/vdradmin/ http://VDRip:8001/


  1. Perl::Template
  2. Perl::Compress::Zlib
  3. Homepage VDR-Admin
  4. iTAN Extension for Vdradmin
  5. xpix Extension for Vdradmin
  6. Vdrepg -> Vdradmin alternative (needs JDK 1.4)