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
MPtray and focus issue
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="damaster" data-source="post: 472676" data-attributes="member: 60795"><p>I'm using MPTrayMod, and I've been debugging the source code today and found a couple of bugs right off the bat.</p><p></p><p>First off, in mptray.cs, the code tries to re-launch the mediaportal.exe process even though it is currently running after it switches focus to it. That in itself is strange. There's a return statement missing here:</p><p>[code]</p><p> Process[] processes = Process.GetProcessesByName("mediaportal");</p><p> if(processes.Length != 0)</p><p> {</p><p> SwitchFocus();</p><p> }</p><p></p><p> try</p><p> {</p><p> // Launch mediaportal.exe ...</p><p> }</p><p>[/code]</p><p></p><p>I'm not at home right now, but I'm going to test my modified version of MPTrayMod tonight and see if it solves the focus issues.</p></blockquote><p></p>
[QUOTE="damaster, post: 472676, member: 60795"] I'm using MPTrayMod, and I've been debugging the source code today and found a couple of bugs right off the bat. First off, in mptray.cs, the code tries to re-launch the mediaportal.exe process even though it is currently running after it switches focus to it. That in itself is strange. There's a return statement missing here: [code] Process[] processes = Process.GetProcessesByName("mediaportal"); if(processes.Length != 0) { SwitchFocus(); } try { // Launch mediaportal.exe ... } [/code] I'm not at home right now, but I'm going to test my modified version of MPTrayMod tonight and see if it solves the focus issues. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
MPtray and focus issue
Contact us
RSS
Top
Bottom