How to Restart MP from a Hauppauge Remote (1 Viewer)

dlyons

Portal Member
October 27, 2007
12
1
Home Country
United States of America United States of America
I would like to be able to restart MP using a Hauppauge remote. This is specifically for those circumstances when the UI fails and I need to give the system a good strong kick-in-the-pants.

I created a batch file in XP that will kill the MediaPortal.exe process and then restart the application. Unfortunately, MP seems to be trapping the signals from the remote control so that they don't get through to the IR.exe application. I've tried removing the "Power" entry in the Hauppauge HCW.xml file, but that doesn't seem to have any affect.

Here's my batch file:
----------------------------------------------------------
taskkill /IM mediaportal.exe
ping localhost
start "MP" "C:\Program Files\Team MediaPortal\MediaPortal\MediaPortal.exe"
----------------------------------------------------------

Here's the line from the [Default] section of the Irremote.ini file that executes it:
----------------------------------------------------------
GRNPOWER={run(C:\PROGRA~1\TEAMME~1\MEDIAP~1\restart.bat)}
----------------------------------------------------------

Any idea on how I might be able to do this?
 

Users who are viewing this thread

Top Bottom