Kodi Community Forum
Is there a way to auto-hide the control bar while watching a video? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: Is there a way to auto-hide the control bar while watching a video? (/showthread.php?tid=193780)

Pages: 1 2 3 4


RE: Is there a way to auto-hide the control bar while watching a video? - nickr - 2015-04-18

(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?


RE: Is there a way to auto-hide the control bar while watching a video? - Bebop_Man - 2015-04-18

(2015-04-18, 04:22)nickr Wrote: @Bebop_Man Is that this remote? http://www.hardkernel.com/main/products/prdt_info.php?g_code=G141637537661

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.


RE: Is there a way to auto-hide the control bar while watching a video? - nickr - 2015-04-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


RE: Is there a way to auto-hide the control bar while watching a video? - Ned Scott - 2015-04-18

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>



RE: Is there a way to auto-hide the control bar while watching a video? - BubbaLovesTv - 2015-07-03

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!


RE: Is there a way to auto-hide the control bar while watching a video? - Bebop_Man - 2015-07-04

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....


RE: Is there a way to auto-hide the control bar while watching a video? - Ned Scott - 2015-07-04

What buttons do you have available?


RE: Is there a way to auto-hide the control bar while watching a video? - Bebop_Man - 2015-07-04

I have this remote: http://www.hardkernel.com/main/products/prdt_info.php?g_code=G141637537661
Image


RE: Is there a way to auto-hide the control bar while watching a video? - nickr - 2015-07-04

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.


RE: Is there a way to auto-hide the control bar while watching a video? - BubbaLovesTv - 2015-07-04

Hi Ned,

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

Image


RE: Is there a way to auto-hide the control bar while watching a video? - Ned Scott - 2015-07-04

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.


RE: Is there a way to auto-hide the control bar while watching a video? - Bebop_Man - 2015-07-10

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?


RE: Is there a way to auto-hide the control bar while watching a video? - nickr - 2015-07-10

Play is <enter>. Pause is <space>. Back and forward are <left arrow> and <right arrow>.


RE: Is there a way to auto-hide the control bar while watching a video? - Bebop_Man - 2015-07-10

(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.


RE: Is there a way to auto-hide the control bar while watching a video? - nickr - 2015-07-10

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.