Commit graph

7 commits

Author SHA1 Message Date
Matthias Reichl
addab9b783 Revert "kodi: service addon wrapper call fix"
This reverts commit 3fc36563b1.

This fixes service addons not being started after installation.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-03-17 16:57:38 +01:00
MilhouseVH
d4f6326142 packages: align source code licence usage with project licence 2019-03-26 18:05:50 +00:00
vpeter4
3fc36563b1 kodi: service addon wrapper call fix
Currently when addon is installed it's service is enabled and started.
But immediately service is stopped, disabled, enabled and started again.
This second part should be executed only on addon's update.
2018-12-28 14:26:17 +01:00
CvH
92c3defd4b spdx: packages/mediacenter 2018-07-18 20:44:40 +02:00
Matthias Reichl
63cd138942 kodi: correct URL in service addon wrapper header
Signed-off-by: Matthias Reichl <hias@horus.com>
2017-10-12 22:18:02 +02:00
Matthias Reichl
95bfafd60d kodi: support kernel overlays in service addon wrapper
update context is intended to be used on settings change.
This can later be extended to support selecting between
multiple overlays in an addon via config files in the
addon userdata dir.

Signed-off-by: Matthias Reichl <hias@horus.com>
2017-10-12 20:04:02 +02:00
Matthias Reichl
89e6d75a40 kodi: refactor service addon wrapper
Simplify the kodi addon wrapper patch, pass call hook context and
addon path on to wrapper instead of just enable/disable.

The logic of what should happen with service addons on
enable/disable/install/uninstall is moved out of kodi
into the wrapper script.

Also add restart and reload contexts so service addons can call
the wrapper from python code on settings change instead of having
to directly interact with systemctl.

Signed-off-by: Matthias Reichl <hias@horus.com>
2017-10-12 19:59:11 +02:00