Project

General

Profile

tvheadend and Jarvis beta

Added by Nick Sillito almost 10 years ago

I am probably missing something here, but I have installed Kodi 16 Beta 2 (Jarvis) on my desktop machine, running Linux Mint 17.2 (64 bit).

When I read the change log for Jarvis, is says "Added, updated, and improved PVR backend clients addons for all popular third-party external PVR backend platforms" and lists TVheadend as one of the supported backends.

When I try to install the backend (apt-get install kodi-pvr-hts) I am told that I have the up-to-date version installed, but when I attempt to run kodi, I get the message that the PVR client cant be loaded and the following in the kodi log:

21:08:42 T:139850149775104 NOTICE: Autoconfigure - auto-configured Tvheadend #2 using host 'fe80::be5f:f4ff:fefb:9f3a' and port '9982'
21:08:42 T:139850149775104 ERROR: PVR - Add-on 'Tvheadend HTSP Client' is using an incompatible API version. XBMC minimum API version = '4.1.0', add-on API version '1.9.6'
21:08:42 T:139850149775104 WARNING: UpdateAndInitialiseClients - failed to create add-on Tvheadend HTSP Client, status = 6
21:08:42 T:139850149775104 WARNING: UpdateAndInitialiseClients - failed to load the dll for add-on Tvheadend HTSP Client, disabling it

According to the kodi UI, I have version 2.1.18 of hts installed.

I have the following repositories set up for the kodi beta:

deb http://ppa.launchpad.net/team-xbmc/unstable/ubuntu trusty main
deb-src http://ppa.launchpad.net/team-xbmc/unstable/ubuntu trusty main

Is there a tvheadend client for Jarvis, and if so what am I doing wrong?

Thanks


Replies (7)

RE: tvheadend and Jarvis beta - Added by Prof Yaffle almost 10 years ago

You need a later version of the tvheadend pvr.hts addon for Jarvis - but you'd already guessed that, I suspect.

Similar debate here:

http://forum.kodi.tv/showthread.php?tid=249133&pid=2168398#pid2168398

The link that poster gives also hosts i386 and amd64 builds, so give it a whirl (I only have what I compiled for my brief dalliance with Jarvis, and I don't know if I can bundle them up at all).

PAUSES

Actually, just looking at the official PPA, there's a version dated yesterday that's kodi-pvr-hts 2.2.9-1~trusty - so you might well get that on an apt-get update/upgrade now.

RE: tvheadend and Jarvis beta - Added by Nick Sillito almost 10 years ago

It works -- thanks

RE: tvheadend and Jarvis beta - Added by Bernard Mentink almost 10 years ago

I have the same issue:

ERROR: PVR - Add-on 'Tvheadend HTSP Client' is using an incompatible API version. XBMC minimum API version = '4.1.0', add-on API version '1.9.6'
15:47:15 T:2525492048 WARNING: UpdateAndInitialiseClients - failed to create add-on Tvheadend HTSP Client, status = 6
15:47:15 T:2525492048 WARNING: UpdateAndInitialiseClients - failed to load the dll for add-on Tvheadend HTSP Client, disabling it

Is there a archlinux/AUR method of installing the latest? I tried to compile the one in AUR and I get this error:

/home/bmentink/Builds/kodi-addon-pvr-hts-git/src/kodi-addon-pvr-hts-git/src/client.cpp: In function 'PVR_ERROR GetAddonCapabilities(PVR_ADDON_CAPABILITIES*)':
/home/bmentink/Builds/kodi-addon-pvr-hts-git/src/kodi-addon-pvr-hts-git/src/client.cpp:314:18: error: 'PVR_ADDON_CAPABILITIES {aka struct PVR_ADDON_CAPABILITIES}' has no member named 'bSupportsRecordingFolders'
pCapabilities->bSupportsRecordingFolders = true;
^
CMakeFiles/pvr.hts.dir/build.make:86: recipe for target 'CMakeFiles/pvr.hts.dir/src/client.cpp.o' failed
make[2]: * [CMakeFiles/pvr.hts.dir/src/client.cpp.o] Error 1
make[2]:
Waiting for unfinished jobs....
/home/bmentink/Builds/kodi-addon-pvr-hts-git/src/kodi-addon-pvr-hts-git/src/Tvheadend.cpp: In member function 'PVR_ERROR CTvheadend::GetTimers(ADDON_HANDLE)':
/home/bmentink/Builds/kodi-addon-pvr-hts-git/src/kodi-addon-pvr-hts-git/src/Tvheadend.cpp:557:11: error: 'PVR_TIMER {aka struct PVR_TIMER}' has no member named 'bIsRepeating'
tmr.bIsRepeating = false; // unused
^
/home/bmentink/Builds/kodi-addon-pvr-hts-git/src/kodi-addon-pvr-hts-git/src/Tvheadend.cpp: In member function 'PVR_ERROR CTvheadend::AddTimer(const PVR_TIMER&)':
/home/bmentink/Builds/kodi-addon-pvr-hts-git/src/kodi-addon-pvr-hts-git/src/Tvheadend.cpp:585:13: error: 'const PVR_TIMER {aka const struct PVR_TIMER}' has no member named 'bIsRepeating'
if (timer.bIsRepeating && timer.iWeekdays)
^
CMakeFiles/pvr.hts.dir/build.make:206: recipe for target 'CMakeFiles/pvr.hts.dir/src/Tvheadend.cpp.o' failed
make[2]:
[CMakeFiles/pvr.hts.dir/src/Tvheadend.cpp.o] Error 1
CMakeFiles/Makefile2:99: recipe for target 'CMakeFiles/pvr.hts.dir/all' failed
make[1]:
[CMakeFiles/pvr.hts.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *
* [all] Error 2

Thanks,

EDIT: In the meantime I will try and build from the git source.

RE: tvheadend and Jarvis beta - Added by Bernard Mentink almost 10 years ago

Nope, did not work. The plugin is installed correctly and is Version 2.2.9 ....
What version ove tvheadend is compatible with it? Maybe I have an older tvheadend server ?

EDIT: The server version is 4.1-31~g86ef485

I don't get the API error anymore, but Now I get this in the log:

cat .kodi/temp/kodi.log |grep pvr
16:08:50 T:2515530576 ERROR: ADDON: Could not locate pvr.hts.so.2.2.9
16:17:56 T:2963357696 ERROR: GetDirectory - Error getting addons://disabled/xbmc.pvrclient
16:17:56 T:2963357696 ERROR: CGUIMediaWindow::GetDirectory(addons://disabled/xbmc.pvrclient) failed
16:19:07 T:2515530576 ERROR: ADDON: Could not locate pvr.hts.so.2.2.9
16:27:42 T:2963357696 ERROR: GetDirectory - Error getting addons://disabled/xbmc.pvrclient
16:27:42 T:2963357696 ERROR: CGUIMediaWindow::GetDirectory(addons://disabled/xbmc.pvrclient) failed

I put the pvr.hts directory in /usr/share/kodi/addons, is this not correct?

RE: tvheadend and Jarvis beta - Added by Bernard Mentink almost 10 years ago

Never mind, I forgot to copy the libs over to /usr/lib/kodi/addons/pvr.hts .....
All good now ..

I also managed to get the AUR version of tvheadend to compile by removing the -Werror out of the top level Makefile.

Looks like I am only speaking to myself though .... not much action on this forum ;)

RE: tvheadend and Jarvis beta - Added by Kevin Larsen almost 10 years ago

If you don't want to build it yourself, I found a link to a prebuilt binary deb pkg that is also working on Jarvis over on the KODI forums.

https://launchpad.net/~nkvoronov/+archive/ubuntu/kodi-jarvis/+build/8293088

It seems to be working on my setup running on UBUNTU 14.04.

RE: tvheadend and Jarvis beta - Added by J_ oergZ over 9 years ago

I had the same problem with an Archlinux 64-bit system and all the solutions discussed here or at some arch-forums didn't work. At least I followed the second comment in this feed:

[[https://aur.archlinux.org/packages/kodi-addon-pvr-hts-git/]]. But first I got the same error mentioned at the beginning of this feed (Nick Sillito). I was rather irritated that the tvheadend-client wanted to connect to an IPv6-address like fe80::be5f:f4ff:fefb:9f3a. So I just opened a terminal within

nano ~/.kodi/userdata/addon_data/pvr.hts/settings.xml
and changed the entry with IPv6 address to the valid IPv4 address (something like 192.168.x.x) of my tvheadend-server - a small Raspberry Pi et voila Kodo Jarvis works fine with Archlinux. I don't know, why a IPv6 address seems to be given as a standard in private networks, but this seems to be the solution for the problem discussed here.

    (1-7/7)