upgrading vrt.nu to 1.5.1


While upgrading vrt.nu on my raspberry pi running kodi on raspbian (stretch), I had some problems, especially because the latest vrt.nu application needs inputstream-adaptive v2.0.19 and that is not provided by the normal stretch repositories. These are the notes about fixing those problems.

Checking repository

Running apt policy kodi-inputstream-adaptive give us this:

$ apt policy kodi-inputstream-adaptive
  Installed: 2.0.10-1~stretch
  Candidate: 2.0.10-1~stretch
  Version table:
 *** 2.0.10-1~stretch 500
        500 http://archive.raspberrypi.org/debian stretch/main armhf Packages
        100 /var/lib/dpkg/status

So there is clearly no package available that fits our needs. So let’s also verify the version of kodi so we have a better idea which version we’re looking for

pi@enix:~ $ kodi --version
17.6 Git:20171115-d69a54a Media Center Kodi
Copyright (C) 2005-2013 Team Kodi - http://kodi.tv

We found a suggestion at this site and tried the solution in a docker environment.

First we checkout the sources we need:

git clone https://github.com/xbmc/xbmc.git
cd xbmc
git checkout tags/17.6-Krypton
cd ..</p>

<p>git clone https://github.com/peak3d/inputstream.adaptive.git
cd inputstream.adaptive
git checkout -b Krypton origin/Krypton

We ran the commands in a docker environment:

docker pull hashicorp/packer:light
docker run --name 'my-packer' -d hashicorp/packer:light sleep infinity
docker exec my-packer bash

At the docker environment we first installed the tools we needed:

apt-get update
apt-get upgrade
apt-get install git cmake build-essential

Then we just tried to compile the addon:

cd /app/inputstream.adaptive
mkdir build && cd build
cmake -DADDONS_TO_BUILD=inputstream.adaptive -DADDON_SRC_PREFIX=../.. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=../../xbmc/addons -DPACKAGE_ZIP=1 ../../xbmc/project/cmake/addons

And in the end we just had the addon we needed. I transferred the whole directory unther /app/xbmc/addons/inputstream.adaptive/ and put it on the raspberry. At that point we could rock’n’roll and check the categories again.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s