Setting up tvheadend on raspberry pi2

Hi there,

today we go to set up the fresh installed tvheadend server.

For information about setting up a tvheadend server on rasberry pi2 check out the link to my other tutorial right at the top of these page.

If you have it installed check the running state with the command:

service tvheadend status

If it is running it gave you some infos about the status.

So open a webbrowser and open <theipofyourraspberrypi>:9981

type in the username an password you have set during the installation process.

now this is what a fresh webui looks like.

 

overview

now click on “configuration” and you will get to this page

configuration

For TvHeadend to work probably you well need a complete configuration.
As in this dialog everything can be left as default.
But
Language Settings
DVB scan files

configuration2

BTW: when you install tvheadend using apt-get a new user will also be created named hts.
all temporary data can be stored in its home directory. there you can be sure about the
file-system rights.

in the above shown general tab you can do some other things, which are not crucial for
running the server. I left all of it on default setting.

to run the server you must define the setting of your dvbs box.
there for switch over to DVB Inputs. the UI looks like the next screenshot

dvbinputs

new select the entry which ends with DVB-S #0. It can also be T or C just in case you use a terrestrial or cable adapter.

when you select the entry on the right side appears a new configuration box. there click Enabled and save. ( at the bottom )

dvbinputs2

then switch over to the network tab

dvbinputs3

click on the “add” button

dvbinputs4

choose DVBS from the next appearing dialog.

dvbinputs5

then the DVBS Network configuration comes up. Sorry but I do not know about Cable or terrestrial configuration.

dvbinputs6

just fill in these values like I did above. the astra 19.2 satellite is for European tv stations mostly.
if you prefer to have more satellites, you can add more networks to your configuration.

click save, don’t bother the not closing dialog. just press save and afterwards press cancel to close the dialog.
if everything went fine the network entry has been created.

switch back to TV Adpaters

select the entry like I did in the next screenshot.
and in the right handside dialog select the new created network.

dvbinputs7

new switch over to muxes

its is necessary for some versions of tvheadend to add the first mux manually
all other will be autodiscovered

press add button, select ASTRA network and fill the values as they are in the screenshot

dvbinputs8

wait a few minutes. then the other muxes appear automatically.

looks like this

dvbinputs9

now with the muxes also the services are filled automatically.
at this moment we do not have any channels yet. because what we have to do next is to map the services to channels.
just because you have 1500 services doe not mean you want all to be mapped.
so switch over to the services tab an start mapping the channels you would like to have.

NOTE: only mapped channels are available for recording or remote streaming

mapping is done by CRTL-CLick the service and press the “map selected” button
the dialog which appears can left to its default settings. just press save.

afterwards it looks pretty much like this:

dvbinputs10

now the mapped channels are available for recording or remote streaming …

have fun

 

recording and streaming with kodi is part of the third tutorial.

2 comments on “Setting up tvheadend on raspberry pi2
  1. tv says:

    I have followed your tutorial step by step. Hotbird + Astra 28 work well.
    But theres ‘s no way to get Astra 19.2 scanned, which is what I need.
    I have already added many muxes manually, but it doesn’t help.
    I am sure the satellite is directed properly because astra 19.2 works very well on my tv.

    What could it be?

    • TechinfoGuy says:

      he there, sorry for the late reply. first check in tvheadend webinterface:
      1. configuration –> dvbinputs –> click on the last foldericon before the green adaptericon … check if its enabled and that the correct network is choosen
      2. make sure under NETWORKS just to have the one network for astra
      3. check /var/log/syslog for more detailed informations

      hope that helps good luck

Leave a Reply