2016-01-16, 01:35
Hi all
I want to code a small addon that executes a command (for example "reboot" or "apt-get update"). I tried to read the wiki and download the HelloWorld addon. I know Python, but I can't find how to run comands or externals scripts.sh via kodi-addon. Every tutorial I read speak about xbmc and gui classes, but I want something more simple: Just a button that invoke one hardcoded command.
Con somebody give me a clue?
(Sorry for my english, this is not my nativa languaje)
I want to code a small addon that executes a command (for example "reboot" or "apt-get update"). I tried to read the wiki and download the HelloWorld addon. I know Python, but I can't find how to run comands or externals scripts.sh via kodi-addon. Every tutorial I read speak about xbmc and gui classes, but I want something more simple: Just a button that invoke one hardcoded command.
Con somebody give me a clue?
(Sorry for my english, this is not my nativa languaje)