2005-06-10, 09:22
can somebody help me out here? i would like to assign a remote button to execute a python script directly(so from the main menu)
i edited the keymap.xml file, and i know i have got the right code to execute someting when i pres the '1' on my remote. but somehow i won't execute the script directly
this is my keymap.xml entry
<window>
<description>home specific actions</description>
<id>0</id>
<action>
<description>tv gids</description>
<id>0</id>
<remote>1</remote>
<execute>xbmc.executescript('f:\\apps\\xbmc.06.07.05\\scripts\\tvgids\\tvgids.py')</execute>
</action>
......
</window>
gr,
manoah
i edited the keymap.xml file, and i know i have got the right code to execute someting when i pres the '1' on my remote. but somehow i won't execute the script directly
this is my keymap.xml entry
<window>
<description>home specific actions</description>
<id>0</id>
<action>
<description>tv gids</description>
<id>0</id>
<remote>1</remote>
<execute>xbmc.executescript('f:\\apps\\xbmc.06.07.05\\scripts\\tvgids\\tvgids.py')</execute>
</action>
......
</window>
gr,
manoah