Hi all,

> On Wed 28.01.2004 at 12:53:23PM +0100, Pferdekaemper, Thorsten wrote:
> > Hi,
> > I have had a look at your coding and I have tried something similar. On
> my system, the line
> >     r = self.lircd_sock.recv(64)
> > blocks until I press a key on my remote. It seems that the line
> >     self.lircd_sock.setblocking(0)
> > has no effect. Perhaps this depends on the version of LIRC and the
> > driver you are using.
> 
> I don't think it depends on Lirc; it should be a system feature. I have
> no idea why it doesn't work for you, though :(

I have checked it again and now I know that in fact, it does not block. Sorry... It 
seems that I am not familiar enough with the exception handling...

> > And another question so far...: How do you make sure that the system
> > does not shut down while watching TV? I assume that this has something
> > to with the function set_tv_video()...
> 
> My idea was that if you watch TV, you have been using the remote control
> to access the menu that starts the TV. And if you use the remote
> control, the auto-off is disabled until nukkumaatti receives a SIGHUP.
> This also allows to discriminate an automatic wake-up (for scheduled
> recordings) which require an automatic shutdown once the show is
> recorded, from a manual wake-up (where the user will use the remote
> control at some time, hopefully). It also allows the machine not to
> shutdown if the user starts to use it after an automatic wake-up.

Ok. I was not aware of the fact, that nukkumaatti never will shut down if the user 
pressed a button. It only shuts down if the user never pressed a button.

> But as you can notice, the feature to shutdown if the users gets asleep
> in front of the TV is not implemented. The system lacks a sensor for
> checking if the user sleeps or nor :)

...but it also does not shut down if you want to record something starting in about 
half an hour, but you want to go to bed immediately. I.e. you have hit a key on your 
remote to schedule the recording.

I am currently trying to write a plugin which can be used instead of the base.shutdown 
plugin normally used by freevo to handle the "shutdown" command in the main menu. This 
way, I can shut down freevo in a cleaner way than just shutting down the system. I 
also want to check if the system is ready to shut down when the user chooses 
"shutdown" from the main menu.

Regards,
        Thorsten 




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to