INTERACT FORUM
Windows => Television => Topic started by: dorsetjon on January 13, 2014, 11:59:05 am
-
Hi,
Windows 8.1 & MC 19.103.
I want my PC to be able to sleep and "wake" when it is time to record TV. I am running the Media Server, which I believe is required for this. I have also checked that "Allow wake timers" is enabled in the power options. However, once the PC is in sleep mode it never wakes.
According to another topic (http://yabb.jriver.com/interact/index.php?topic=72318.msg489395#msg489395) the MC log file should include something like "Set wake from standby timer" when going in to sleep mode if a recording is scheduled, but that does not appear in my log. An extract of the log from before an after the sleep is included below.
Can anyone help me enable the ability to wake from sleep?
0648953: 4200: General: CMCResourceHelper::GetIsModalPopupShowing: Message box showing
0656422: 4232: Sharing Plugins: CUDPSocketReader::Accept: Canceled.
0656422: 4232: Sharing Plugins: CUDPSocketReader::Accept: Deleting socket
0656422: 4232: Sharing Plugins: CUDPSocketReader::Accept: Finish (28719 ms)
0925563: 4200: General: CMainFrame::OnPowerBroadcast: Start
0925563: 4200: General: CMainFrame::OnPowerBroadcast: Event: 18
0925563: 4200: General: CMainFrame::OnPowerBroadcast: Finish (0 ms)
0925563: 4200: General: CMainFrame::OnPowerBroadcast: Start
0925563: 4200: General: CMainFrame::OnPowerBroadcast: Resuming from standby
0925563: 4200: General: CMainFrame::OnPowerBroadcast: Clearing any pending wake timers
0925563: 4200: General: CMainFrame::OnPowerBroadcast: Updating loader
-
I tried it again this evening and it worked for me. It must be some settings. What are the power options on your system? I am using Windows 7 though. It could be a Windows 8 thing.
I want my PC to be able to sleep and "wake" when it is time to record TV. I am running the Media Server, which I believe is required for this.
You need to have Media Server or Media Center itself running.
0925563: 4200: General: CMainFrame::OnPowerBroadcast: Start
0925563: 4200: General: CMainFrame::OnPowerBroadcast: Event: 18
0925563: 4200: General: CMainFrame::OnPowerBroadcast: Finish (0 ms)
0925563: 4200: General: CMainFrame::OnPowerBroadcast: Start
0925563: 4200: General: CMainFrame::OnPowerBroadcast: Resuming from standby
0925563: 4200: General: CMainFrame::OnPowerBroadcast: Clearing any pending wake timers
0925563: 4200: General: CMainFrame::OnPowerBroadcast: Updating loader
These log lines appear to be logged when you manually wake up the computer.
-
Tell MC to run Media Server on Windows Startup. It's in the options under Startup.
http://wiki.jriver.com/index.php/Media_Server
-
I experience the same problem. Can't tell you whether it happened with an update or not. Will provide you with a log file one of the following days. Let me know if you need any other info than contained in the log.
(MC Server is running).
Best regards,
Mikkel
-
Here is the log-file (I think "previous log" is the correct file): https://www.dropbox.com/s/ih3a9udhceaw6mc/JRiver%20Log%202014-02-08%2014-24-32.zip
Procedure:
1) Scheduled a recording
2) Entered sleep-mode
3) Waited until recording was due [PC did not wake]
4) Woke the PC manually
In power Management wake calls are activated. Server and Client is running.
Best regards,
Mikkel
-
UPDATE:
Scheduled TV recording works ONLY if the computer goes to sleep by itself (not when I ask it to).
Best regards,
Mikkel
-
UPDATE:
Scheduled TV recording works ONLY if the computer goes to sleep by itself (not when I ask it to).
Best regards,
Mikkel
Thanks for the update. This likely will help.
-
According to your log, we are not receiving notification from the system that it is suspending operation. That is why it would not wake up to record, as we would not set a timer without knowing that the system is going to sleep.
Still do not know why there is a difference between manually putting the system to sleep and the system goes to sleep automatically.
-
UPDATE:
Scheduled TV recording works ONLY if the computer goes to sleep by itself (not when I ask it to).
Best regards,
Mikkel
How do you achieve getting the system to sleep (Windows menu, hardware Sleep button, etc.) and did you set the system to Sleep or to Hibernate?
-
I just pressed sleep in the Theatre View . I haven't tried pressing sleep in the windows menu. But I would suspect that
Theatre View sleep = Windows button sleep = automatic sleep mode.
I can try and enable logging, schedule a recording and let the PC go to sleep automatically. The log may tell you something. Will send it tomorrow (I hope).
Best regards,
Mikkel
-
I think I have found the problem, but not the solution yet. Stay tuned...
-
Has this been fixed?
http://yabb.jriver.com/interact/index.php?topic=82804.0 (http://yabb.jriver.com/interact/index.php?topic=82804.0)
19.0.118 (2/18/2014)
10. Fixed: MC would not wake up to do television recordings if the computer was put to sleep through Theater view's "System Sleep, Shutdown, & More..." menu.
-
That link is about something else.
-
+1 for this issue.
If I do:
Powercfg -waketimers
I do not see any of the programs I have scheduled to record listed as events to wake the system. So, it does not wake and does not record.
I think a better way (he said treading lightly) might be, to set an event to record the programs and make that wakeable.
That way it doesn't matter under what circumstances sleep is entered, the wake will trigger.
I believe this is what MS does for it's Media Center - below is the scheduled task to do it.
The TV service just sets this to the next program time, once the previous one has done it's thing.
<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.3" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
<RegistrationInfo>
<Source>Microsoft Corporation</Source>
<Date>1982-01-15T16:30:00-08:00</Date>
<Version>1.2</Version>
<URI>Microsoft\Windows\Media Center\StartRecording</URI>
</RegistrationInfo>
<Triggers />
<Principals>
<Principal id="NetworkService">
<UserId>S-1-5-20</UserId>
<RunLevel>LeastPrivilege</RunLevel>
</Principal>
</Principals>
<Settings>
<MultipleInstancesPolicy>Parallel</MultipleInstancesPolicy>
<DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries>
<StopIfGoingOnBatteries>false</StopIfGoingOnBatteries>
<AllowHardTerminate>true</AllowHardTerminate>
<StartWhenAvailable>true</StartWhenAvailable>
<RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
<IdleSettings>
<Duration>PT10M</Duration>
<WaitTimeout>PT1H</WaitTimeout>
<StopOnIdleEnd>true</StopOnIdleEnd>
<RestartOnIdle>false</RestartOnIdle>
</IdleSettings>
<AllowStartOnDemand>true</AllowStartOnDemand>
<Enabled>true</Enabled>
<Hidden>false</Hidden>
<RunOnlyIfIdle>false</RunOnlyIfIdle>
<DisallowStartOnRemoteAppSession>false</DisallowStartOnRemoteAppSession>
<UseUnifiedSchedulingEngine>true</UseUnifiedSchedulingEngine>
<WakeToRun>true</WakeToRun>
<ExecutionTimeLimit>PT72H</ExecutionTimeLimit>
<Priority>7</Priority>
</Settings>
<Actions Context="NetworkService">
<Exec>
<Command>%SystemRoot%\ehome\ehrec</Command>
<Arguments>/StartRecording</Arguments>
</Exec>
</Actions>
</Task>
My system is put to sleep via Lights-Out which is a server side program developed for Server Essentials 2012 r2 and other home server flavours.