VDR Manual Install on LinuxMCE 710

From LinuxMCE
(Redirected from VDR Manual Install)
Jump to: navigation, search


Everything mentioned below is based from a clean lmce0710 amd64 installation.

Create a channels.conf as explained in lmce wiki an dupload through webadmin.

Download vdr-1.6.0-6_LMCE0710-10.tar.gz

Install specific instructions for Core and MD. (only app binaries)

Core

Unpack tar.gz file in /home/linuxmce

cd vdr0710-10
cd <into directory named i386 or amd64 depending on which architecture you use>
cd common
dpkg -i *.deb  (answer yes to question if config file should be replaced)
cd ..
cd core
dpkg -i *.deb
/etc/init.d/vdr restart

Check if vdr load on startup, xineliboutput and streamdev-server plugin.

MD

ssh into your core.

sudo su -
ssh moonXX (where XX is the number of your MDs)
cd /home/linuxmce
cd <into directory named i386 or amd64 depending on which architecture you use> Remember that you MD can run a different architecture than your core.
cd common
dpkg -i *.deb (answer yes to question if config file should be replaced)
cd ..
 cd md
dpkg -i *.deb
/etc/init.d/vdr restart


Development

If you need to build other VDR plugins you need to install vdr-dev. It is located in directory named optional.


Configuration

Core

Build your channels.conf file

apt-get install dvb-utils
/etc/init.d/vdr stop
scan -o vdr /usr/share/dvb/scan/dvb-t/<FILENAME> > channels.conf

Upload channels.conf in webadmin.

You need to modify some settings to allow liveTV to work on MDs. The files that you have to edit is:

In /etc/vdr/plugins/streamdev.conf add line:

0.0.0.0/0

or uncomment if it already exist.

In /var/lib/vdr/setup.conf (remember /etc/init.d/vdr stop before you edit any config files) Add lines: (at the end)

streamdev-server.AllowSuspend = 1
streamdev-server.MaxClients = 6
streamdev-server.StartHTTPServer = 1
streamdev-server.StartVTPServer = 1
streamdev-server.SuspendMode = 1

MD

/et/init.d/vdr stop

Edit /var/lib/vdr/setup.conf Add lines:

streamdev-client.RemoteIp = 192.168.80.1
streamdev-client.RemotePort = 2004
streamdev-client.StartClient = 1
streamdev-client.StreamFilters = 0
streamdev-client.SyncEPG = 0

posde The original instructions by niz23 called for SyncEPG = 1 on the MD.