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="Deda" data-source="post: 944715" data-attributes="member: 89768"><p>Problem is in enumeration of MP window id's. Because new GUI settings introduced new window names for better understanding (old names was not so clear), but not to break old naming system for 1.3.0 (in 1.4.0 old names will be removed) now exists few same window id's with different names (old one is marked in code as depreciated) which in this plugin causing exception because it takes one by one window id and as id is some kind of index it must be unique and we end on exception of already existing id.</p><p> </p><p>So to skip those duplicates we must skip old windows in MPwindow enumeration with</p><p>case (int)GUIWindow.Window.WINDOW_SETTINGS_SCREEN:</p><p>case (int)GUIWindow.Window.WINDOW_SETTINGS_SLIDESHOW:</p><p>case (int)GUIWindow.Window.WINDOW_SETTINGS_GUI:</p><p>case (int)GUIWindow.Window.WINDOW_SETTINGS_SKIN:</p><p>case (int)GUIWindow.Window.WINDOW_SETTINGS_SKIPSTEPS:</p><p>continue;</p><p> </p><p> </p><p><span style="font-family: 'arial'">@[USER=24295]rsenden[/USER] needs to take care of this in code and all will be ok after (but it should be compiled specially for 1.3.0B against it's dlls).</span></p></blockquote><p></p>
[QUOTE="Deda, post: 944715, member: 89768"] Problem is in enumeration of MP window id's. Because new GUI settings introduced new window names for better understanding (old names was not so clear), but not to break old naming system for 1.3.0 (in 1.4.0 old names will be removed) now exists few same window id's with different names (old one is marked in code as depreciated) which in this plugin causing exception because it takes one by one window id and as id is some kind of index it must be unique and we end on exception of already existing id. So to skip those duplicates we must skip old windows in MPwindow enumeration with case (int)GUIWindow.Window.WINDOW_SETTINGS_SCREEN: case (int)GUIWindow.Window.WINDOW_SETTINGS_SLIDESHOW: case (int)GUIWindow.Window.WINDOW_SETTINGS_GUI: case (int)GUIWindow.Window.WINDOW_SETTINGS_SKIN: case (int)GUIWindow.Window.WINDOW_SETTINGS_SKIPSTEPS: continue; [FONT=arial]@[USER=24295]rsenden[/USER] needs to take care of this in code and all will be ok after (but it should be compiled specially for 1.3.0B against it's dlls).[/FONT] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Generic Keyboard/Remote Input Plugin
Contact us
RSS
Top
Bottom