Android Android Kodi script permission issue - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93) +---- Forum: Android Development (https://forum.kodi.tv/forumdisplay.php?fid=184) +---- Thread: Android Android Kodi script permission issue (/showthread.php?tid=338535) |
Android Kodi script permission issue - bkafi - 2018-12-20 Hey All I'm wondering if anyone can help me with a workaround for running a script in kodi with locked down file permissions, only rw rw is available and am unable to set x to the files located on the emulated drive due to Android FUSE drive emulation Script is located in the following directory: I havent actually made an addon, merely just created a folder the script to sit in. /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.hyperion/hyperion_on.py I'm calling it from a button in the submenu by using the following custom command: XBMC.RunScript(special://home\addons\script.hyperion\hyperion_on.py) Code: #!/usr/bin/python Code: ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- Any help, I've tried so many different ways of doing this but it all comes back to permission denied or no such file or directory if i move the script to /data/data/com.termux/files/home/scripts and set x permissions, kodi cant see the file. This is on a non rooted Xiaomi Mi Box 3 (MDZ-16-AB) running android 8.0 Oreo |