eventTrigger [v1.3.5 Beta] (2 Viewers)

C

CypherMK

Guest
Re: EventGhostTrigger - (Send events to EventGhost)

I don't understand what this plugin does? Can someone tell me in plain English?

I only use event ghost to emulate keys with my gyration remote.

Quite simple, as post #1 says, the plugin will generate events in EventGhost based on activities in MediaPortal (Music/TV/Movie/Videos - Stop/Pause/Play etc.). Part of the greatness of EventGhost is the ability to receive "events" from different sources (be it keyboard presses, remote control hits, scheduled tasks, etc) and act upon them - activating macros (or actions) based on those events. So for example you can have a macro that loads your favorite website whenever you press some key on the remote control.
So what this plugin does is basically "generate" events in MediaPortal, create events based on different activities - Music/Video/Movies play/stop/pause etc, so in EventGhost you can link these events with certain macros. For example - turn on lights in your living room when a movie is paused, amplify volume to 100% whenever music is played, etc etc. The sky is the limit with EventGhost...

If you still feel like you need further explanation, perhaps you can simply install the plugin and see what it does to EventGhost by yourself... (the attached screenshot in post #1 is also quite clear, in my honest opinion...).

:D

Still learning the possibilities of event ghost ;) But now I know what it can do!
 

moryoav

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

Post #1 updated with v1.1.0Beta.
There's quite a few issues with the new GUI in the configuration. I'm aware of them and will correct everything in the next version. Just wanted a quick version out with the request I got for payload support.
 

neorules

Portal Member
August 27, 2008
32
0
Home Country
Sweden Sweden
Re: EventGhostTrigger [v1.1.0 Beta]

the latest version crash mediaportal so it don`t want to run
and the same in config when you click on plugins
 

moryoav

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

the latest version crash mediaportal so it don`t want to run
and the same in config when you click on plugins

Thank you for the report! I just checked and it works fine for me,
1) Can you give me more details? what system are you using? what's the exact crash error message?
2) Can someone else check this version and let me know if it works for you...? Thanks!

More versions coming...
 

neorules

Portal Member
August 27, 2008
32
0
Home Country
Sweden Sweden
Re: EventGhostTrigger [v1.1.0 Beta]

when i click on plugins in config it stops and it run a nother copy of eventghost

Windows 7
Mediaportal 1.1.3.0

and the last in configuration log:

2011-04-16 19:46:54.736433 [Debug][Config Main(1)]: PluginsNew: loadPlugins C:\Program Files (x86)\Team MediaPortal\MediaPortal\Plugins\process\eventGhostTrigger.dll

and it`s no crash error message it just stops
 

rickd

Portal Pro
October 9, 2007
53
0
Re: EventGhostTrigger [v1.1.1 Beta]

Hi this looks good how does it work is it a plugin that generates events from MP that event ghost listens too or is it a plugin for eventghost?

If it is the first may I adapt it for use with Girder?

How do the events get sent?
 

Dragy

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

This is wrong:
Code:
        public bool GetHome(out string strButtonText, out string strButtonImage, out string strButtonImageFocus, out string strPictureImage)
        {
            strButtonText = strButtonImage = strButtonImageFocus = strPictureImage = null;
            return true;
        }
return true has to be false, because this is a process plugin. There went something wrong with the other plugins because of this (background pictures and a empty plugin in plugins list?)
I fixed it in my 1.2 beta build, see attachment.

Thanks for the update, the payload works perfect!
 

Attachments

  • eventGhostTrigger.zip
    6.9 KB

moryoav

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

Hi this looks good how does it work is it a plugin that generates events from MP that event ghost listens too or is it a plugin for eventghost?

If it is the first may I adapt it for use with Girder?

How do the events get sent?

It's a plugin for MediaPortal that sends events to EventGhost whenever these events occur. See source code to see how they're sent...

This is wrong:
Code:
        public bool GetHome(out string strButtonText, out string strButtonImage, out string strButtonImageFocus, out string strPictureImage)
        {
            strButtonText = strButtonImage = strButtonImageFocus = strPictureImage = null;
            return true;
        }
return true has to be false, because this is a process plugin. There went something wrong with the other plugins because of this (background pictures and a empty plugin in plugins list?)
I fixed it in my 1.2 beta build, see attachment.

Thanks for the update, the payload works perfect!

Thanks for the tip! I'll include this in the next version - very soon...!
If you have any other ideas, I'm open for suggestions...

:D
 

rickd

Portal Pro
October 9, 2007
53
0
Re: EventGhostTrigger [v1.1.1 Beta]

Thanks Not sure which file is the source as not a full time programer just a weekender ...but suffice to say girder can recieve events through a command line called from an external prgram or plugin like

"C:\Program Files\Promixis\Girder\event.exe" MyEvent
"C:\Program Files\Promixis\Girder\event.exe" MyEvent 1000 "Parameter One"
"C:\Program Files\Promixis\Girder\event.exe" MyEvent 18 -verbose
"C:\Program Files\Promixis\Girder\event.exe" MyEvent 18 one two three -verbose


so if you can point me to the source file i can checkit and then maybe able to modify it for girder as I assume eventghost will have the same style of external event generation.

Thanks Rick
 

moryoav

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

Thanks Not sure which file is the source as not a full time programer just a weekender ...but suffice to say girder can recieve events through a command line called from an external prgram or plugin like

"C:\Program Files\Promixis\Girder\event.exe" MyEvent
"C:\Program Files\Promixis\Girder\event.exe" MyEvent 1000 "Parameter One"
"C:\Program Files\Promixis\Girder\event.exe" MyEvent 18 -verbose
"C:\Program Files\Promixis\Girder\event.exe" MyEvent 18 one two three -verbose


so if you can point me to the source file i can checkit and then maybe able to modify it for girder as I assume eventghost will have the same style of external event generation.

Thanks Rick

I'll add support for Girder in my plugin in the version that'll come out either today or tomorrow.
 

Users who are viewing this thread

Top Bottom