INTERACT FORUM

More => Old Versions => Media Center 16 (Development Ended) => Topic started by: ksvane on July 28, 2011, 04:35:05 pm

Title: Timer in status bar updates with uneven intervals
Post by: ksvane on July 28, 2011, 04:35:05 pm
the timer, instead of updating exactly once a second it updates with uneven intervals...
for instance, instead of
00:01...00:02...00:03...00:04...00:05...00:06...00:07...00:08 it appears
00:01..00:02....00:03.....00:04..00:05.....00:06..00:07.00:08
or whatever. (The dots indicate 1/4 of a sec.)
how can I work around that?
Title: Re: Timer in status bar updates with uneven intervals
Post by: MrC on July 28, 2011, 05:20:28 pm
You can ignore it. :-)

Probably the UI gets woken up periodically to perform the update, but the OS isn't that precise with notification timers.  You're probably seeing round off error.
Title: Re: Timer in status bar updates with uneven intervals
Post by: wer on July 28, 2011, 05:47:58 pm
I wonder if if this can be related to my post here:
http://yabb.jriver.com/interact/index.php?topic=65557.0

In the situation I describe, the progress bar will go for 20 sec or more without updating, then suddenly jump...
Title: Re: Timer in status bar updates with uneven intervals
Post by: ksvane on July 29, 2011, 04:56:10 am
I happen to find it quite annoying - like when you hear a drummer who has serious trouble keeping a tight rhythm. Maybe it's because evertyhing else works so smoothly... makes those little imperfections annoying.
What is a round off error?
wer, I did read your post and actually considered posting this topic in reply to it, but not knowing whether the two were related I went on to start this topic... the progress bar's movements in my case follow the timer, therefore it's not too smooth and stutters a lot - yet I have never seen it actually stop for more than a few secs.
Title: Re: Timer in status bar updates with uneven intervals
Post by: Matt on July 29, 2011, 10:00:33 am
You're right.

16.0.143 will have this change:
Changed: Improved how the playback position display works so that it both appears smoother and uses less resources.

We've extended a system we made for DLNA and other remote zones where the position display must remain smooth while minimizing the number of network calls.  The system will now be used for local playback as well.
Title: Re: Timer in status bar updates with uneven intervals
Post by: ksvane on July 29, 2011, 10:52:27 am
wow - thanks a lot, I appreciate it. :)
Title: Re: Timer in status bar updates with uneven intervals
Post by: wer on July 29, 2011, 05:49:50 pm
That's great, Matt, thanks!

Are you talking also talking about the progress bar I was referring to in my post?  That one's off by more than just a fraction...