One of the more annoying "features" (aka bugs) of Windows is its
tendency to slip back into standby two minutes after a WOL.  This, even
if "System Standby" is set to "Never" in the power scheme.  Microsoft,
in their wisdom, reports that this behavior is "by design."

Julian Neil's original PreventStandby plugin only prevents standby if
players are actively playing.  If a user WOLs a windows system and
neglects to start a player playing within two minutes, the system goes
into standby again. 

Attached is a proposed change to the PreventStandby plugin which
addresses this behavior.  The plugin now not only monitors player
status, but keeps a keep-alive counter which resets on various states:
players playing, firmware updates, library scanning, on resume, etc. 
I've added a settings page so that the user can set the allowed idle
period.

If the SC developers feel that this is a worthy change, you guys will
want to remove all my debugging statements and clean up the strings.txt
before incorporating the code.  For one thing, I never seem to be able
to write a simple English sentence after I've been writing code.  So my
content in strings.txt is pretty mangled.


+-------------------------------------------------------------------+
|Filename: PreventStandby_v2.zip                                    |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=6553|
+-------------------------------------------------------------------+

-- 
gharris999
------------------------------------------------------------------------
gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115
View this thread: http://forums.slimdevices.com/showthread.php?t=57632

_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/beta

Reply via email to