Hiding the "Paused" OSD after a set amount of time. [Answered] - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12) +--- Thread: Hiding the "Paused" OSD after a set amount of time. [Answered] (/showthread.php?tid=176452) |
Hiding the "Paused" OSD after a set amount of time. [Answered] - MacGyver - 2013-10-24 I would like to have the Paused OSD (DialogSeekBar.xml) fade away after say 15 seconds, leaving only the video on the screen while paused. I have tried various conditions, delays, animations and nothing works correctly. The "Now Playing" overlay in the music visualization window works this way already, but I can't figure out how it is doing it. I assume it must be directed by XBMC and not just the skin? Sometimes I use pause to get up and do things, or to see how much is left, but sometimes I just want to examine something on the screen for a few seconds. Having the useful info fade away after a few seconds is the only way to have the best of both scenarios. Any ideas? RE: Hiding the "Paused" OSD after a set amount of time. - Sranshaft - 2013-10-25 You could try using this: Code: <animation type="Conditional" condition="System.IdleTime(5) + !Player.Caching" reversible="true"> The System.IdleTime(x) will kick in after x amount of seconds if there hasn't been any user interaction; ie. pressing a button on the remote, keyboard, etc. It's what I use on Immersive for doing exactly what you want. RE: Hiding the "Paused" OSD after a set amount of time. - MacGyver - 2013-10-25 Wow, Sranshaft. That worked perfectly, where did you find that? It's not used in any of the skins I have installed? Anyway, thanks again! RE: Hiding the "Paused" OSD after a set amount of time. [Answered] - Sranshaft - 2013-10-25 I originally needed a way to trigger my tile flip animation and started to browse through the wiki until I found something that might work with what I needed; ie. knowing if the user had interacted with XBMC. Adapted it from there to do other things - fade the DialogSeekbar.xml being one of those. Anyway, happy to help! RE: Hiding the "Paused" OSD after a set amount of time. [Answered] - serverguy - 2014-02-10 <animation type="Conditional" condition="System.IdleTime(5) + !Player.Caching" reversible="true"> <effect type="fade" start="100" end="0" time="400" /> </animation> Where does this go? What file? What is the path? RE: Hiding the "Paused" OSD after a set amount of time. [Answered] - sparky3387 - 2019-08-18 (2014-02-10, 08:28)serverguy Wrote: <animation type="Conditional" condition="System.IdleTime(5) + !Player.Caching" reversible="true"> I know this thread is old, but im posting the solution that worked for me I had to edit several files to hide the paused osd, I wanted it to auto-hide after playing resumed as well. I added this line in several places in Estuary:
In Custom_1109_TopBarOverlay.xml after this line (10):
In VideoOSD.xml after this line (24):
In DialogSeekBar.xml after this line (11):
|