No need to modify the skin or create a service add-on. Just create a file named
autoexec.py in your
userdata (wiki) directory and it will execute whatever is in its contents upon XBMC startup.
For example, if you wish to launch the TED Talks video add-on, your autoexec.py would contain the following:
Code:
import xbmc
xbmc.executebuiltin( "ActivateWindow(Videos,plugin://plugin.video.ted.talks)" )
NOTES: If you're running Linux, be sure to grant executable permission to your autoexec.py file. If you're running Windows, be sure your text editor did not surreptitiously add a ".txt" extension to your autoexec.py file.
Now, when you launch XBMC, it will display the home page briefly and then it will launch the specified add-on automatically. When you close the add-on, you'll be returned to the XBMC home page.