Tvheadend setup guide

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Ned Scott Offline
Team-Kodi Wiki Guy
Posts: 21,251
Joined: Jan 2011
Reputation: 276
Location: Arizona, USA
Post: #1
Since I've gone down the Tvheadend path for myself and to help start the wiki guide for PVR, I was hoping someone might be able to guide me in getting some info.

1. For myself, when I compiled (something I don't normally do, but turned out to be very easy) Tvheadend on Crystalbuntu on my ATV1, I still had to install a driver for my USB tuner (ATSC/QAM in the US). Will most users need to take the extra step to install a driver for their tuner card, or maybe that's just an ATSC thing, and DVB is different? I would assume that regardless of TV signal, some type of driver is needed, but wasn't sure if maybe some "work out of the box".

2. The Tvheadend set up page (PVR/Backend/Tvheadend) will contain a "quick start guide" for the most basic steps one would take from having Tvheadend installed to getting a signal to XBMC. If anyone has any advice on what to include here, that would be great

3. Since the XBMC wiki page will only contain the very basics, any links to more complete guides would be very welcome.

4. Also looking for links and guides for setting up Tvheadend on a Pogo Plug, Dock Star, and other ARM devices.

5. Anything else you can think of that would help new users set up PVR with Tvheadend.

You can make easy links to the XBMC wiki using double brackets around common XBMC words: [[debug log]] = debug log, [[Video library]] = Video library, [[SMB]] = SMB , [[userdata]] = userdata, etc
find quote
Mizaki Offline
Fan
Posts: 726
Joined: Apr 2011
Reputation: 14
Post: #2
My PCTV Systems nanoStick T2 290e just worked. I had to manually put the right freqs in as it was old data (before analogue switch off).

[Image: watched-clearlogo.jpg]
AWXi - Ajax web interface. Wiki
find quote
illiac4 Offline
Fan
Posts: 531
Joined: May 2009
Reputation: 3
Post: #3
Ned Scott: Two questions. First which tvheadend (version?) have you compiled on Crystalbuntu? The second: does your TVHeadend support CrystalHD decoding. Unable to decode TVheadend is one of the things that are annoying about ATV.

About compiling TVHeadend on arm is simple and the same as for other platforms:
cd /tmp
git clone https://github.com/tvheadend/tvheadend
cd tvheadend
./configure --prefix=/usr --datadir=/usr/share --disable-avahi
make
sudo make install
find quote
Ned Scott Offline
Team-Kodi Wiki Guy
Posts: 21,251
Joined: Jan 2011
Reputation: 276
Location: Arizona, USA
Post: #4
I had compiled using githead originally, but had some issues. Compiled 3.0 and it seemed to be okay, but crashes the whole system every so often. Payback directly on the ATV1 using BCHD seems a bit flaky, with only one or two HD channels able to display live (others work if I record them and then play them back). I haven't really tested it that much, since the ATV1 is also running XBMC v11, and I mostly just wanted to get a PVR backend up so I could at least use it and learn about it via my other computers running Frodo, but I'll let you know if I have any progress on it.

You can make easy links to the XBMC wiki using double brackets around common XBMC words: [[debug log]] = debug log, [[Video library]] = Video library, [[SMB]] = SMB , [[userdata]] = userdata, etc
find quote
illiac4 Offline
Fan
Posts: 531
Joined: May 2009
Reputation: 3
Post: #5
For me tvheadend is very stable but i am using build around one year old but will try 3.2 final. It is a shame that chd will not work with tvh and live tv. Hope it will change in the near future.
find quote
Ned Scott Offline
Team-Kodi Wiki Guy
Posts: 21,251
Joined: Jan 2011
Reputation: 276
Location: Arizona, USA
Post: #6
It does work, but there just seem to be some glitches on some channels, and those glitches might have been fixed on the XBMC side. In other words, we need to see how Tvheadend 3.2 and XBMC Frodo builds work together.

You can make easy links to the XBMC wiki using double brackets around common XBMC words: [[debug log]] = debug log, [[Video library]] = Video library, [[SMB]] = SMB , [[userdata]] = userdata, etc
find quote
Atomic Zombie Offline
Senior Member
Posts: 171
Joined: Dec 2011
Reputation: 2
Post: #7
I very recently got tvheadend 3.2 running on a purpose built Ubuntu server 12.04 server. Runs very well, and much easier to set up than mythtv, just select your card(s) and tell it to pull freqs for your nearest antenna ( I haven't tried DVB-S). once it has the Multiplexes and services, bind the services to the channels.
find quote
illiac4 Offline
Fan
Posts: 531
Joined: May 2009
Reputation: 3
Post: #8
Yes i know tvheadend is nice. I was asking Ned because i know he is using Crystalbuntu and was interested if he was able to compile 3.2 on it because it is 8.04 based linux.
find quote
Jönke Offline
Fan
Posts: 636
Joined: Oct 2009
Reputation: 2
Post: #9
A step-by-step guide how to install tvheadend on a fresh install of Ubuntu 12.10 would be nice
Think i found it:

sudo add-apt-repository ppa:adamsutton/tvheadend
sudo apt-get update
sudo apt-get install tvheadend

add user/pass

Right? anything else?
(This post was last modified: 2012-12-22 14:52 by Jönke.)
find quote
Jönke Offline
Fan
Posts: 636
Joined: Oct 2009
Reputation: 2
Post: #10
So now i have Tvheadend running on Ubuntu 12.10 but cant enable xmltv epg
This is what i have done set
1, set internal grabber to use XMLTV: Sweden (TVZon)
2,With terminal: _grab_se_tvzon --configure
3, choose all channels but tvheaend gui just gives me

Dec 26 13:17:58 /usr/bin/tv_grab_se_tvzon: grab /usr/bin/tv_grab_se_tvzon
Dec 26 13:17:59 /usr/bin/tv_grab_se_tvzon: no output detected
Dec 26 13:17:59 /usr/bin/tv_grab_se_tvzon: grab returned no data
find quote
Jönke Offline
Fan
Posts: 636
Joined: Oct 2009
Reputation: 2
Post: #11
sudo rm -rf ~hts/.xmltv
sudo su - hts
/usr/bin/tv_grab_se_tvzon --configure

Fixed my problems , almost...

Where do i set how many days to grab ? I would like to have 14 days.
find quote
NoMad28 Offline
Junior Member
Posts: 11
Joined: Mar 2012
Reputation: 1
Post: #12
I'm also planning to do a step-by-step guide from scratch to Ubuntu 12.10 minimal + XBMC + XVBA + LiveTV
For the LiveTV part, I'm goint to use TVHeadend, as I already used it before.

But I don't get what's the deal with XMLTV...
Doesn't TVH just grab the EPG "over the air" (OTA)? Or where does the data come from?
find quote
Ned Scott Offline
Team-Kodi Wiki Guy
Posts: 21,251
Joined: Jan 2011
Reputation: 276
Location: Arizona, USA
Post: #13
If I understand correctly, it can grab that info over the air, but it's not an option for everyone. I myself am in the US, and Tvheadend can't grab the US OTA EPG data.

You can make easy links to the XBMC wiki using double brackets around common XBMC words: [[debug log]] = debug log, [[Video library]] = Video library, [[SMB]] = SMB , [[userdata]] = userdata, etc
find quote