Now I would also like to get service addon started after it is installed. I know that service addon starts at XBMC start, but is it possible to get it started right after it is installed?
This is addon.xml file I use:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<import addon="os.openelec.tv" version="2.0"/>
<import addon="xbmc.python" version="2.0"/>
<summary>hts-tvheadend: a TV streaming server for Linux supporting DVB-S, DVB-S2, DVB-C, DVB-T, ATSC, IPTV, and Analog video (V4L) as input sources.</summary>
HTS-Tvheadend is a TV streaming server for Linux supporting DVB-S, DVB-S2, DVB-C, DVB-T, ATSC, IPTV, and Analog video (V4L) as input sources. It also comes with a powerful and easy to use web interface both used for configuration and day-to-day operations, such as searching the EPG and scheduling recordings. Even so, the most notable feature of Tvheadend is how easy it is to set up: Install it, navigate to the web user interface, drill into the TV adapters tab, select your current location and Tvheadend will start scanning channels and present them to you in just a few minutes. If installing as an Addon a reboot is needed
I tried with both parameters in extension point start="[login|startup]" and this doesn't change anything about starting service addon after install.
Would it be possible to add two additional parameters in extension point to enable startup of service addon at install and to restart service addon at upgrade.