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 Plugins
Generic Keyboard/Remote Input Plugin
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="Mercbac" data-source="post: 377026" data-attributes="member: 48233"><p>So I started browsing the source code for this plugin and found the following bit of code:</p><p></p><p>if (_basicHome)</p><p style="margin-left: 20px">msg = new GUIMessage(GUIMessage.MessageType.GUI_MSG_GOTO_WINDOW, 0, 0, 0, (int)GUIWindow.Window.WINDOW_SECOND_HOME, 0, null);</p><p>else</p><p style="margin-left: 20px">msg = new GUIMessage(GUIMessage.MessageType.GUI_MSG_GOTO_WINDOW, 0, 0, 0, (int)GUIWindow.Window.WINDOW_HOME, 0, null);</p><p></p><p></p><p>The boolean variable _basicHome is explicitly set to 'false' twice in the code, but is never set to either 'true', or even another variable that might have a value of 'true'. So this effectively means that the plugin won't allow jumping straight to the Basic Home screen (WINDOW_SECOND_HOME), but only to the regular Home Screen. Of course I could try to compile it with a tweak to fix this, but then I'd first have to figure out which parts of the MP code I need to download before I can compile the plugin (as the plugin is referring to parts of the MP code).</p><p></p><p>But more interesting would be to know why Basic Home is explicitly blocked from being "jumped to" with a key combination....</p><p>It looks as if there's some plan to make it possible to jump to Basic Home, but since there's no way to get the _basicHome variable set to 'true' it won't work. Unless of course I have missed something, but I did 'grep' the entire source dir and all subdirs for "_basicHome" and found no lines that could possibly set it to 'true'.</p></blockquote><p></p>
[QUOTE="Mercbac, post: 377026, member: 48233"] So I started browsing the source code for this plugin and found the following bit of code: if (_basicHome) [INDENT]msg = new GUIMessage(GUIMessage.MessageType.GUI_MSG_GOTO_WINDOW, 0, 0, 0, (int)GUIWindow.Window.WINDOW_SECOND_HOME, 0, null);[/INDENT] else [INDENT]msg = new GUIMessage(GUIMessage.MessageType.GUI_MSG_GOTO_WINDOW, 0, 0, 0, (int)GUIWindow.Window.WINDOW_HOME, 0, null);[/INDENT] The boolean variable _basicHome is explicitly set to 'false' twice in the code, but is never set to either 'true', or even another variable that might have a value of 'true'. So this effectively means that the plugin won't allow jumping straight to the Basic Home screen (WINDOW_SECOND_HOME), but only to the regular Home Screen. Of course I could try to compile it with a tweak to fix this, but then I'd first have to figure out which parts of the MP code I need to download before I can compile the plugin (as the plugin is referring to parts of the MP code). But more interesting would be to know why Basic Home is explicitly blocked from being "jumped to" with a key combination.... It looks as if there's some plan to make it possible to jump to Basic Home, but since there's no way to get the _basicHome variable set to 'true' it won't work. Unless of course I have missed something, but I did 'grep' the entire source dir and all subdirs for "_basicHome" and found no lines that could possibly set it to 'true'. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Generic Keyboard/Remote Input Plugin
Contact us
RSS
Top
Bottom