2014-06-08, 21:57
2014-06-09, 02:37
the screen you started playback from. so basically only mounting the stop action to the back button.
2014-06-09, 03:15
Doesn't 'stop' always go back to the screen you played from?
2014-06-09, 14:16
it does, but he requires the back button to perform the stop action (most likely because the remote doesn't have a dedicated stop button)
2014-06-09, 17:07
Ok done some more testing. I've now tried using a user keyboard.xml file on three different devices running XBMC. My Pi, a Windows laptop and a macbook air.
This is the file I've created: -
<?xml version="1.0" encoding="UTF-8"?>
<keymap>
<FullscreenVideo>
<keyboard>
<backspace>Stop</backspace>
</keyboard>
</FullscreenVideo>
</keymap>
This is a mystery to me as it works fine on the Macbook air, but not on the windows laptop or the Pi. I've also tried using <remote> instead of <keyboard>
Any ideas? I am definitely putting the file I've created in the right directory on each device.
Yes correct
This is the file I've created: -
<?xml version="1.0" encoding="UTF-8"?>
<keymap>
<FullscreenVideo>
<keyboard>
<backspace>Stop</backspace>
</keyboard>
</FullscreenVideo>
</keymap>
This is a mystery to me as it works fine on the Macbook air, but not on the windows laptop or the Pi. I've also tried using <remote> instead of <keyboard>
Any ideas? I am definitely putting the file I've created in the right directory on each device.
(2014-06-09, 02:37)da-anda Wrote: [ -> ]the screen you started playback from. so basically only mounting the stop action to the back button.
Yes correct
2014-06-10, 13:18
Colin15150 you've mentioned it doesn't work in almost all your threads but not once given a debug log as da-anda asked for. With a debug log (which only takes a few minutes to create) your issue could have been resolved long time ago. Your not helping the people that are trying to help you, and therefore not helping yourself
http://wiki.xbmc.org/index.php?title=Log_file/Easy
http://wiki.xbmc.org/index.php?title=Log_file/Easy
2014-06-10, 14:37
confirmed that it's not working on the PI. Haven't tested other platforms yet - will have a look why. A debug log would help though.
2014-06-10, 15:24
(2014-06-10, 14:37)da-anda Wrote: [ -> ]confirmed that it's not working on the PI. Haven't tested other platforms yet - will have a look why. A debug log would help though.
Thanks for the confirmation. Sorry about not doing the debug log. Will do later and post.
Cheers,
Colin
2014-06-10, 15:49
@Colin15150 - ok, looks like I've been a bit to fast with my confirmation. It's working fine for me on the PI - at least when using a real keyboard. It was not working when I used CEC (actually no idea how CEC is internally handled/mapped - would have to dig the code if required). So yes, please create a Debug Log (please enable debug logging, reboot and then perform the testcase)
2014-06-10, 16:10
(2014-06-10, 15:49)da-anda Wrote: [ -> ]@Colin15150 - ok, looks like I've been a bit to fast with my confirmation. It's working fine for me on the PI - at least when using a real keyboard. It was not working when I used CEC (actually no idea how CEC is internally handled/mapped - would have to dig the code if required). So yes, please create a Debug Log (please enable debug logging, reboot and then perform the testcase)
Thanks. Will do debug log later. I have two pis, - pi, using keyboard and remote, which won't map the back button on videos, but I have another Pi using CEC remote too, though I appreciate the latter would be even harder to map.
BTW are you using Openelec or Raspbmc?
2014-06-10, 17:27
I'm running OpenElec, but that doesn't/shouldn't matter.
This was my test keymap:
This was my test keymap:
Code:
<keymap>
<FullscreenVideo>
<keyboard>
<f3 mod="shift">ActivateWindowAndFocus(MyPVR, 34,0, 13,0)</f3> <!-- Red -->
<f4 mod="shift">AudioNextLanguage</f4> <!-- Green -->
<f5 mod="shift">NextSubtitle</f5> <!-- Yellow -->
<f6 mod="shift">AspectRatio</f6> <!-- Blue -->
<f4>3dmode</f4>
<backspace>Stop</backspace>
</keyboard>
<remote>
<red>ActivateWindowAndFocus(MyPVR, 34,0, 13,0)</red>
<green>AudioNextLanguage</green>
<yellow>NextSubtitle</yellow>
<blue>AspectRatio</blue>
<backspace>Stop</backspace>
</remote>
</FullscreenVideo>
</keymap>
2014-06-10, 18:41
Hi Guys,
Really sorry I have managed to get this to work eventually (on my Pi and Windows Laptop), by using the Keymap Editor Program add on. I was previously not using it correctly (I stupidly made the change I wanted in the "Video" section of it, instead of "Fullscreen Video").
Therefore don't need to use the debug log and use XML files etc. Sorry this thread dragged on when I could have sorted the problem ages ago.
Only thing left is that I need to map a few buttons like this on a remote using CEC (a Panasonic Viera remote). I won't be able to try it till the weekend, but will try Keymap Editor again. Will post if I have any problems.
Really sorry I have managed to get this to work eventually (on my Pi and Windows Laptop), by using the Keymap Editor Program add on. I was previously not using it correctly (I stupidly made the change I wanted in the "Video" section of it, instead of "Fullscreen Video").
Therefore don't need to use the debug log and use XML files etc. Sorry this thread dragged on when I could have sorted the problem ages ago.
Only thing left is that I need to map a few buttons like this on a remote using CEC (a Panasonic Viera remote). I won't be able to try it till the weekend, but will try Keymap Editor again. Will post if I have any problems.
2014-06-10, 23:26
could you share the final keymap so that we know what was required?
2014-06-11, 00:17
(2014-06-10, 23:26)da-anda Wrote: [ -> ]could you share the final keymap so that we know what was required?
Sorry for the inexperience here. How do I get the final keymap?!
2014-06-11, 09:10
well, the addon has to create some keymap xml file so that XBMC can use it. In case of OpenElec, browse to the IP of your PI in Windows-Explorer and go to userdata->keymaps - there you should find a XML with whatever name containing your new keymap.