Recording TV on Raspberry Pi

RpiAs an update to my previous guide, things have become a little simpler in Raspbian Jessie, since there is now a precompiled version of tvheadend available.

Add the TVHeadend repository to the pi’s sources list:

nano /etc/apt/sources.list

add the following line:

deb http://apt.tvheadend.org/unstable/ jessie main

Now we can install tvheadend:

sudo apt-get update && sudo apt-get install tvheadend

The rest of the configuration can now be done through your PC web browser, pointed at port 9981 of the raspberry pi’s ip address:

http://192.168.1.35:9981

Select your tuners from Configuration / DVB Inputs/ TV adapters, and click the enable checkbox for each one:

choose-tuners

Now goto the Networks Tab and click Add to create a new network

choose-dvb
(DVB-T for freeview)

Tvheadend has a list of transmitter to speed up the scan process, you can find your local transmitter by typing your postcode into http://www.ukfree.tv/transmitters.php

choose-transmitter

Give it a name (e.g. “freeview”), and click create.

Click the Muxes tab, and after a while, you should see channels (“services”) detected in the right hand column below:

muxes-display

Now it has scanned the channels, you can add them into the lineup, click on services, and then “Map-all”:

map-channels

I had to click play on one of the channels before the EPG would populate, but that may have just been a matter of waiting:

epg

Now you can browse the EPG, and record shows.

An hour long TV show takes around 1GB of space, so SD card storage would fill up quite quickly if left like that, I use an attached 2TB USB HDD, just change the location in Configuration / Recording / Digital Video Recorder / Recording System Path:
/media/usb/TV

This entry was posted in Technology. Bookmark the permalink. Follow any comments here with the RSS feed for this post. Post a comment or leave a trackback: Trackback URL.

4 Comments

  1. Mike Wurlitzer says:

    Just a couple of questions:

    I am in the USA and attempting to use an HDHomerun Extend for some OTA Live TV/DVR functions on a RPi 3.

    First 2 attempts to make the RPi a TVHeadend/Backend server but I used LibreElec as the TVHeadend came with the package.

    Must the Tuner be installed directly on the RPi or can it just feed the network via ethernet to the router?

    Would a USB HDD be better than the NAS I am attempting to use?

    The NAS works well with a laptop running Win 7 ServerWMC/Windows Media Center but that is power extensive and not good to leave the laptop on 24/7

  2. Mike Wurlitzer says:

    Sorry for the additional question but is Raspbian Jessie Lite sufficient for this application?

  3. Mark says:

    Many thanks for writing this guide Mike, however I’d like to point out to anyone that comes across this that the version shown & the apt repo mentioned is no longer supported.

    Please see https://tvheadend.org/projects/tvheadend/wiki/AptRepository for newer info :).

Post a Comment

Your email is never published nor shared.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>