Great program! Work in progress

If you have a question or need help, this is the place to be.

Great program! Work in progress

Postby dexter98 » Sun Dec 30, 2007 3:19 am

First of all I want to thank the author and all the contributers for their great work! I'm only using EventGhost for a few weeks, but I'm really pleased with it. It works great.

Before I was a Girder-user, but I'm way more pleased about EventGhost, especially due to the fact that writing plugins is more easy and the concept is better.

I'm currently working on a few things:
* Universal serial IR plugin (a bit of an extended version of the UIR/IrMan plugin)
(obviously for my own IR receiver)

* ZoomPlayer plugin extensions:
- Automatic detection and connection to ZoomPlayer (polling is done with a settable interval)
- Disable of timeline event messages (these can be annoying in the log)
- Delays for sending the closed/stop, pause and play events
(this is needed since ZoomPlayer sends these messages if it advances in a playlist)
(since I use these events for controlling winamp and roomlights, this is very annoying)
(however, a better method than a simple delay should be found to solve this problem)
- Modification of sent playlist events (this makes playlist-synchronization possible)
- Configuration of timeouts, delays etc
- Future features:
- Long-movie event (total time longer than a certain settable time)
(this allows automatic stop after a DVD movie is played... to circumvent those annoying menus)
- Custom events stored in a seperate 'playlist' file, which runs along with ZoomPlayer
(this allows synchronization of roomlights etc to some preshow content)
- Custom events stored in a separate 'movie/dvd definition' file
(this allows ie to bring on the lights on again on the end credits)

* MarantzControl plugin:
- Communicates with my own MarantzControl tray-icon application,
which can be used to control many Marantz receivers fitted with a serial port.
- It may be extended in the future to allow communication both through the MarantzControl
application as well as directly to the serial port.
- Current version implements: power on/off/toggle, mute on/off/toggle, volume absolute/relative, input select, surround mode select, analog/digital/auto mode select. No feedback is currently available.

* System->Sound plugin modification
- Extra 'Change sound switch' option'
This allows to set/toggle any of the available switches on all available sound devices (ie mute, digital out etc)
(this was needed to allow analog audio out on my Audigy soundcard while any AC3/DTS sound source is active)

When I have 'cleaned-up' these plugins/modifications, I'll publish them here.

I've noticed there is a SoundMixerTree control, but this one seems to be broken.
Also the SoundMixer functions seem to be somewhat incomplete, so I extended these a bit to allow me to build a tree of all the available controls on all soundcards. I think someone started to work on something similar, but didn't finish this.

The version I'm using: 0.3.6.1242
User avatar
dexter98
Plugin Developer
 
Posts: 45
Joined: Sun Dec 30, 2007 2:45 am
Location: Netherlands

Re: Great program! Work in progress

Postby Bartman » Sun Dec 30, 2007 9:21 am

some comments to the ZP plugin.
A plugin should not suppress any events itself. After the configuration phase you set the "log only assigned and active events" in bottom left corner and the log will log only events which trigger a macro.
To delay a macro execution you can use two m Macros. One which triggers an event after x seconds and one that actually does the work.
"Long-movie event" can be done with a simple script triggered by the timeline events.
Bartman
Plugin Developer
 
Posts: 881
Joined: Sun Feb 12, 2006 9:03 am

Re: Great program! Work in progress

Postby dexter98 » Tue Jan 01, 2008 10:54 pm

Bartman wrote:some comments to the ZP plugin.
A plugin should not suppress any events itself. After the configuration phase you set the "log only assigned and active events" in bottom left corner and the log will log only events which trigger a macro.

True, although even in configuration phase, these messages are quite annoying. Especially since on disc/file change a lot of messages are generated and timeline event keeps the log moving, which makes it a bit more difficult to do.


Bartman wrote:To delay a macro execution you can use two m Macros. One which triggers an event after x seconds and one that actually does the work.

Hmmm, that's true. But the behaviour is a bit more complicated: if the original play mode is restored within the configured timeout, no event is launched.
The delay is indeed doable with triggering events and enabling/disabling other events, but I think it is the plugins responsibility to generate 'correct' events (i mean: events as expected). In my version of the plugin, you can disable this delay anyway. Yet another solution is to generate 2 seperate events: one normal and one delayed.


Bartman wrote:"Long-movie event" can be done with a simple script triggered by the timeline events.

To give some background info on this event: I always assemble a (random) playlist for Zoomplayer with an external program. This creates a 'one-touch' 'show' with some pre-movie trailers and finally the main movie... just as in the cinema. Under normal operation, ZoomPlayer returns to the DVD menu after the movie. This is however not what I want.
This event is a simple mechanism that allows to stop ZoomPlayer when the main movie finishes.
There could be a better detection mechanism in the future, so long-movie event should actually be something like 'DVDMovieStart' and 'DVDMovieEnd'.
Waiting for the DVD menu is no a good way to do this, since this doesn't allow you to go into the DVD menu at all anymore.
User avatar
dexter98
Plugin Developer
 
Posts: 45
Joined: Sun Dec 30, 2007 2:45 am
Location: Netherlands


Return to General Support

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 2 guests