Kodi Community Forum
Embbeding pvr.hts inside Kodi - 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: Tvheadend (https://forum.kodi.tv/forumdisplay.php?fid=168)
+---- Thread: Embbeding pvr.hts inside Kodi (/showthread.php?tid=309051)



Embbeding pvr.hts inside Kodi - rmillo - 2017-03-07

Hi community

I'm trying to embbeded the pvr.hts addon inside Kodi, to get it running native on Kodi. I'm trying to do this but the actual plugins is based on the addon interface. I want to make the pvr.hts to be present always in the system, and the user can't disable it. Someone has any idea how to reimplement this plugins or any suggestion.

Best regards


RE: Embbeding pvr.hts inside Kodi - rpcameron - 2017-03-08

Install the plugin into the system addon folder.

On Arch linux, this is the default way PVR, visualization and DSP addons are installed (since all of those are compiled binaries that are system/architecture specific). Instead of installing to ~/.kodi/userdata/addons like normal addons, Arch installs them to /usr/share/kodi/addons. Then, change the addon permissions so only the owner can write to them, mark them as owned by root, and you've got system-wide addons that are available to all Kodi users on the system, even across profiles, and addons that cannot be removed (easily) by users.


RE: Embbeding pvr.hts inside Kodi - rmillo - 2017-03-08

(2017-03-08, 05:26)rpcameron Wrote: Install the plugin into the system addon folder.

On Arch linux, this is the default way PVR, visualization and DSP addons are installed (since all of those are compiled binaries that are system/architecture specific). Instead of installing to ~/.kodi/userdata/addons like normal addons, Arch installs them to /usr/share/kodi/addons. Then, change the addon permissions so only the owner can write to them, mark them as owned by root, and you've got system-wide addons that are available to all Kodi users on the system, even across profiles, and addons that cannot be removed (easily) by users.

I have been using this solution, but in this case the user can disable the pvr plugin, but I want that the plugin can't be disabled.


RE: Embbeding pvr.hts inside Kodi - ironic_monkey - 2017-03-08

add it to the addon manifest in system then.


RE: Embbeding pvr.hts inside Kodi - rmillo - 2017-03-08

(2017-03-08, 16:52)ironic_monkey Wrote: add it to the addon manifest in system then.

I'm using Kodi Jarvis, and can't find the addon-manifest.xml. If i add manually the file it will work?


RE: Embbeding pvr.hts inside Kodi - wsnipex - 2017-03-08

system/addon-manifest.xml in the kodi source


RE: Embbeding pvr.hts inside Kodi - rmillo - 2017-03-08

(2017-03-08, 20:16)wsnipex Wrote: system/addon-manifest.xml in the kodi source

This file don't exists on Jarvis source code

https://github.com/xbmc/xbmc/tree/Jarvis/system