using keboard.xml to play a sound on a key press
#1
hi, I am completely new to editing the keybaord.xml but have a simple requirement, on a single keypress say "z" I want to play an MP3, I have done as per the wiki and in the global section I have added the following line:

<z>XBMC.PlayMedia(\\HTPC\Users\Jonathan\Videos\Pearl.mp3)

with this in the file I get "error at line 145", is there something stupid I have done wrong?
Reply
#2
you have to close the <z> tag again - so it's:

<z>XBMC.PlayMedia(\\HTPC\Users\Jonathan\Videos\Pearl.mp3)</z>

(note the </z> at the end)
Reply
#3
thanks that sorted it, althought the location was wrong i.e. slashes were round the wrong way!

<z>XBMC.PlayMedia(//HTPC/Users/Jonathan/Videos/Pearl.mp3)</z>
Reply

Logout Mark Read Team Forum Stats Members Help
using keboard.xml to play a sound on a key press0