home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
TvOSD.cs under TvEngine3/TVLibrary/TvPlugin
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="mattjcurry" data-source="post: 818246" data-attributes="member: 116338"><p>OK, that makes sense. Thanks for the info.</p><p></p><p>The followup question to that is that the actual progress bar looks like it gets updated using private void UpdateProgressBar():</p><p></p><p>[CODE]</p><p>GUIPropertyManager.SetProperty("#TV.View.Percentage", fPercent.ToString());[/CODE]</p><p></p><p>[CODE]GUIPropertyManager.SetProperty("#TV.View.start",</p><p> prog.StartTime.ToString("t", CultureInfo.CurrentCulture.DateTimeFormat));</p><p> GUIPropertyManager.SetProperty("#TV.View.stop",</p><p> prog.EndTime.ToString("t", CultureInfo.CurrentCulture.DateTimeFormat));</p><p> GUIPropertyManager.SetProperty("#TV.View.remaining", Utils.SecondsToHMSString(prog.EndTime - prog.StartTime));</p><p>[/CODE]</p><p></p><p>The question I have is, where is the progress bar initially rendered?</p><p>I can see that GUITVProgressControl (mediaportal\Core\guilib\GUITVProgressControl.cs) has a few different properties:</p><p></p><p>There are three percentages. I think that they represent the time of the program, the time that timeshifting is availible, and the time remaining?</p><p></p><p>When I look in PropertyManager.cs, I cannot figure out how it is associating the value with the actual control.</p><p></p><p>Thanks for any insight you can provide.</p><p></p><p>Matt C</p></blockquote><p></p>
[QUOTE="mattjcurry, post: 818246, member: 116338"] OK, that makes sense. Thanks for the info. The followup question to that is that the actual progress bar looks like it gets updated using private void UpdateProgressBar(): [CODE] GUIPropertyManager.SetProperty("#TV.View.Percentage", fPercent.ToString());[/CODE] [CODE]GUIPropertyManager.SetProperty("#TV.View.start", prog.StartTime.ToString("t", CultureInfo.CurrentCulture.DateTimeFormat)); GUIPropertyManager.SetProperty("#TV.View.stop", prog.EndTime.ToString("t", CultureInfo.CurrentCulture.DateTimeFormat)); GUIPropertyManager.SetProperty("#TV.View.remaining", Utils.SecondsToHMSString(prog.EndTime - prog.StartTime)); [/CODE] The question I have is, where is the progress bar initially rendered? I can see that GUITVProgressControl (mediaportal\Core\guilib\GUITVProgressControl.cs) has a few different properties: There are three percentages. I think that they represent the time of the program, the time that timeshifting is availible, and the time remaining? When I look in PropertyManager.cs, I cannot figure out how it is associating the value with the actual control. Thanks for any insight you can provide. Matt C [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
TvOSD.cs under TvEngine3/TVLibrary/TvPlugin
Contact us
RSS
Top
Bottom