OSMC RC Unable to install TVHEADEND

HI @Gmoney

TVheadend will to the scanning, but i think you have to with hdhomerun set the tuner in the right “state” like DVB-t or ATSC, and then setup TVheadend.

About streamning HD content, it works fine but you need a real/good antenna… the ons that comes with my ISP are crap… i use airport express as AP/router and a Cubox i1 for viewing and USB adaptor with a antenna like this WIFI dongle… full HD no problem under the right network conditions…

About Tvheadend start op, you a missing an paramter… (-f) ( ) run as daemon.

/usr/src/tvheadend/build.linux/tvheadend -f -u osmc -g video -C

hope this helps

@HarryL

That was IT! I now have a picture over a crappy monitor (no sound), running a network tuner over WiFi without the MPEG2 license for the RPi. Looks horrible, but it’s progress. I thought that the HDHomeRun EXTEND had a H.264 transcoder circuit that would alleviate any issue with incompatible encoding type… perhaps TVheadend doesn’t “know how” to put the tuner in that mode, which would mean that the RPi (ARM v7) is having to transcode. I also imagine that things will improve simply by using ethernet as opposed to WiFi, but i would have thought that WiFi would cause only intermittent frame drops (or tiling) as opposed to poor picture quality. I also imagine that using a higher resolution display (like my TV) will also help.

Anyhow, you and @kphammond9 have help tremendously and have restored my hope in this endeavor.

@Gmoney ;-)…

check to see what codec the channel is using… in kodi press ‘o’ ohh o ;-).

i alwas test on my real laptop may it be Windows or OSX with kodi installed.

Harry, what is the best way to update to a newer version? I was having issues with my install and decided to remove the .hts folder and then removed the tvheadend folder under /usr/src and then re-ran all your instructions and it won’t run for me. It doesn’t seem to ever configure the .hts folder correctly.
I have a backup of my previous .hts folder that if copied over will let me in to the web-end, but then has issues.
I have done this 4x times today and must be missing something.

TVHeadend should work fine from the App Store now. We have upgraded to version 4.0.5.

Thanks HarryL

Sam

2 Likes

Excellent. Have just ordered an August DVB T-210 and am impatient to know f it’s going to be recognised and work! :smiley:

Hi

I took an error when installing TVHeadend. I have uploaded the logs and the url is paste.osmc.io/uxcihijihuy

I didn’t uninstall the existing version, should I have done

Keith

That log seems empty to me?

And yes, you should have uninstalled the old version first.

OK I will do that. What is the best way of uninstalling it. I used the procedures EMJB outlined in a document to install it

Not sure. Doubt make uninstall will cover it entirely…

Sam

please run systemctl status tvheadend and paste the output here…

how do you run it on boot up? rc.local?

Hi Harry

I happened to reboot and afterwards I noticed in my browser that it was showing the version 4.0.5. I then went into the app store and tried another install and this time it worked successfully.

Have I now got a time bomb ticking I should really uninstall and reinstall.? If I have to do this is there any way of keeping the current settings and programmes waiting to be recorded over this process.

Here is the requested output

osmc@osmc:~$ systemctl status tvheadend

  • tvheadend.service - TVHeadend Server
    Loaded: loaded (/lib/systemd/system/tvheadend.service; enabled)
    Active: active (running) since Tue 2015-07-07 18:50:56 BST; 14h ago
    Process: 406 ExecStop=/usr/bin/rm /run/tvheadend.pid (code=exited, status=203/EXEC)
    Process: 668 ExecStart=/usr/bin/tvheadend -f -p /run/tvheadend.pid -C -u osmc -g video (code=exited, status=0/SUCCESS)
    Main PID: 669 (tvheadend)
    CGroup: /system.slice/tvheadend.service
    `-669 /usr/bin/tvheadend -f -p /run/tvheadend.pid -C -u osmc -g vi…
    osmc@osmc:~$

To answer your question I am using rc.local

Thank you very much for your help

Keith

Just remove tvheadend from rc.local, from your systemctl output… tvheadend should start fine on it’s own, and use your .hts folder/config in tvheadend…

Thank you very much for your help

Wifi is fast enough.
I use Edimax ew-7811un-Wifi dongle and stream HD with no trouble at all.
Just remember to ensure that the wifi-dongle don’t goes a sleep or USB Standby.
It could cause some trouble when connecting to Raspberry, if the stick has gone to dreamland. Putty won’t connect, but i’ve found that, if you ping the address from a cmdline, it is possible to wake up the sleepy-stick end then connect with Putty. :wink:

where i add this?

add " libhdhomerun-dev libhdhomerun1 hdhomerun-config cmake " for hdhomerun network tuner.

Thanks

I did a fresh install last week and tried tvheadend again from the AppStore. Works without problems now with my hdhomerun tuners (no need to install anything extra)

[quote]root@osmc:/home/osmc# cd /usr/src
root@osmc:/usr/src# git clone GitHub - tvheadend/tvheadend: Tvheadend is a TV streaming server for Linux supporting DVB-S, DVB-S2, DVB-C, DVB-T, ATSC, IPTV,SAT>IP and other formats through the unix pipe as input sources.
Cloning into ‘tvheadend’…
remote: Counting objects: 64281, done.
remote: Total 64281 (delta 0), reused 0 (delta 0), pack-reused 64280
Receiving objects: 100% (64281/64281), 42.32 MiB | 3.37 MiB/s, done.
Resolving deltas: 100% (47902/47902), done.
Checking connectivity… done.
Checking out files: 100% (5144/5144), done.
root@osmc:/usr/src# cd tvheadend
root@osmc:/usr/src/tvheadend# ./configure
Checking support/features
checking for cc execinfo.h … ok
checking for cc -mmmx … fail
checking for cc -msse2 … fail
checking for cc -Wunused-result … ok
checking for cc getloadavg … ok
checking for cc atomic64 … ok
checking for cc atomic_time_t … ok
checking for cc lockowner … ok
checking for cc qsort_r … ok
checking for cc stime … ok
checking for cc gmtoff … ok
checking for cc recvmmsg … ok
checking for cc sendmmsg … ok
checking for cc libiconv … fail
checking for cc libdvben50221 … fail
checking for cc ifnames … ok
checking for py module gzip … ok
checking for pkg-config … ok
checking for xgettext … fail
ERROR: no gettext binaries found
[/quote]

You can install via our App Store.

Otherwise, sudo apt-get install gettext

But we don’t really support 3rd party installations, and all dependencies are listed on the TVHeadend site.

What about this error

checking for cc -mmmx … fail
checking for cc -msse2 … fail
checking for cc nvEncodeAPI.h … fail

osmc@osmc:~$ sudo -s
root@osmc:/home/osmc# cd /usr/src
root@osmc:/usr/src# cd tvheadend
root@osmc:/usr/src/tvheadend# ./configure
Checking support/features
checking for cc execinfo.h … ok
checking for cc -mmmx … fail
checking for cc -msse2 … fail
checking for cc -Wunused-result … ok
checking for cc getloadavg … ok
checking for cc atomic64 … ok
checking for cc atomic_time_t … ok
checking for cc lockowner … ok
checking for cc qsort_r … ok
checking for cc stime … ok
checking for cc gmtoff … ok
checking for cc recvmmsg … ok
checking for cc sendmmsg … ok
checking for cc libiconv … ok
checking for cc libdvben50221 … ok
checking for cc ifnames … ok
checking for py module gzip … ok
checking for pkg-config … ok
checking for xgettext … ok
checking for msgmerge … ok
checking for gzip … ok
checking for bzip2 … ok
checking for pkg openssl … ok (detected 1.0.1t)
checking for cc linux/dvb/version.h … ok
checking for pkg zlib … ok (detected 1.2.8)
checking for pkg liburiparser … ok (detected 0.8.0.1)
checking for pkg avahi-client … ok (detected 0.6.31)
checking for cmake … ok
checking for cc -lstdc++ … ok
checking for cc nvEncodeAPI.h … fail
checking for cc sys/inotify.h … ok
fetching dvb-scan files … ok
checking for pkg dbus-1 … ok (detected 1.8.20)