How to remove/hide all OSD while pause [SOLVED]
#1
Smile 
How to remove/hide all OSD while the playing paused?

top menu
pause icon on center of screen
bottoom info bar
Reply
#2
SOLVED

Hidding OSD while the movie playing pauses.

I left visible only the small seek bar on the bottom of screen and the movie paused / total running time on the right.
If you want, you can hide also that items in similar way in the same files.

We have to edit files under two directories:
.kodi/addons/skin.aeon.nox.5/21x9/
.kodi/addons/skin.aeon.nox.5/1080i/

>>>>>>> in file: DialogSeekBar.xml

find the label: [PlayerTitleLabelVar] and comment or delete a whole control

<!-- this is the movie title displayed on the bottom left side
<control type="label">
<top>24</top>
<width>820</width>
<height>90</height>
<font>font14_title</font>
<textoffsetx>15</textoffsetx>
<textcolor>grey2</textcolor>
<shadowcolor>shadow</shadowcolor>
<align>left</align>
<aligny>top</aligny>
<textoffsety>-2</textoffsety>
<label>$VAR[PlayerTitleLabelVar]</label>
</control>
-->


find the label: [System.Time] and comment or delete a whole control

<!-- this is the bottom center screen timing text
<control type="label">
<top>24</top>
<left>0</left>
<width>FullScreenWidth</width>
<height>90</height>
<font>font14_title</font>
<textoffsetx>15</textoffsetx>
<textcolor>grey2</textcolor>
<shadowcolor>shadow</shadowcolor>
<align>center</align>
<aligny>top</aligny>
<textoffsety>-2</textoffsety>
<label>$INFO[System.Time]$INFO[VideoPlayer.EndTime, / ]</label>
<visible>VideoPlayer.Content(LiveTV)</visible>
</control>
-->

find the image: btn_pause.png and comment or delete a whole control

<!-- this is center screen pause icon
<control type="group">
<left>867</left>
<top>447</top>
<animation type="VisibleChange" reversible="false">
<effect type="fade" start="0" end="100" time="500" />
</animation>
<animation type="WindowOpen" reversible="false">
<effect type="fade" start="0" end="100" time="500" />
</animation>
<animation type="WindowClose" reversible="false">
<effect type="fade" start="100" end="0" time="500" />
</animation>
<visible>Player.Paused + !Window.IsActive(subtitlesearch)</visible>
<control type="image">
<left>0</left>
<top>0</top>
<width>186</width>
<height>186</height>
<texture>osd/bg_play_large.png</texture>
</control>
<control type="image">
<left>0</left>
<top>0</top>
<width>186</width>
<height>186</height>
<texture>osd/btn_pause.png</texture>
</control>
</control>
-->



>>>>>>> in file: variables.xml

in section: <variable name="SeekLabelVar">
comment or delete the first 2 values

<variable name="SeekLabelVar">
<!-- this is some timing text displayed on the bottom center screen while paused
<value condition="Player.Playing + !Player.Seeking + !Player.DisplayAfterSeek | [Player.Paused + !Player.Caching] | [Player.ShowTime + !Player.Seeking]">$INFO[System.Time]$INFO[player.FinishTime, [,]]</value>
<value condition="[Player.Paused + Player.Caching] + !Player.Seeking + !Player.DisplayAfterSeek">$INFO[Player.CacheLevel,$LOCALIZE[15107] ,%]</value>
-->
<value condition="Player.Seeking">$INFO[Player.SeekStepSize]</value>
<value condition="Player.DisplayAfterSeek + ![player.forwarding | player.rewinding]">$INFO[Player.SeekOffset,$LOCALIZE[31046] ,]</value>
</variable>
Reply
#3
Thanks for this!
Reply
#4
Hi

after i found out that the dialogueseekbar.xml is resposible for the Pause OSD, i just renamed that file inside my confluence subdir to #dialogueseekbar.xml

When i now restart kodi, no errors, but the OSD is gone ...

when i hit the pause button, the movie is paused like before, but no OSD is shown anymore ...

Hope that helps others ...

there are ways to modify the file to your needs .. i just wanted to get rid of it for good Image
Reply
#5
(2015-10-10, 11:50)JANGER Wrote: How to remove/hide all OSD while the playing paused?

top menu
pause icon on center of screen
bottoom info bar

i found the solution here:

https://discourse.osmc.tv/t/howto-osmc-s...ds/9464/15

With skin Estuary you have to change one line in file 
/usr/share/kodi/addons/skin.estuary/xml/DialogSeekBar.xml
:
<visible>Player.Seeking | Player.DisplayAfterSeek + !System.IdleTime(5) | [Player.Paused + !System.IdleTime(5) + !Player.Caching] | Player.Forwarding | Player.Rewinding | Player.ShowInfo | Window.IsActive(fullscreeninfo) | Window
.IsActive(videoosd) | Window.IsActive(musicosd) | Window.IsActive(playerprocessinfo) | !IsEmpty(Player.SeekNumeric)</visible>

It's working for me!

Thanks to Jim Knopf from the link above.
Reply
#6
On windows 10 kodi build it works. But on android (nvidia shield tv) this setting in "DialogSeekBar" doesn't work. OSD instantly appear when I pause video. Can anybody help?
Reply
#7
In coreelec the values in variables.xml are not the same
Reply

Logout Mark Read Team Forum Stats Members Help
How to remove/hide all OSD while pause [SOLVED]1