eventTrigger [v1.3.5 Beta] (4 Viewers)

Khurram

Portal Pro
May 12, 2008
211
5
Home Country
Pakistan Pakistan
Re: eventTrigger [v1.2.0 Beta]

No, it's the opposite of the MessagePlugin :)

MessagePlugin sends commands/actions to MP (used for remote control mostly)
eventTrigger sends actions from MediaPortal to EventGhost (or other) (used for knowing if MP is playing anything or showing what plugin)
Ah, I see. Thanks for clearing it up. Now for another question (which I hope does not sound stupid). Why would I want EventGhost to know what MP is doing?
 

Dragy

Portal Pro
April 27, 2009
778
333
32
Home Country
Netherlands Netherlands
Re: eventTrigger [v1.2.0 Beta]

I use it to turn the TV off when the PC is idle. But the PC also turns to idle state when I am watching TV or video, so I need EventGhost to know if there is video playing or not.

I actually have a HUGE EventGhost tree, it's pretty complex! :eek:
 

Khurram

Portal Pro
May 12, 2008
211
5
Home Country
Pakistan Pakistan
Re: eventTrigger [v1.2.0 Beta]

I use it to turn the TV off when the PC is idle. But the PC also turns to idle state when I am watching TV or video, so I need EventGhost to know if there is video playing or not.
Okay, I see how it can be used. I guess its not me though ;)
 

moryoav

Portal Pro
December 2, 2008
236
86
Home Country
Israel Israel
Re: eventTrigger [v1.2.0 Beta]

In the EventGhost forums they reached the same conclusion regarding a different plugin.
I'm currently working on something big for the HTPC, once I'm done I'll get back to EventTrigger to see if I can do something about this administrator rights issue.
 

vuego

Documentation Group
  • Team MediaPortal
  • August 5, 2006
    1,644
    764
    Göteborg
    Home Country
    Sweden Sweden
    Re: eventTrigger [v1.2.0 Beta]

    Is there any reason why MediaPortal Configuration needs to launch eventghost.exe? If we could let MediaPortal and EventGhost run as normal user and Configuration NOT run eventghost.exe we would be happy, right? :)

    I couldn't find the source code so I didn't have a look at it...
     

    unclesam87

    Portal Member
    May 16, 2011
    8
    0
    Re: eventTrigger [v1.2.0 Beta]

    can someone send me his eventghost configuration? i have big troubles with the configuration from mediaportal in combination with eventghost.

    in addition:
    i think its necessary to add some events to the plugin like "OSD" or like "Window ID". (the dvbviewer plugin has a broad collection of events)
    The other development has to be the complett transfer of the configuration possibilities from mediaportal to eventghost.

    I hope you understand what i mean.
     

    doug

    MP Donator
  • Premium Supporter
  • September 22, 2010
    81
    12
    Calgary
    Home Country
    Canada Canada
    Re: eventTrigger [v1.2.0 Beta]

    I use it to turn the TV off when the PC is idle. But the PC also turns to idle state when I am watching TV or video, so I need EventGhost to know if there is video playing or not.

    I actually have a HUGE EventGhost tree, it's pretty complex! :eek:

    Hi, Dragy.

    This is exactly what I am looking to do. Can you explain how you've done it or share that part of your EventGhost code? My wife or I will often blank our plasma while listening to music. However, she sometimes forgets to turn the TV off at the end of a playlist (okay, okay, it's me who forgets). So I'd like to detect when MP has stopped playing and turn off the plasma.

    I was thinking of using this plug-in to send an event to EG indicating that music has stopped and start a timer in EG. After the timer reaches, say 10 minutes, without any other MP activity then I'll execute my RS-232 command to turn off the TV.
     

    Dragy

    Portal Pro
    April 27, 2009
    778
    333
    32
    Home Country
    Netherlands Netherlands
    Re: eventTrigger [v1.2.0 Beta]

    Here is my EG config.. as I said, it's pretty complex.. (almost 100kB! :eek: )
     

    Attachments

    • EventGhost config.xml
      98.2 KB

    doug

    MP Donator
  • Premium Supporter
  • September 22, 2010
    81
    12
    Calgary
    Home Country
    Canada Canada
    Re: eventTrigger [v1.2.0 Beta]

    Here is my EG config.. as I said, it's pretty complex.. (almost 100kB! :eek: )

    Thanks. That is complex. Mine is only 25kb...for now! ;-)

    It looks like you basically trigger a macro to turn your TV off when System.Idle occurs and keep resetting System.SetIdleTime to count down again whenever you begin doing something in MP/Desktop/Opera.

    That makes a lot of sense and I'll borrow your method.

    Thanks again.

    Doug
     

    Dragy

    Portal Pro
    April 27, 2009
    778
    333
    32
    Home Country
    Netherlands Netherlands
    Re: eventTrigger [v1.2.0 Beta]

    Yeah that's exactly what I'm doing :) The only thing is that I'm not really sure what the idletimer reset does.. I have the idea that it's not really necessary or so..
    The TV goes very seldom off when it's not necessary.. Sometimes when reading the news with infoservice, when you don't use the remote for 5 minutes..

    So, basically it's working pretty good!
     

    Users who are viewing this thread

    Top Bottom