Raspberry Pi 2: ‘DVB-C|T|S’ TV Server with OpenELEC

IMG_20151012_131149674

Here is an easy solution to use a Raspberry Pi 2  + OpenELEC for TV recording with DVB-C|T|S TV USB Sticks. You can install Kodi (with TVHeadend AddOn) on the client computer and Kodi will use the Raspberry Pi 2 TV Server with the DVB-C USB Sticks over the network. So you can watch TV and schedule TV records. 

I’ve found a way to install this solution easy and fast. It needs ~ 15 minutes.

What you need:

  • Raspberry Pi 2
  • 1 GB Micro SDCard (Class 10)
  • OpenELEC (use the attached download file image from this post)
  • DVB-C|T|S USB Stick (I’m using an Elgato Hybrid DVB-T/C USB Stick)
  • External USB Harddisk or an other external media (for time recording)
  • USB Mouse

Hint: You don’t need an extra USB Hub for the external Harddisk and also not for the TV Stick. Also you don’t need the MPEG-2 License for the Raspberry Pi, because we are using the Pi only as server. If you can only hear audio and no video if you are playing a video on your android device, then your android device firmware has no MPEG-2 support! My updated Neuxs 7 (2nd generation with Android 5.1.1) can not play MPEG-2 videos with the installed Kodi app after the Stagefright fix. My Motorola Moto G 2 has no problems with MPEG-2 and the Kodi app. So you have to try out some android devices.

Here are the 4 steps for the Raspberry Pi 2 solution:

  1. Download the attached prepared OpenELEC Image from this post, write it to a 1 GB SDCard (Class 10) and put the SDCard into the Raspberry Pi 2

    Connect a network cable with the Raspberry Pi 2 (we need internet) , also an USB Mouse and then connect the DC-In Micro USB port from the Raspberry Pi 2 with an USB 3 Port (USB 3 for more power ~900 mA) 

    Connect the USB DVB-C/T/S TV Tuner Stick with the Raspberry Pi 2 USB Port and also the NTFS formatted external USB Harddisk “TV” (or an USB media of your choice for the TV time recording)

    Power on the Raspberry Pi 2 and wait ~ 15 seconds. After the booting sequence you will see the Init-Setup Window (remember the shown IP address of the Pi!, you need it later).

    Go to “System” => “Settings” => “Appearance” => “International”
    Timezone Country: (select you country)
    Timezone: (select your city)

  2. Open a browser from another computer and enter the remembered IP Address of the Raspberry Pi 2 with :9981 (example: 192.168.1.145:9981). Then you will see the Web-Interface of the Raspberry Pi2 installed “TVHeadend” Service. Make some changes:

    “Configuration” => “DVB Inputs” => “Networks”: press “+Add”

    Network Name: (Enter here what you want)
    Type: “DVB-C Network” (or something else)
    Skip Initial Scan:   (disabled)
    Predefined Muxes: (select here your country and city)
    Character-Set: Auto

    … then press “create”

    “Configuration” => “DVB Inputs” => “TV adapters”  and then select your connected DVB TV USB Stick. Now you will see a “Parameters” window:

    Enabled: (enable)
    Networks:  (select the Network you’ve created before)
    Power Save: (enable)

    … then press “save”

  3. Now you can open the “Configuration” => “DVB Inputs” => “Muxes” Window and wait… maybe 1 minute, then it will start the DVB Scan (wait for all muxes “IDLE” states). This scan will need some minutes (~10 min.). Now you have to Map the muxes service names to channel names:  

    “Configuration” => “DVB Inputs” => “Services” and press “Map all” => “Map”

    After this, under “Configuration” => “Channel/EPG” you can give the found channels new numbers to sort the channels, and also you can delete some channels you don’t want to see it in the channel list.

  4. At last you have to enter the external USB Harddisk Path into:

    “Configuration” => “Recording” (select “Default Profile from the list) => “Paramaters”  

    Recording System Path: /var/media/TV   (“TV” is the label of the NTFS formatted external USB Device)

    The path you can find at the OpenELEC Raspberry Pi 2 GUI:
    “System” => “System info” => Storage  (take the path from here)

That’s it. Now you can install Kodi on the Client Computer with the PVR Client Addon “TVHeadend”.

This solution consumes only ~ 3 Watts, also with the external 2,5″ Harddisk and the TV USB Stick.

If you want to use 2 DVB-C TV Sticks, then you need an USB HUB with 2A Power Supply (USB 3 Port with 900 mA is not working in this case. I’m using this USB Hub and this Power Supply)

If you want more network speed (~20 MB/s), then you can use the USB3 Ethernet Adapter from Trendnet (Amazon). For this adapter you need no drivers.

 

Download: <In order to finance everything that belongs to it, the downloads will be activated after a donation>

Thanks for your support!





 

Hint: If you want to install it from a not prepared OpenELEC Image then you have to do also these steps: