Tvheadend is a TV streaming server for Linux supporting DVB-S, DVB-S2, DVB-C, DVB-T, ATSC, IPTV, and Analog video (V4L) as input sources.
Tvheadend isn’t in debian’s repositories, so we need to add Tvheadend’s repositories before install it. (Well, we can download, compile and install tvheadend, but, if it simple, why do it complicated?)
Edit /etc/apt/source.list and add tvheadend’s repository (or add it in synaptic):
deb http://www.lonelycoder.com/debian/ hts main
Get and add repository’s key.
sudo apt-key add public.key
Then update and install
sudo apt-get update
sudo apt-get install hts-tvheadend
When It’s it installing, ask for administrator username and password.
By default, tvheadend use port 9981 in localhost.
Start a browser and point it to http://locahost:9981, login using username and password selected in setup.
Go to Configuration -> TV Adapters and select a adapter (DVB-S in my case).
Select diseqc protocol and save.
Go to Satellite config -> Add entry and configure all ports of diseqc.
Go to Multiplexes -> Add mux(es) manually… and add all information of a mux. click in Add and tvheadand automatically scan the frecuency added.
Back to General and click in Map DVB service to channels…
Go to Access Control and click in Add entry, and enable Streaming and Enabled
Go to Services, look for a channel from the list and click in Play to watch it.