v15 How do I run a Script from Menu - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Raspberry Pi (https://forum.kodi.tv/forumdisplay.php?fid=166) +---- Thread: v15 How do I run a Script from Menu (/showthread.php?tid=304873) |
How do I run a Script from Menu - derikj - 2017-01-24 Hey everyone, Hope someone can help me out here. I'm trying to run a script from a custom menu item on Kodi 15.2 using the Arctic: Zephyr skin. Tried these: System.Exec(/home/pi/steam.sh) RunScript(/home/pi/steam.sh) System.Exec(/home/pi/steam.py) RunScript(/home/pi/steam.py) And also: System.Exec(special://home/pi/steam.sh) RunScript(special://home/pi/steam.sh) System.Exec(special://home/pi/steam.py) RunScript(special://home/pi/steam.py) Both scripts are executable and running from terminal works fine. Running kodi as user pi, so I don't think it's a permissions issue. What am I doing wrong, or alternatively is there another way to do this? Thanks! |