News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Shutting down MD no media playing at night

Started by klanmce, June 23, 2011, 12:18:21 AM

Previous topic - Next topic

klanmce

I have created a timed event to run every night, from 8 pm to 12 midnight, it supposed to check if no one is watch any media and turn the MD off. I have added the event, Not Watching - Foyer/Entrance (as and) to the timed event criteria, as a condition along with the other conditions, date and the times, but the MD gets turned off if someone is watching media (tv,dvd,video file).

What have am I missing here?

sambuca

Adding the "PK_EventHandler" criteria, as I suspect is what you did, does not work as you want it to.

There is no way to check the status of devices (lights on/off, media playing/not playing etc) within the event criteria, so I don't think its possible to set up the event the way you want.

br,
sambuca

purps

If that is indeed the case, you could install a PIR motion sensor (if you don't have animals!).

Cheers,
Matt.
1004 RC :: looking good :: upgraded 01/04/2013
my setup :: [url="http://wiki.linuxmce.org/index.php/User:Purps"]http://wiki.linuxmce.org/index.php/User:Purps[/url]


dextaslab

Quote from: sambuca on June 23, 2011, 11:01:07 AM
Adding the "PK_EventHandler" criteria, as I suspect is what you did, does not work as you want it to.

There is no way to check the status of devices (lights on/off, media playing/not playing etc) within the event criteria, so I don't think its possible to set up the event the way you want.

br,
sambuca
I'm not sure how the timed event got there, but I have an event called "Watching - Home Theater"
PK_EventHandler Event parameter:PK_Room = Home Theater
I havent tried using it, so I'm guessing it's a lost cause? Isn't there a way to poll Xine_plugin to get filename or format etc?