SkipPrev and SkipNext not working? Can you look at my keyboard.xml to see if correct?
#1
Hi,



Windows 7 x64, stable build of Dharma. Using the Customizable Confluence skin.

Trying to get my Harmony One's Prev and Skip buttons to actually do that in XBMC. When I play video playlists, while in Full video mode (I assume that's when the video is playing, with no other menu's showing), I want to skip to the previous/ next item in the playlist.

Right now, it's stepping forward and back 30 seconds - SmallStepForward and SmallStepBack.

Have successfully added Microsoft MCE PC keyboard to the remote and all buttons are working appropriately via keyboard control, except for Skip (the button looks like >> ) and Previous (button looks like <<).

In the Harmony, they are mapped to the semicolon and period.

The period (or Prev >> button), skips ahead 30 seconds. The semicolon, nothing.

When I had the comma instead of the semicolon, it would skip back 30 seconds.

I'm trying to use a keyboard.xml located here:
C:\Users\buddy\AppData\Roaming\XBMC\userdata\keymaps\keyboard.xml

But it doesn't seem to be working. Any ideas?

[Update - on initial post, I had 2 misspellings in the keyboard.xml, which I've corrected and confirmed still not working. I've also run ShowMe, and confirmed that the semicolon is being received by the PC. Also, put it into debug mode and hit the skip and previous buttons a couple of times. Log here. ]

[Update II - I changed the global keyboard.xml in C:\Program Files (x86)\XBMC\system\keymaps. Changed all periods listed there to SkipNext. No change - still small step forward.]




Thank you!
Image
Image
Image
Reply
#2
In your xbmc.log find the line:

INFO: Loading special://xbmc/system/keymaps/keyboard.xml

and if your userdata keyboard.xml is being loaded, soon after the above line you should find:

INFO: Loading special://masterprofile/keymaps/keyboard.xml

If this doesn't appear it means the keyboard .xml is in the wrong place. If you look near the top of the log it will tell you what directory special://masterprofile/ is.

If you see two master profile keymaps being loaded don't worry about it.

INFO: Loading special://masterprofile/keymaps/keyboard.xml
INFO: Loading special://profile/keymaps/keyboard.xml

This is XBMC loading your custom keyboard.xml (it appears twice because special://masterprofile and special://profile are the same directory: this duplication is harmless). There are no errors, so the keyboard.xml is loading fine.
Image
Image
Image
Reply
#3
To Define a keymap:

<keymap>
<global>
<keyboard>
<period>SkipNext</period>
</keyboard>
</global>
</keymap>

You've (correctly) definged a global action for <period>, but the key is defined in various subsections of keyboard.xml and these override the global definition.

So, use KeymapEdit.exe from: http://xbmcmce.sourceforge.net/ to open up your .xml.
Image
Image
Image
Reply
#4
Tried opening up my keymap that I made and kept getting an error. HAHA!

So, I made a new keymap, appending a FullScreenVideo section to it.

Saved it, and carefully typed in
<period>SkipNext</period>
<comma>SkipPrevious</comma>.

Saved it and boom!!!!!! Turned out I had some sort of random white-space character saved in there.
Image
Image
Image
Reply
#5
Useful:
http://wiki.xbmc.org/index.php?title=Key...rd_Section
http://wiki.xbmc.org/index.php?title=Lis..._functions
Image
Image
Image
Reply
#6
http://wiki.xbmc.org/index.php?title=Ope...nd_Dialogs
Image
Image
Image
Reply

Logout Mark Read Team Forum Stats Members Help
SkipPrev and SkipNext not working? Can you look at my keyboard.xml to see if correct?0