Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - kodi-addon-pvr-hts-git

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: kodi-addon-pvr-hts-git r510.9261047-1

Git Clone URL: https://aur-dev.archlinux.org/kodi-addon-pvr-hts-git.git (read-only)
Package Base: kodi-addon-pvr-hts-git
Description: Tvheadend HTSP PVR client addon for Kodi
Upstream URL: https://github.com/kodi-pvr/pvr.hts
Licenses: GPL
Conflicts: kodi-addon-pvr-hts, kodi-pvr-addons
Provides: kodi-addon-pvr-hts
Submitter: Bevan
Maintainer: Bevan
Last Packager: Bevan
Votes: 12
Popularity: 0.889177
First Submitted: 2015-07-25 09:08
Last Updated: 2017-02-02 21:51

Pinned Comments

Bevan commented on 2016-02-25 22:31

@ackalker:
To make it short: If you use the Kodi version from the Arch repos, stick to this package or to kodi-addon-pvr-hts, although I never tested the latter one and it seems to be out-of-date. Don't bother thinking about libplatform. More thorough answer below.

There is no point in adding API versions to the name of this package as it can be used for all versions. You have to set the API level in the PKGBUILD. Creating a separate package for each Kodi version instead would actually flood the AUR with a lot more packages that would constantly have to be added and removed as Kodi development goes on.

There is also no need to decide for a specific libplatform version. kodi-platform-git (a dependency of this package) will depend on the correct version automatically (again: check the API level set in the PKGBUILD before building it).

Apart from this package I see kodi-addon-pvr-hts which sticks to stable versions instead of pulling the most recent one from git, kodi-addon-pvr-hts-rbp-git which seems to specifically target the raspberry-pi (for reasons unknown to me. This package works fine on the raspberry pi, too) and kodi-devel-pvr-hts which belongs to a whole kodi-devel-* series targeting the Kodi development version itself. Again this package will work with the kodi git version, too, if the API level is specified correctly in the PKGBUILD.

Regarding the naming of libplatform-legacy: It's exactly that. It's an outdated version but Kodi decided to stick with it for Jarvis.

All in all not much we can do about the complexity of this whole thing. This package is named -git because it pulls the most recent version from git. That does not mean that other -git packages are the right one to use with this package. But that's what dependencies are for and as far as I can see they are correct. I only can speak for my own packages though.

Latest Comments

1 2 3 4 Next › Last »

rpcameron commented on 2016-11-13 20:15

I had problems building this on a Raspberry Pi 2. To get it to build, I had to add -DCMAKE_MODULE_PATH=/usr/lib/kodi to the cmake command.

This may have been related to installing the support files/packages for kodi-devel, but I think it's something that ought to be added to the PKGBUILD.

lod commented on 2016-09-29 17:00

Would be nice, if you could update the package to use master branch for kodi17

romax commented on 2016-04-14 18:22

@Bevan: I started over with the Kodi version from the Arch repo and got it working with kodi-addon-pvr-hts. Thanks!

For the record:

wget https://aur.archlinux.org/cgit/aur.git/snapshot/libplatform-legacy.tar.gz
tar xzvf libplatform-legacy.tar.gz
cd libplatform-legacy/
makepkg -s
sudo pacman -U libplatform-legacy-1.0.10-2-x86_64.pkg.tar.xz
cd ..
wget https://aur.archlinux.org/cgit/aur.git/snapshot/kodi-addon-pvr-hts.tar.gz
tar xzvf kodi-addon-pvr-hts.tar.gz
cd kodi-addon-pvr-hts/
makepkg -s
sudo pacman -U kodi-addon-pvr-hts-2.2.14-2-x86_64.pkg.tar.xz

Bevan commented on 2016-04-11 19:44

@romax: I can't reproduce this when building for Jarvis. I can only assume that your installed version if kodi-platform-git may be too old. Try rebuilding and reinstalling that before trying to build this package.

If it does not help, please provide exact version numbers of kodi-platform-git and state what API you are building for.

romax commented on 2016-04-10 09:45

When compiling, an error surfaces:

...
[ 60%] Building CXX object CMakeFiles/pvr.hts.dir/src/client.cpp.o
/home/user/source/kodi-addon-pvr-hts-git/src/kodi-addon-pvr-hts-git/src/client.cpp: In function ‘PVR_ERROR GetAddonCapabilities(PVR_ADDON_CAPABILITIES*)’:
/home/user/source/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
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
==> ERROR: A failure occurred in build().
Aborting...

Bevan commented on 2016-03-05 00:16

@crondog: Not sure what the problem was there. Maybe the add-on "thought" it was unconfigured. I also had the missing TV problem with another PVR add-on once and (de-)activating it again or restarting Kodi helped. If you are curios you may have a look at the logfiles in ~/.kodi/temp/. But I'm glad it works now :)

crondog commented on 2016-03-05 00:11

@Bevan Everything was working before the upgrade. I always just use the default configuration as tvheadend is on the same box.

Also since you mentioned going into the config, I went into it to look around and then i did not make any changes and then clicked ok. It now works! Why would default settings not just work

Bevan commented on 2016-03-04 23:26

@crondog: Have you configured the add-on accordingly? Similar to where you enable the tvheadend add-on, there is a Configure option where you have to set the address of your tvheadend backend. I'm not sure if this defaults to localhost which would be the correct setting if you run tvheadend on the same machine. And is tvheadend running properly? The kodi add-on just connects to an already running tvheadend backend.
Since you said you updated kodi: did your setup work before that update?

crondog commented on 2016-03-04 22:33

So I just updated to kodi 16.0-2 but am stuck at trying to get this addon to work. With kodi and tvheadend installed and working, I compile and install the following in order: libplatform-legacy, kodi-platform-git then kodi-addon-pvr-hts-git. I then go to Settings->Tv and check enable. Which then takes me to the addons page to enable the tvheadend client. However I never get the tv menu or see the loading of channels. I close and open kodi but when i do it says searching for pvr and then it says that no pvr clients are enabled. Am I doing something wrong?

Bevan commented on 2016-02-25 22:31

@ackalker:
To make it short: If you use the Kodi version from the Arch repos, stick to this package or to kodi-addon-pvr-hts, although I never tested the latter one and it seems to be out-of-date. Don't bother thinking about libplatform. More thorough answer below.

There is no point in adding API versions to the name of this package as it can be used for all versions. You have to set the API level in the PKGBUILD. Creating a separate package for each Kodi version instead would actually flood the AUR with a lot more packages that would constantly have to be added and removed as Kodi development goes on.

There is also no need to decide for a specific libplatform version. kodi-platform-git (a dependency of this package) will depend on the correct version automatically (again: check the API level set in the PKGBUILD before building it).

Apart from this package I see kodi-addon-pvr-hts which sticks to stable versions instead of pulling the most recent one from git, kodi-addon-pvr-hts-rbp-git which seems to specifically target the raspberry-pi (for reasons unknown to me. This package works fine on the raspberry pi, too) and kodi-devel-pvr-hts which belongs to a whole kodi-devel-* series targeting the Kodi development version itself. Again this package will work with the kodi git version, too, if the API level is specified correctly in the PKGBUILD.

Regarding the naming of libplatform-legacy: It's exactly that. It's an outdated version but Kodi decided to stick with it for Jarvis.

All in all not much we can do about the complexity of this whole thing. This package is named -git because it pulls the most recent version from git. That does not mean that other -git packages are the right one to use with this package. But that's what dependencies are for and as far as I can see they are correct. I only can speak for my own packages though.