Skip to content

Testing

Dag Wieers edited this page Mar 20, 2019 · 21 revisions

Testing the latest code

It is not that hard to test the latest master branch code for testing or when improving the VRT.NU addon.

Preparation

If you have the project cloned locally, like this:

$ git clone git@github.com:pietje666/plugin.video.vrt.nu.git
$ cd plugin.video.vrt.nu/

First make sure you have the latest copy in your cloned directory.

$ git checkout master
$ git pull --rebase origin master

Make a zip package on Linux

If you made any changes and you want to test those (on Linux), you can make a zip package by doing:

$ make zip

This will perform some basic sanity checks of your (modified) code and then creates a new zip package.

Make a zip package on Windows

<to be done>

Transfer, install and test

Finally you can transfer this zip package to your Kodi system (if needed) and install it in Kodi.

$ scp -rp plugin.video.vrt.nu-1.6.0-fd627b8.zip root@kodi01:

Add-ons » Install from zip file

In Kodi the best way to reload an addon is by loading another addon first, and then return to the VRT.NU addon. This guarantees no older code is still active.

Tip: Semi-automating zip package installation

An easy way to install a zip file on a remote Kodi system is by running:

$ ssh root@kodi01 kodi-send -a InstallFromZip

This will pop up the "Install from zip file" window so you can select the right zip package and install it with ease.

Clone this wiki locally