Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Is there a way to auto-hide the control bar while watching a video?
#16
(2015-04-18, 03:01)BeesKnees Wrote: Nope. If the bottom controls come up the OSD remains. On the FTV if you hit pause then play on the remote they do not come up.

And what remote are you using, what does your debug log (wiki) tell you?
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#17
(2015-04-18, 04:22)nickr Wrote: @Bebop_Man Is that this remote? http://www.hardkernel.com/main/products/...1637537661

It is rather basic isn't it?

So how are you getting this (space) keypress?

(line 1012)
Code:
19:57:54 T:3035729920   DEBUG: OnKey: space (0xf020) pressed, action is Pause

Yes, that's the remote I have. I got SPACE from using my wireless keyboard to test the difference between SPACE and ENTER.
Reply
#18
Ahh OK. I think your problem is really that the remote doesn't have enough buttons, and you have to go through the OK and use the OSD to pause, which will leave the OSD on screen on unpause. The system assumes that if you wanted the OSD up there, you also should be in charge of dismissing it. One button press to get rid of it, or fork out for a better remote?

EDIT or what Ned says in the next post, which remaps your buttons while playing video, on in videoOSD
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#19
Make a plaintext file called anything.xml and place it in the userdata folder (wiki) under the "keymaps" folder. The File manager (wiki) is a good way to do this. The xml file should look like this:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<keymap>
  <FullscreenVideo>
    <keyboard>
      <c>OSD</c>
      <menu>OSD</menu>
      <backspace>Stop</backspace>
      <return>Play</return>
    </keyboard>
  </FullscreenVideo>
  <VideoOSD>
    <keyboard>
      <c>Back</c>
      <menu>Back</menu>
    </keyboard>
  </VideoOSD>
</keymap>
Reply
#20
Hi Ned,

I have the same problem where my remote is limited to just a few basic buttons, and the button that calls up the OSD in order to pause/play, keeps the OSD up and will not autohide it after I resume play.

I did what you suggested with the xml keymap. And it eliminated the OSD all together! I can't call it up anymore. :-(

I deleted the file and now it's back to normal.

It's a minor thing that I won't bother you about. But if there is a simple autohide command I'd love to know it. Thanks!
Reply
#21
The issue comes from the remote. In Kodi, Play/Pause is a function of the spacebar, but the OK button on the remote sends Enter.

Remapping the OK button doesn't work as we still need the Enter command. I think the solution will be to use a remote that has an actual Play/Pause button, like the Media Center remotes.

I have two of them, if I could just get them to work with the Odroid....
Reply
#22
What buttons do you have available?
Reply
#23
I have this remote: http://www.hardkernel.com/main/products/...1637537661
Image
Reply
#24
Well the back button should get rid of the OSD, that’s only one more press but still annoying.

Personally I would invest in more buttons though.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#25
Hi Ned,

This is the remote I have. The home button is the one I never use.

Image
Reply
#26
For that kind of remote, on what I assume is an Android box, you will need to use the back button as nickr suggests. Kodi does not have access to the Android "home" buttons.
Reply
#27
In my case, I'm running Ubuntu on it. I decided to side step this by going to a more complex remote. I started with my MS Media Center remote, but I couldn't get the box to respond to it at all. I then switched to this guy, a non-IR 2.4 Ghz wireless remote mini keyboard : Image

I still can't get Kodi to respond to Play / Pause or Back or Forward. All the other keys work.

Any ideas?
Reply
#28
Play is <enter>. Pause is <space>. Back and forward are <left arrow> and <right arrow>.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#29
(2015-07-10, 03:26)nickr Wrote: Play is <enter>. Pause is <space>. Back and forward are <left arrow> and <right arrow>.

I'm not sure I follow.

I can perform the functions by pressing SPACE for the play/pause, and ENTER works to bring up the OSD (as does OK), but I'm trying to make the PLAY/PAUSE button work with Kodi.
Reply
#30
I was trying to point out you don't need the multimedia play/pause key to have full functionality if you have a keyboard.

If you want to get it working, irw will tell you what key is being read. I am pretty sure that button works OOTB on openelec, but I don't have time to check now.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply

Logout Mark Read Team Forum Stats Members Help
Is there a way to auto-hide the control bar while watching a video?1