The time when the elements should disappear
#1
Hi, please advise.
Does anyone know where in Estuary xml is the option to set the time when what element should disappear, how long it should stay displayed?
I'm specifically looking for these two things - see the screenprint.
Which appear when the time jump in the video.
The Seeking element and the element in the middle - two times with a slash.
Each element remains displayed differently - so need to unify this...

I've been sitting on this for a day, started with logic, then trial-and-error, then www search. And nothing.
Embedding
System.IdleTime(time)
looked promising, but still nothing.

So if you have any ideas...
Thanks a lot

Image
Reply
#2
Probably DialogSeekbar.xml and look for Player.HasPerformedSeek or Player.DisplayAfterSeek depending on which version of Kodi you're using.
Reply
#3
That comes from https://github.com/xbmc/xbmc/blob/master...l#L10-L166

For seek actions it's Player.HasPerformedSeek(3) that controls this and as number implies it should be displayed for 3 seconds.

(2023-02-20, 18:46)xblek Wrote: Each element remains displayed differently - so need to unify this...
Could you explain? what is the issue? since it maybe something that needs to be fixed.
Reply
#4
I tried these two yesterday and it didn't work.
I'll try again...
Thanks
Reply
#5
(2023-02-20, 19:39)jjd-uk Wrote: Could you explain? what is the issue? since it maybe something that needs to be fixed.
Thanks for the answer.
I don't think it's a bug, it's just the way it's always been.
The Seeking +1:00 display disappears before the rest of the display - the two times in the middle and the Progress Bar.
And I wanted to unify it - make both disappear at the same time and for the life of me, after days of searching, I haven't figured out how.
But it's just my whim...
(I tried Player.HasPerformedSeek(3) yesterday with no success.)
Thanks
Reply
#6
Once you've the Player.HasPerformedSeek code you'll then want to look at any fade animation for that control or group of controls and adjust the time.
Reply
#7
Very good observation.
Indeed this would be better using unified duration.
Came up in my head 'couple of times too but then forgot about it Blush
Reply
#8
(2023-02-20, 20:41)Hitcher Wrote: Once you've the Player.HasPerformedSeek code you'll then want to look at any fade animation for that control or group of controls and adjust the time.
Thanks, but I tried to change the fade times and it affected everything but the element on the left - SEEK +1:0.
Isn't the display time of the word Seek with the step indication (1 minute etc.) some system thing that can't be affected in the xml please?
Reply
#9
Well the label is there only there while the seek is actually being performed so the whole point of Player.HasPerformedSeek is to keep the seekbar displayed longer than that otherwise it'd only be displayed for the fraction of a second the seek takes, so if you want the seekbar to completely disappear completely once seek has finished then you need to remove Player.HasPerformedSeek completely.
Reply
#10
So to be explicit

xml:
<visible>![Player.ShowInfo | Window.IsActive(fullscreeninfo) | Player.ShowTime | Window.IsActive(videoosd) | Window.IsActive(musicosd) | Window.IsActive(playerprocessinfo) | Window.IsActive(pvrosdchannels) | Window.IsActive(pvrchannelguide)] + [!String.IsEmpty(Player.SeekNumeric) | Player.Seeking | Player.HasPerformedSeek(3) | Player.Forwarding | Player.Rewinding | Player.Paused] | !String.IsEmpty(PVR.ChannelNumberInput)</visible>]<visible>![Player.ShowInfo | Window.IsActive(fullscreeninfo) | Player.ShowTime | Window.IsActive(videoosd) | Window.IsActive(musicosd) | Window.IsActive(playerprocessinfo) | Window.IsActive(pvrosdchannels) | Window.IsActive(pvrchannelguide)] + [!String.IsEmpty(Player.SeekNumeric) | Player.Seeking | Player.HasPerformedSeek(3) | Player.Forwarding | Player.Rewinding | Player.Paused] | !String.IsEmpty(PVR.ChannelNumberInput)</visible>

at https://github.com/xbmc/xbmc/blob/master...ay.xml#L11 needs to become:

xml:
<visible>![Player.ShowInfo | Window.IsActive(fullscreeninfo) | Player.ShowTime | Window.IsActive(videoosd) | Window.IsActive(musicosd) | Window.IsActive(playerprocessinfo) | Window.IsActive(pvrosdchannels) | Window.IsActive(pvrchannelguide)] + [!String.IsEmpty(Player.SeekNumeric) | Player.Seeking | Player.Forwarding | Player.Rewinding | Player.Paused] | !String.IsEmpty(PVR.ChannelNumberInput)</visible>
Reply
#11
(2023-02-20, 21:10)Atreyu Wrote: Very good observation.
Indeed this would be better using unified duration.
Came up in my head 'couple of times too but then forgot about it Blush
Interestingly, if I use the up-down arrow for the time scroll, where I have a long jump of 10 minutes, everything is ok there - the whole Progress bar with all the time data above it disappears at once.

Image
Reply
#12
Oh and you'd need to delete this line https://github.com/xbmc/xbmc/blob/master...ay.xml#L12 for instantaneous reaction.
Reply
#13
(2023-02-20, 21:19)jjd-uk Wrote: so if you want the seekbar to completely disappear completely
The display of the Seek Bar and the time in the middle above it - e.g. the 3 seconds - is fine with me.
But what bothers me is that the word on the left - Seek +1:0 - is not displayed for the same amount of time.
This word disappears very quickly and I can't set the same display time for it as the rest of the Seek bar.
Reply
#14
Note that deleting Player.HasPerformedSeek completely would mean the up/down arrow seeks don't the display seekbar as those only seem to be true for Player.HasPerformedSeek.
Reply
#15
(2023-02-20, 21:34)xblek Wrote: The display of the Seek Bar and the time in the middle above it - e.g. the 3 seconds - is fine with me.
But what bothers me is that the word on the left - Seek +1:0 - is not displayed for the same amount of time.
This word disappears very quickly and I can't set the same display time for it as the rest of the Seek bar.

Ok I'm understanding exactly what you want to do now, but that's not so easy. Will need to think on it.
Reply

Logout Mark Read Team Forum Stats Members Help
The time when the elements should disappear0