Let's start with backend and frontend concept. We'll need both to watch TV. You can also think the backend as a server and the frontend as a client, but that's a slight simplification.

The backend will handle all the TV related activity, such as tuning the channels, managing recordings, handling the program guide (EPG) etc. The frontend is typically running on a device that will interact with the end user, ie. the person watching the TV. There can be several frontend connected to the same backend at the same time. The frontend will receive the video stream from the backend using IP transmission.

In our case, we run the backend and the frontend on the same OpenELEC machine. The backend is a software called Tvheadend and the frontend is a Tvheadend client in the XBMC. It's good to understand the relation between the frontend and the backend. The backend needs to work before there's even point to try to configure the frontend.

Tvheadend_backend.png

Before you can watch live TV, you will need to attach a working tuner to your HTPC. See the list of supported TV tuners here. The support for the tuner must exist in the operating system - the Tvheadend software itself does not need to support any specific tuner itself.

If your tuner is not listed, try anyway and let us know how does it work! There are also some unofficial OpenELEC builds that add support to alternative tuners - search the OE forums for links to those.

OpenELEC currently ships with Tvheadend 3.4 backend software. There are others available as well, but they're not covered by this article. You will need to enable the addon from the settings, so select Settings -> Add-ons -> Services -> tvheadend and enable it.

It should be working now, but in case not, reboot the system first.

Now you need to know the IP address of your OpenELEC PC. Look at the OpenELEC settings to find that and open your browser on another PC on the same network and point it to address http://<YOUR_HTPC_IP>:9981 .

  1. Now you should configure the tuners.

    • Click on the Configuration tab
    • Click on the TV Adapters tab
    • Click on the arrow for the drop-down menu
    • Select your TV tuner adapter

    Tvheadend1.png

    If your tuner hardware is not detected or is having issues, check the last chapter for troubleshooting.

  2. You will see a window like this. Now you will want to click on Add DVB Network by location.

    Tvheadend2.png

  3. From the menus select your location and the type of signal you are trying to receive. In this example we're using a generic list for QAM, a US signal for cable TV. Then click Add DVB Network at the bottom

    Tvheadend3.png

  4. Wait for the number under Muxes awaiting initial scan to reach zero. If the number under Services is also zero, then that means Tvheadend has not picked up any channels. You may need to check your hardware or if you've selected the right signal type (step 5)

    Tvheadend4.png

  5. Click on Map DVB services to channels. You should now be able to pick up TV channels in XBMC once you configure the Tvheadend add-on configuration in the next section.

    Tvheadend5.png

These steps and pictures were borrowed from XBMC Wiki.

Now the backend is done and you should have a list of channels visible in the backend. You can continue to the frontend configuration part.

Now the backend is ok, we need to install and configure the frontend. Go to Settings -> Add-ons and find Tvheadend HTSP Client under PVR clients and then install/enable it.

The default settings should be fine.

Now go to Settings -> Live TV -> Live TV Enabled. The front end will connect to the backend and retrieve a channel list - you should now be able to watch live TV through the XBMC menus. It may take a while before the EPG data is updated if it is provided with the DVB signal.