MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Get Support » General Support


General Support Post problems you have when using MediaPortal, or pre installation questions in here.

Reply
 
Thread Tools Display Modes
Old 2008-07-04, 16:53   #1 (permalink)
Portal Member
 
Join Date: Mar 2007
Location: Johannesburg/Cape Town
Posts: 130
Thanks: 3
Thanked 7 Times in 4 Posts

Country:

My System

Default Standby resume problem

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)
{}

Last edited by boozelclark; 2008-07-04 at 17:49. Reason: Automerged Doublepost
boozelclark is offline   Reply With Quote
Reply

Bookmarks

Tags
resume, standby

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Resume from standby with remote pjam001 General Support 12 2008-03-25 06:10
Standby resume issue is still there idioteque MCE Replacement Plugin 3 2007-11-22 21:47
Standby and resume scripts please... thargs General Support 5 2007-08-15 15:48
Tuner does not resume after standby girgises The old Bugreport Forum 23 2006-08-04 15:00
Resume from standby 2 mrmojo666 The old Bugreport Forum 4 2006-03-10 09:57


All times are GMT +1. The time now is 08:44.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden