Kodi Community Forum
Build from Source, "doesn't contain a valid add-on type name" - Printable Version

Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: PVR & Live TV Support (https://forum.kodi.tv/forumdisplay.php?fid=167)
+---- Forum: NextPVR (https://forum.kodi.tv/forumdisplay.php?fid=175)
---- Thread: Build from Source, "doesn't contain a valid add-on type name" (/showthread.php?tid=359025)



Build from Source, "doesn't contain a valid add-on type name" - lochness - 2020-12-09

Objective: Enjoy Kodi NextPVR PVR on MX Linux, Kodi version 18.9

Built the NextPVR addon from GitHub source, everything appeared to go smoothly. It built something that looks like a binary addon in ~/xbmc/addons/pvr.nextpvr:

$ ls
addon.xml      icon.png        pvr.nextpvr.so.19.0   resources
changelog.txt  pvr.nextpvr.so  pvr.nextpvr.so.8.0.1

copied that over to special://xbmcbinaddons/ => /usr/lib/x86_64-linux-gnu/kodi/addons

Kodi seems to pick it up, but doesn't like it. I believe the relevant log entries are:
2020-12-08 22:21:51.132 T:140648504069312  NOTICE: ADDON: pvr.nextpvr v8.0.1 installed

2020-12-08 22:21:51.142 T:140648504069312   ERROR: CBinaryAddonBase::LoadAddonXML: file '/usr/lib/x86_64-linux-gnu/kodi/addons/pvr.nextpvr' doesn't contain a valid add-on type name (kodi.pvrclient)
2020-12-08 22:21:51.142 T:140648504069312   ERROR: CBinaryAddonManager::AddAddonBaseEntry: Failed to create base for 'pvr.nextpvr' and addon not usable

https://paste.kodi.tv/elicijafiz.kodi

Am I doing something wrong here?


RE: Build from Source, "doesn't contain a valid add-on type name" - emveepee - 2020-12-09

Yes.  You are building the pluigin from master which is Matrix and then installing it on a Leia client.

Martin


RE: Build from Source, "doesn't contain a valid add-on type name" - lochness - 2020-12-28

Indeed, thanks.

The relevant code for posterity:
Code:
git clone --branch Leia https://github.com/xbmc/xbmc.git
git clone --branch Leia https://github.com/kodi-pvr/pvr.nextpvr.git
cd pvr.nextpvr && mkdir build && cd build
cmake -DADDONS_TO_BUILD=pvr.nextpvr -DADDON_SRC_PREFIX=../.. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=../../xbmc/addons -DPACKAGE_ZIP=1 ../../xbmc/cmake/addons
make



This forum uses Lukasz Tkacz MyBB addons.