Hi, just received a Vero 4k (to replace an Nvidia Shield running SPMC).
I’m trying to get video to stop when pressing back on the remote, rather than stop.
I hav placed this in a remote.xml file in the keymap folder, what am i doing wrong?
<FullscreenVideo>
<remote>
<back>stop</back>
</remote>
<keyboard>
<backspace>stop</backspace>
<escape>stop</escape>
</FullscreenVideo>
</keymap>
I edited your post for you and added the pre-format tag to make the post readable.
You are missing the
<keymap>
opening tag. Check if it’s actually missing, or if you just didn’t get it in your copy.
You also have an opening
<keyboard>
tag without a closing tag.
hi, i had the keymap but was missing from the copy and the paste.
corrected the /keyboard part.
Still no joy though. Any ideas?
Did you restart Kodi after making the changes?
I’m using a harmony remote, does that make any difference?
It looks OK to me, but I haven’t tried this myself. I’ve got to go out and mow the lawn right now. I’ll try to get this working when I’m done with the lawn.
I assume you are using the OSMC remote?
Thank you, using a harmony remote with the Vero profile.
OK, lawn is mowed (The chickens helped by following me so they could get all the tasty bugs the mower stirs up)
Using the OSMC remote this remote.xml works like you want:
osmc@ood:~/.kodi/userdata/keymaps$ cat remote.xml
<keymap>
<FullscreenVideo>
<remote>
<back>stop</back>
</remote>
<keyboard>
<backspace>stop</backspace>
<escape>stop</escape>
</keyboard>
</FullscreenVideo>
</keymap>
So it this is not working on the Harmony remote, I’d guess that what you are calling the back button isn’t really the back button.
Thanks for your help yesterday.
I added everything I could think of to the remote.xml and one of them has worked (just in case anyone else experiences the same issue)
Would you please share your working file? I could help others that may have the same question.
Thanks for your help on this
Not sure if this keeps it’s formatting, but the following remote.xml file worked.
<keymap>
<FullscreenVideo>
<remote>
<return>stop</return>
<back>stop</back>
<previous>stop</previous>
<prev>stop</prev>
<exit>stop</exit>
</remote>
<keyboard>
<backspace>stop</backspace>
<escape>stop</escape>
</keyboard>
</FullscreenVideo>
</keymap>
I edited your post, format is kept when using preformatted button </>
fixed. was trying to work out how to do it while you edited.
1 Like