v15 How do I run a Script from Menu
#1
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!
Reply

Logout Mark Read Team Forum Stats Members Help
How do I run a Script from Menu0