So, the above aroused my curiosity and I tried it... with youtube (plugin.video.youtube). According to the instructions on kodi's wiki,
- I made the service.autoexec folder and inside it
- I made the autoexec.xml file exactly as described on the wiki
- I made the autoexec.py file like so
import xbmc
xbmc.executebuiltin('RunAddon(plugin.video.youtube)')
Proof of the above
letest:~/.kodi/addons # ls service.autoexec/
autoexec.py autoexec.xml
But I failed at step 1.4 which says about enabling the autoexec addon because there is no autoexec addon listed in there!
I also tried enabling it with
kodi-send --action="EnableAddon(service.autoexec)"
If it helps, running
kodi-send --action="RunAddon(plugin.video.youtube)"
does spawn youtube. There is nothing related to autoexec in the log.
---edit
I need a new pair of glasses
The right file name for the xml is addon.xml not autoexec.xml!
I renamed it and now it works as it should.