Kodi Community Forum
How to remove or hide bar when playing 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: How to remove or hide bar when playing video (/showthread.php?tid=341927)



How to remove or hide bar when playing video - jona_133 - 2019-03-12

Hello everyone,

First of all, I would like to thank all of you for the developement of this software, and for all the people who are giving life to this community.

I use Kodi in a specific way so my question may seem awkward, I use it in my company.

When you play video endlessly, at every startup of the video. It shows at the top of the screen the name of the video and at the bottom the time bar for video duration. This is shown for about 2s and disappear, this behavior was not present with the older version kodi 17.6, so I would like to know if it's possible to hide it, or should I need to go back to 17.6 ? Can someone point me out where to look for this modification?

I'm using Kodi on Raspbian Stretch. To start video endlessly, I also use the script autoexec.py

Thank you ! Smile


RE: How to remove or hide bar when playing video - DaVu - 2019-03-12

more important would be to know which skin is in use.

You need to modify the skin in a bit to not display the VideoOSD. I can take a look and see how this will work, but I need to know at least which skin you are using.


RE: How to remove or hide bar when playing video - jona_133 - 2019-03-12

Hi, thanks you for your answer ! I'm using the stock one estuary, where can I do those modifications?


RE: How to remove or hide bar when playing video - jona_133 - 2019-03-12

I don't know how to say it but thank you a lot ! You helped me find where to look at. So someone already solved what I wanted to do, here the link : 
https://discourse.osmc.tv/t/howto-osmc-skin-hiding-the-pause-osd-on-screen-display-after-amount-of-x-seconds/9464/9

So to remove the OSD what you need to do :
vi /usr/share/kodi/addons/skin.estuary/xml/DialogSeekBar.xml

You need to replace this :
 <visible>Player.Seeking | Player.DisplayAfterSeek | [Player.Paused + !Player.Caching] | Player.Forwarding | Player.Rewinding | Player.ShowInfo | Player.ShowTime | Window.IsActive(videoosd) | Window.IsActive(musicosd) |  Window.IsActive(playerprocessinfo) | !String.IsEmpty(Player.SeekNumeric) | !String.IsEmpty(PVR.ChannelNumberInput)</visible>

by :
 <visible>Player.Seeking | Player.Forwarding | Player.Rewinding | Player.ShowInfo | Player.ShowTime | Window.IsActive(videoosd) | Window.IsActive(musicosd) |  Window.IsActive(playerprocessinfo) | !String.IsEmpty(Player.SeekNumeric) | !String.IsEmpty(PVR.ChannelNumberInput)</visible>


RE: How to remove or hide bar when playing video - Klojum - 2019-03-12

(2019-03-12, 17:11)jona_133 Wrote: So to remove the OSD what you need to do :
vi .. ? Really? Laugh

I'm sure that OSMC also has the more polite 'nano' editor installed.


RE: How to remove or hide bar when playing video - jona_133 - 2019-03-12

(2019-03-12, 17:11)jona_133 Wrote: So to remove the OSD what you need to do :
vi /usr/share/kodi/addons/skin.estuary/xml/DialogSeekBar.xml

You need to replace this :
 <visible>Player.Seeking | Player.DisplayAfterSeek | [Player.Paused + !Player.Caching] | Player.Forwarding | Player.Rewinding | Player.ShowInfo | Player.ShowTime | Window.IsActive(videoosd) | Window.IsActive(musicosd) |  Window.IsActive(playerprocessinfo) | !String.IsEmpty(Player.SeekNumeric) | !String.IsEmpty(PVR.ChannelNumberInput)</visible>

by :
 <visible>Player.Seeking | Player.Forwarding | Player.Rewinding | Player.ShowInfo | Player.ShowTime | Window.IsActive(videoosd) | Window.IsActive(musicosd) |  Window.IsActive(playerprocessinfo) | !String.IsEmpty(Player.SeekNumeric) | !String.IsEmpty(PVR.ChannelNumberInput)</visible>
If you know a better way to do it, I'll take it ! Smile