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
Support
General Support
3 digits in TV Guide
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="elihunter" data-source="post: 25963" data-attributes="member: 16346"><p>I found the problem. I'm not a programmer but I tried to find it anyways. I found this section under GUITVGuide.cs and changed from this</p><p></p><p>[code] void OnKeyCode(char chKey)</p><p> {</p><p> if (chKey >= '0' && chKey <= '9') //Make sure it's only for the remote</p><p> {</p><p> TimeSpan ts = DateTime.Now - m_timeKeyPressed;</p><p> if (m_strInput.Length >= 2 || ts.TotalMilliseconds >= 800)</p><p> {</p><p> m_strInput = String.Empty;</p><p> }</p><p> m_timeKeyPressed = DateTime.Now;</p><p> if (chKey == '0' && m_strInput.Length == 0) return;</p><p> m_strInput += chKey;</p><p> if (m_strInput.Length == 2)[/code]</p><p>to this</p><p></p><p>[code] void OnKeyCode(char chKey)</p><p> {</p><p> if (chKey >= '0' && chKey <= '9') //Make sure it's only for the remote</p><p> {</p><p> TimeSpan ts = DateTime.Now - m_timeKeyPressed;</p><p> if (m_strInput.Length >= 3 || ts.TotalMilliseconds >= 800)</p><p> {</p><p> m_strInput = String.Empty;</p><p> }</p><p> m_timeKeyPressed = DateTime.Now;</p><p> if (chKey == '0' && m_strInput.Length == 0) return;</p><p> m_strInput += chKey;</p><p> if (m_strInput.Length == 3)[/code]</p><p></p><p>now I can change to a channel with 3 digts. I'll post this in the developer forum too.</p></blockquote><p></p>
[QUOTE="elihunter, post: 25963, member: 16346"] I found the problem. I'm not a programmer but I tried to find it anyways. I found this section under GUITVGuide.cs and changed from this [code] void OnKeyCode(char chKey) { if (chKey >= '0' && chKey <= '9') //Make sure it's only for the remote { TimeSpan ts = DateTime.Now - m_timeKeyPressed; if (m_strInput.Length >= 2 || ts.TotalMilliseconds >= 800) { m_strInput = String.Empty; } m_timeKeyPressed = DateTime.Now; if (chKey == '0' && m_strInput.Length == 0) return; m_strInput += chKey; if (m_strInput.Length == 2)[/code] to this [code] void OnKeyCode(char chKey) { if (chKey >= '0' && chKey <= '9') //Make sure it's only for the remote { TimeSpan ts = DateTime.Now - m_timeKeyPressed; if (m_strInput.Length >= 3 || ts.TotalMilliseconds >= 800) { m_strInput = String.Empty; } m_timeKeyPressed = DateTime.Now; if (chKey == '0' && m_strInput.Length == 0) return; m_strInput += chKey; if (m_strInput.Length == 3)[/code] now I can change to a channel with 3 digts. I'll post this in the developer forum too. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
General Support
3 digits in TV Guide
Contact us
RSS
Top
Bottom