Kodi Community Forum
iOS custom command to run script - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116)
+---- Forum: Kodi Remote for iOS Official Forum (https://forum.kodi.tv/forumdisplay.php?fid=193)
+---- Thread: iOS custom command to run script (/showthread.php?tid=302951)



custom command to run script - [CTG] manuel - 2017-01-03

Hi all,
I used to use xbmc commander to control my system but it is no longer supported.
So i was wondering how can i use custom command on official kodi remote application to lauch my script.

Previously, xbmc commander send keyboard key define like this in keyboard.xml:

<keymap>
<global>
<keyboard>
<e>RunScript(C:\Users\ME\AppData\Roaming\Kodi\userdata\Scripts\TV_UP.py)</e>
<h>RunScript(C:\Users\ME\AppData\Roaming\Kodi\userdata\Scripts\TV_DOWN.py)</h>
</keyboard>
</global>

Thanks a lot for your help.


RE: custom command to run script - joethefox - 2017-01-03

You need to send a tv channel up or down command?


RE: custom command to run script - [CTG] manuel - 2017-01-03

No the script send a message to a PLC to show/hide the tv.


RE: custom command to run script - joethefox - 2017-01-03

Ok, I asked because you can bind any kodi command to the remote control right view but in this case isn't helpful.
I'm sorry but the remote control sends only Json commands and not keyboard keys, so your goal can't be achieved.