VDR ADmin

Begin by downloading Compress-Zlib-1.41.tar.gz and unpacking the contents of the tarball:

darkstar:~# lftp -c "get http://www.edafe.org/vdr/tar/Compress-Zlib-1.41.tar.gz"
darkstar:~# tar -zxvf Compress-Zlib-1.41.tar.gz

Change to the Compress-Zlib-1.41 directory and build the Perl module:

darkstar:~# cd Compress-Zlib-1.41
darkstar:~/Compress-Zlib-1.41# perl Makefile.PL
darkstar:~/Compress-Zlib-1.41# make && make test && make install

Continue by downloading vdradmin-0.96.tar.gz and extracting the contents of the tarball:

darkstar:~# cd ~
darkstar:~# lftp -c "get http://www.edafe.org/vdr/tar/vdradmin-0.96.tar.gz"
darkstar:~# tar -zxvf vdradmin-0.96.tar.gz

Move the resulting directory to /usr/local/bin/ and make vdradmind.pl executable:

darkstar:~# mv vdradmin-0.96 /usr/local/bin/vdradmin
darkstar:~# chmod +x /usr/local/bin/vdradmin/vdradmind.pl

Use the following commands to configure vdradmind.pl and set the right permissions:

darkstar:~# /usr/local/bin/vdradmin/vdradmind.pl --config
darkstar:~# chown -R vdr.video /usr/local/bin/vdradmin/

Download rc.vdradmin and move it to /etc/rc.d/:

darkstar:~# lftp -c "get http://www.edafe.org/vdr/sh/rc.vdradmin"
darkstar:~# chmod +x rc.vdradmin
darkstar:~# mv rc.vdradmin /etc/rc.d/

Add the following lines to the end of /etc/rc.d/rc.local for VDR Admin to start at boot:

# Starting VDR Admin
if [ -x /etc/rc.d/rc.vdradmin ]; then
  echo "Starting VDR Admin"
  /etc/rc.d/rc.vdradmin
fi

Edit /etc/vdr/svdrphosts.conf to allow computers on your local network to control VDR via the SVDRP port. Restart the Freeview VDR and after a delay of about 60 seconds, VDR Admin will be available on port 8001.