kkl wrote:I'm sure that sem;colon will take care of it, but it seems that your question has changed. The AUDIO information is logged as an event when there is a change, but if you're trying to get it on demand, you might try sending STS (status display) or APA (audio parameter), each of which generates several events. You might have to send twice.
Yes my question changed, as I go along using eventghost I come up with new ideas that need other programing :p.
I did not know that an event is generated when audio info changes, this will be very usefull for my needs. Currently I have it working with the other plugin, but since that crashed and needs to be restarted this road seems to be better.
I will test some more to see if I can use this in it's current state.
FYI, i want to trigger the lights to dim as soon as another audio input is detected other than PCM. This way whenever I start playing a movie the light will dim regardless if I use XBMC, Popcorn A400 or the Mede8er.
This is working now. When DTS-HD is detected the HUE lights will turn Blue and then dim, when AC3 is detected light will turn red. and than dim. When playback stops and PCM is detected lights will go on again.