Linux pvr.hts for raspberry pi 2
#1
I could not find any binary package to upgrade my tvheadend addon for kodi.
The kodi binary was updated and the addon stopped to work with "ERROR: PVR - Add-on 'Tvheadend HTSP Client' is using an incompatible API version.".
The funny thing is that you can get the new "Isengard" kodi but not the matching hts addon for raspberry.

So here is what i did to fix this which probably save you some wasted hours:


Code:
cd /usr/src
git clone https://github.com/xbmc/xbmc kodi (probably i also did a ./bootstrap in the kodi directory but it probably is not needed)
git clone https://github.com/kodi-pvr/pvr.hts
cd pvr.hts
mkdir build
cd build
cmake -DADDONS_TO_BUILD=pvr.hts -DADDON_SRC_PREFIX=/usr/src  -DPACKAGE_ZIP=1 -DCMAKE_INSTALL_PREFIX=/usr/lib/kodi/addons  /usr/src/kodi/project/cmake/addons
make -C /usr/src/pvr.hts/build
make -C /usr/src/pvr.hts/build install

Some prerequisites have to be fullfilled. This might work for you aswell if you have a debian/ubuntu based installation:

Code:
apt-get build-dep kodi
apt-get install build-essential
#be sure to have gcc-4.8, g++-4.8 or newer installed and it must be the "active" compiler

So now it can load but it is unstable. I think i will fall back to kodi 14.x.
Reply
#2
Install "kodi-pvr-hts" using apt-get and you'll be fine. We recently pushed a fix so that users who had the old package installed ("kodi-pvr-tvheadend-hts") will also get updated automatically when they run apt-get upgrade.
Reply
#3
kodi-pvr-hts is not available on RPi2

Code:
pi@raspberrypi ~ $ sudo apt-get install kodi-pvr-hts
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package kodi-pvr-hts
Reply
#4
Do you have the PPA installed?
Reply
#5
What PPA? There's only one for Ubuntu.
Reply
#6
The PPA you install Kodi itself from, usually https://launchpad.net/~team-xbmc/+archive/ubuntu/ppa.
Reply
#7
That won't work on Pi/ARM :)

I'm not sure what is done for the Kodi build on Raspbian regarding PVR add-ons. I'll ask about it.
Reply
#8
(2015-08-01, 10:37)negge Wrote: The PPA you install Kodi itself from, usually https://launchpad.net/~team-xbmc/+archive/ubuntu/ppa.

That's the Ubuntu one, and that will not work on the RPi as Ned already pointed out. I believe Kodi is installed out of the Raspbian repository here: archive.raspbian.org/raspbian/pool/main/k/kodi/ I couldn't find the PVR packages in there though.
Reply
#9
That might be since they're on the Raspberry Pi Foundation's Raspbain repo, instead of the Raspbain repo directly. Both repos are included by default. It looks like Raspbain has decided to also include Kodi packages, which could be an issue since they have the same package name..

Follow the instructions on here, but just ignore the part about the Team Kodi/XBMC PPA: Ubuntu PVR add-ons (wiki). I tried this the other night and it indeed works on Raspbian.
Reply
#10
Both repos? The only default repo I have is "deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi" which is exactly the same as the archive.raspbian.org. As before I couldn't find the kodi-pvr-hts package.
Reply
#11
FYI - i successfully built two pvr modules a while ago - hts and iptvsimple.
I also built them as addons for Kodi isengard. If somebody is interested i uploaded the zip files to

a) http://s000.tinyupload.com/index.php?fil...6466891144
b) http://s000.tinyupload.com/index.php?fil...9948891549

All is untested (that means the file hoster and the module installation procedure) and comes without any warranty.
The modules itself work for me with "Raspbian GNU/Linux 7 (wheezy)".

You should find Kodi Isengard somewhere else or build it yourself.
Reply
#12
Is there any progress with this issue? Im stuck with the same problem: rpi2, raspbian jessie, kodi 15.1, no pvr addons Sad

@mxpower: How did you compile the addon?
Reply

Logout Mark Read Team Forum Stats Members Help
pvr.hts for raspberry pi 20