Thanks Hans, Played with nvram/wakeup last year and i do see the advantages when integrated in freevo ;-)
Gonna play with it tonight ! /Robert Monday, June 14, 2004, 8:58:25 AM, Hans wrote: > Hi! > (I don't know why I always have problems with this list; this is my third try > to get this mail through..) As promised, I hereby send a patch which tries to > integrate nvram-wakeup into Freevo. This patch is not yet well-tested, and > one problem I already stumbled over is that it is still possible to shutdown > the computer too short before a recording, so that the wakeup-time lies in > the past and no recording happens. I thought that the user should be warned > about this (some customizable warning is already contained in the patch) but > should not be forbidden to do so. For recordings at night for example, the > attached patch should work. > Some other thoughts on this patch: > - nvram-wakeup is only called if the whole system is shutdown via Freevo's > main menu. Maybe this should be done on Freevo shutdown, too? (For people > using an external shutdown) > - If CONFIRM_SHUTDOWN is set, there is a dialog box anyways, so this is > padded with some additional information in case of a scheduled recording. > Also, the WARN_SHUTDOWN option has no effect in this case. (Ideally, I > would like an AlertBox for confirmation if WARN_SHUTDOWN is set and the > user should be warned, regardless of CONFIRM_SHUTDOWN.) > - Maybe some of the functionality should go into the recordserver itself? > (Until now, recordserver.py was the only place using TV_RECORD_PADDING) > - It would be nice if Freevo would shutdown again after recording. For this, > one would need to check that noone is using it, so I thought maybe a > screensaver-like plugin for the main menu would be cool. For instance, > after ten minutes without user events, a big nice analog clock appears, > and if this plugin maintains a flag whether Freevo has been used at all yet, > this could be used for automatic shutdown after recording. Comments? > Also, I am not sure that I put all code at the right places, but I am willing > to correct everything if you tell me your opinions (/problems you see). Ah, > and I did not (yet) increase the config file version, because I was not sure > about the policy behind that (the options all have sane defaults), whether > it's for important options or also for the announcement of new features (or > only for releases)? > Ciao, / / .o. > /--/ ..o > / / ANS ooo ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel