Difference between revisions of "VDR"

From LinuxMCE
Jump to: navigation, search
Line 19: Line 19:
  
 
To make VDR configuration and manage easier its web interface - VDRAdmin can be used. It should be installed manually:
 
To make VDR configuration and manage easier its web interface - VDRAdmin can be used. It should be installed manually:
<code>sudo apt-get install vdradmin-am</code>
+
 
 +
    sudo apt-get install vdradmin-am
 +
 
 
and then enabled to be able run by replacing ENABLED="0" by ENABLED="1" in the <em>/etc/default/vdradmin-am</em>. Also don't forget to add a new firewall rule for the port 8001 - <em>Advanced -->&gt; Network --&gt; Firewall Rules</em>.  
 
and then enabled to be able run by replacing ENABLED="0" by ENABLED="1" in the <em>/etc/default/vdradmin-am</em>. Also don't forget to add a new firewall rule for the port 8001 - <em>Advanced -->&gt; Network --&gt; Firewall Rules</em>.  
  
 
Another useful tool is set of DVB utilities should be also installed manually:
 
Another useful tool is set of DVB utilities should be also installed manually:
<code>sudo apt-get install dvb-utils</code>
+
 
 +
    sudo apt-get install dvb-utils
  
 
<strong>Configuration</strong>
 
<strong>Configuration</strong>
  
To configure VDR we should get the list of all available channels for desire satellite. You can find it somewhere or create using DVB utility <strong>scan</strong>. To do that we need the list of transponders stored as INI file. Get it from the <a href="http://joshyfun.peque.org/transponders/index.html">JoshyFun's site</a>. Store it somewhere on your LinuxMCE core. In my case I use the INI file for <a href="http://joshyfun.peque.org/transponders/0130.ini">Hotbird</a> - [download#17].  
+
To configure VDR we should get the list of all available channels for desire satellite. You can find it somewhere or create using DVB utility <strong>scan</strong>. To do that we need the list of transponders stored as INI file. Get it from the [http://joshyfun.peque.org/transponders/index.html JoshyFun's site]. Store it somewhere on your LinuxMCE core. In my case I use the INI file for [http://joshyfun.peque.org/transponders/0130.ini Hotbird].  
  
 
Before scanning stop VDR:
 
Before scanning stop VDR:
<code>sudo /etc/ini.d/vdr stop</code>
+
 
 +
    sudo /etc/ini.d/vdr stop
 +
 
 
and start scanning procedure:
 
and start scanning procedure:
<code>scan -o vdr -p -x 0 0130.ini > channels.conf</code>
+
 
 +
    scan -o vdr -p -x 0 0130.ini > channels.conf
 +
 
 
It might take about 10-20 minutes depends on the number of available channels on your satellite. When scanning is finished just upload the created channels.conf file via Admin site - <em>Advanced --&gt; Configuration --&gt; VDR</em>. And then pickup your satellite from the list (see picture above).
 
It might take about 10-20 minutes depends on the number of available channels on your satellite. When scanning is finished just upload the created channels.conf file via Admin site - <em>Advanced --&gt; Configuration --&gt; VDR</em>. And then pickup your satellite from the list (see picture above).
  

Revision as of 17:32, 21 February 2008


The Video Disk Recorder

VDR is a personal video recorder system aimed at the DVB market. It supports DVB-S, DVB-C and DVB-T tuner cards. More details can be found at the VDR homepage.

It is the second PVR system integrated into LinuxMCE. The main aim is for a seamless integration into LinuxMCE. The UI should not change between VDR and the other LinuxMCE pieces. The first version of this integration is scheduled for January 2008, and is mainly sponsored by Convergent Home Technologies Ltd.


Configuration

Recently I managed to setup VDR under LinuxMCE successfully. This brief howto is a result of my personal experience. So, don't hesitate to improve it.

Installation

VDR can be chosen by two ways. The first one is initial configuration after installation. During setup the media center property you should choose VDR and not MythTV. The second way is to tick VDR and tick off MythTV on the Software modules page - Wizard --> Media Directors. In both cases VDR will be installed automatically and will start after installation.

LMCE-software-modules.jpg

To make VDR configuration and manage easier its web interface - VDRAdmin can be used. It should be installed manually:

   sudo apt-get install vdradmin-am

and then enabled to be able run by replacing ENABLED="0" by ENABLED="1" in the /etc/default/vdradmin-am. Also don't forget to add a new firewall rule for the port 8001 - Advanced -->> Network --> Firewall Rules.

Another useful tool is set of DVB utilities should be also installed manually:

   sudo apt-get install dvb-utils

Configuration

To configure VDR we should get the list of all available channels for desire satellite. You can find it somewhere or create using DVB utility scan. To do that we need the list of transponders stored as INI file. Get it from the JoshyFun's site. Store it somewhere on your LinuxMCE core. In my case I use the INI file for Hotbird.

Before scanning stop VDR:

   sudo /etc/ini.d/vdr stop

and start scanning procedure:

   scan -o vdr -p -x 0 0130.ini > channels.conf

It might take about 10-20 minutes depends on the number of available channels on your satellite. When scanning is finished just upload the created channels.conf file via Admin site - Advanced --> Configuration --> VDR. And then pickup your satellite from the list (see picture above).

LMCE-VDR-config.jpg

Quick reload router (most probably is not needed) and press button TV on the on-screen Orbiter. You should be able to watch live TV. To navigate on that screen use F6, F7 and F8 buttons on your keyboard, Gyration mouse or Fiire remote. Additionally you can switch channels, see EPG and schedule recording from VDRAdmin web interface.

Troubleshooting

If VDR works not as you expect you can do following:

  1. Check VDR log - /var/log/pluto/<ID_VDR_IN_YOUR_SYSTEM>_VDR.log
  2. Check if everything ok with your DVB card:
    • lspci - you should see your card in the list of PCI devices
    • dmesg|grep -i dvb - if driver if your DVB card is loaded correctly you will see it here. Note that in some cases you should place a firmware for your card into /lib/firmware!