MediaPortal stops MCE services, unwanted! (2 Viewers)

iosub

Portal Pro
April 26, 2006
572
30
San Sebastian
I will send you the diferences tomorrow

What I have done is..

make stopmceserices think that the services are stoped, so it does not stop them, but it kills ehtray so you can use the mceremote with mp.. Then StartmceServices will startup the ehTray ones you exit mp.. So you can start mce with the green botton of the remote..

I will send you tomorrow the diff... I have on the work computer.

Iosu
 

iosub

Portal Pro
April 26, 2006
572
30
San Sebastian
Hi.. This are the changes:
On MCE2005Remote.cs
Line 1004
foreach (Process myProcess in myProcesses)
if (myProcess.ProcessName.ToLower().Equals("ehtray"))
try
{
Log.Info("MCE: Stopping Microsoft ehtray");
//Iosub Don't Kill ehtray because I need to kill it on StopMceServices in order to reStart after exit of MP
//myProcess.Kill();
//End of changes Iosu

=====================
On Util.cs
Line 1815
// Stop MCE ehRecvr and ehSched services
//Iosu Make think StopMceServices that mce services does not exits on the computer so It does not Stop
ehRecvrExist = false;
ehSchedExist = false;
// End of Iosu change

Line 1848
//Iosu Make think StopMceServices that it has stop the services so ehtray is alwais killed, so you can use the MCERemote with MP
success = true;
//End changes of iosu

Hope this help!

Iosu
 

iosub

Portal Pro
April 26, 2006
572
30
San Sebastian
Patch For Build 14669 No Stop Mce Services

HI..

Attached are the files needed.

What you have to do is.
1.- Install SVN Build 14669 run configuration.
2.- Copy over Mediaportal Dirctory the files on myZip

Hope works for you

Iosu
 

piwikiwi

Portal Member
May 14, 2007
13
0
Eindhoven
Home Country
Netherlands Netherlands
Hi iosub,

thank you very much for your files!

I've installed them and it looks like you've fixed my problem!

I owe you a big favour, man. I'll start by donating to the MP project, now that MP does what I need it to do.

For everyone else that's reading this: if someone could include this option in the MP configuration (or with a plugin, whatever) I think that MP would be even more usable, especially for those of us who aren't ready to stop using Windows MediaCenter just yet.

Thanks a lot!:D :D :D
 

iosub

Portal Pro
April 26, 2006
572
30
San Sebastian
New Builds.. RC1(build 14889) and the last That I'm using 14972
Just copy the content of the zip over the mediaportal directorie..
 

piwikiwi

Portal Member
May 14, 2007
13
0
Eindhoven
Home Country
Netherlands Netherlands
thanks man,

your the best!

I am still happily using your first one (for 14669) but I'll try the new one.

Thanks again!
 

Users who are viewing this thread

Top Bottom