Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

MCE IR Vista Plugin Update

If you have a question or need help, this is the place to be.
Post Reply
abuttino
Experienced User
Posts: 144
Joined: Sun Jun 02, 2013 4:01 am

MCE IR Vista Plugin Update

Post by abuttino »

I have had countless problems where I need to close EG from the Task Manager and when EG starts back up, the pipe usually isn't available..

To thwart that, I built an event into the plugin if the service is not running or the pipe isn't available..

Copy this macro into your EG configuration and use the python file attached instead of the one found in your MCEIR_VISTA plugins folder.

Code: Select all

<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1640">
    <Macro Name="Restart MCE IR">
        <Event Name="MCE_Vista.Pipe Not Available" />
        <Event Name="MCE_Vista.IR Service Not Running" />
        <Action>
            System.Execute(u'net', u'stop AlternateMceIrService', 3, True, 2, u'', False, False)
        </Action>
        <Action>
            System.Execute(u'net', u'start AlternateMceIrService', 3, False, 2, u'', False, False)
        </Action>
    </Macro>
</EventGhost>
Figured I'd share this one..
Attachments
__init__.py
(22.83 KiB) Downloaded 151 times
User avatar
Luca Brasi
Experienced User
Posts: 262
Joined: Sat Oct 11, 2008 12:39 pm

Re: MCE IR Vista Plugin Update

Post by Luca Brasi »

You're the man abuttino! Thanks!
This one had been buggin me fore years over and over again :-)
Win10 x64 Prof. / Eventghost latest / MCE Plugin / MCE RC6 Receiver / Logitech Harmony Hub / MediaPortal / kodi
Post Reply