LinuxMCE Forums

General => Users => Topic started by: klanmce on June 23, 2011, 12:18:21 AM

Title: Shutting down MD no media playing at night
Post by: klanmce on June 23, 2011, 12:18:21 AM
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?
Title: Re: Shutting down MD no media playing at night
Post by: 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
Title: Re: Shutting down MD no media playing at night
Post by: purps on June 23, 2011, 02:36:30 PM
If that is indeed the case, you could install a PIR motion sensor (if you don't have animals!).

Cheers,
Matt.
Title: Re: Shutting down MD no media playing at night
Post by: klanmce on June 23, 2011, 05:39:40 PM
OK, thanks guys
Title: Re: Shutting down MD no media playing at night
Post by: dextaslab on June 27, 2011, 10:50:26 AM
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?