squeezesnapper;498393 Wrote:
> I tried disabling the MCE Standby Tool to see if that was somehow
> interfering with the Really Prevent System Standby plugin. The server
> went to sleep during the 6th song (around 20 minutes after it was woken
> by the Squeezebox Boom).
>
> Also, I see from the MCE Standby Tool forum that the “Ignore
> applications that prevent suspend” check must be unchecked to make the
> MCE Standby Tool respect the ThreadExecutionState. That is (and was)
> the setting that I have in MCE Standby Tool, so I don't think that is
> causing my problem.
>
> I am quite confused right now and it is frustrating that I haven't had
> much time to troubleshoot this issue of Squeezebox Server not staying
> awake. However, next week I will hopefully have some time to figure
> this out. Any tips are welcome.
Testing on my Windows 7 64bit machine, PreventStandy works, but it
wasn't always detecting when the machine had resumed from standby.
If you are willing to try to change a couple of lines in the
PreventStandby plugin, see if this solves the problem:
Edit C:\Program
Files\Squeezebox\server\Slim\Plugin\PreventStandby\Plugin.pm with
wordpad.exe. Change line 106 from:
Code:
--------------------
if ( Slim::Music::Import->stillScanning() ||
_hasResumed($currenttime) || _playersBusy() ) {
--------------------
..to:
Code:
--------------------
if ( _hasResumed($currenttime) || _playersBusy() ||
Slim::Music::Import->stillScanning() ) {
--------------------
..and change line 176 from:
Code:
--------------------
if ( $currenttime > ($lastchecktime + (INTERVAL * 2)) || $currenttime <
$lastchecktime ) {
--------------------
..to:
Code:
--------------------
if ( $currenttime > ($lastchecktime + INTERVAL + 5) || $currenttime <
$lastchecktime ) {
--------------------
On my system, PreventStandby and its calls to SetThreadExecutionState
reliably prevent the system from slipping back into S3 sleep. If you
find that your system consistently falls back into sleep even while SBS
is playing content, then I'd take a closer look at exactly what changes
the MCE Standby Tool has made to your system.
--
gharris999
------------------------------------------------------------------------
gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115
View this thread: http://forums.slimdevices.com/showthread.php?t=48521
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins