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
Standby resume problem
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="boozelclark" data-source="post: 280603" data-attributes="member: 48609"><p>I have written a plugin that makes use of the comport. for some reason when mediaportal resumes from standby the comm port connection get's closed. this is not a problem however media portal(or c#) thinks it is still open (ie port.isOpen returns true) is there any way for the plugin to tell when mediaportal has resumed from standby like the start() method for when it starts up? i've seen from the log file that media portal knows when it is resuming but is there a way for the pkugin to tell?</p><p></p><p>never mind i found the solution </p><p>void SystemEvents_PowerModeChanged(object sender, Microsoft.Win32.PowerModeChangedEventArgs e)</p><p> {}</p></blockquote><p></p>
[QUOTE="boozelclark, post: 280603, member: 48609"] I have written a plugin that makes use of the comport. for some reason when mediaportal resumes from standby the comm port connection get's closed. this is not a problem however media portal(or c#) thinks it is still open (ie port.isOpen returns true) is there any way for the plugin to tell when mediaportal has resumed from standby like the start() method for when it starts up? i've seen from the log file that media portal knows when it is resuming but is there a way for the pkugin to tell? never mind i found the solution void SystemEvents_PowerModeChanged(object sender, Microsoft.Win32.PowerModeChangedEventArgs e) {} [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
General Support
Standby resume problem
Contact us
RSS
Top
Bottom