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
MediaPortal 1 Skins
How to adjust TV Guide displayed timeline?
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="mm1352000" data-source="post: 791647" data-attributes="member: 82144"><p>Hi Aaron</p><p></p><p>It is hard coded. The relevant code is in TvEngine3/TVLibrary/TvPlugin/TvPlugin/TvGuideBase.cs:</p><p></p><p>[CODE] case Action.ActionType.ACTION_INCREASE_TIMEBLOCK:</p><p> {</p><p> _timePerBlock += 15;</p><p> if (_timePerBlock > 60)</p><p> {</p><p> _timePerBlock = 60;</p><p> }</p><p> GUISpinControl cntlTimeInterval = GetControl((int)Controls.SPINCONTROL_TIME_INTERVAL) as GUISpinControl;</p><p> cntlTimeInterval.Value = (_timePerBlock / 15) - 1;</p><p> Update(false);</p><p> SetFocus();</p><p> }</p><p> break;[/CODE]</p><p></p><p>And possibly also:</p><p></p><p>[CODE] if (iControl == (int)Controls.SPINCONTROL_TIME_INTERVAL)</p><p> {</p><p> GUISpinControl cntlTimeInt = GetControl((int)Controls.SPINCONTROL_TIME_INTERVAL) as GUISpinControl;</p><p> int iInterval = (cntlTimeInt.Value) + 1;</p><p> if (iInterval > 4)</p><p> {</p><p> iInterval = 4;</p><p> }</p><p> _timePerBlock = iInterval * 15;</p><p> Update(false);</p><p> SetFocus();</p><p> return true;</p><p> }</p><p>[/CODE]</p><p></p><p>mm</p></blockquote><p></p>
[QUOTE="mm1352000, post: 791647, member: 82144"] Hi Aaron It is hard coded. The relevant code is in TvEngine3/TVLibrary/TvPlugin/TvPlugin/TvGuideBase.cs: [CODE] case Action.ActionType.ACTION_INCREASE_TIMEBLOCK: { _timePerBlock += 15; if (_timePerBlock > 60) { _timePerBlock = 60; } GUISpinControl cntlTimeInterval = GetControl((int)Controls.SPINCONTROL_TIME_INTERVAL) as GUISpinControl; cntlTimeInterval.Value = (_timePerBlock / 15) - 1; Update(false); SetFocus(); } break;[/CODE] And possibly also: [CODE] if (iControl == (int)Controls.SPINCONTROL_TIME_INTERVAL) { GUISpinControl cntlTimeInt = GetControl((int)Controls.SPINCONTROL_TIME_INTERVAL) as GUISpinControl; int iInterval = (cntlTimeInt.Value) + 1; if (iInterval > 4) { iInterval = 4; } _timePerBlock = iInterval * 15; Update(false); SetFocus(); return true; } [/CODE] mm [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Skins
How to adjust TV Guide displayed timeline?
Contact us
RSS
Top
Bottom