Jump to content

PC won't wake up for recording(s)


Recommended Posts

Posted

After a switch from DVBlink to native live tv support I did setup all my recordings in Emby. All my serie recordings are scheduled as a task in the windows task scheduler for "wake up for recording".

Yesterday I noticed none of my recordings were recorded because my PC has not been woken up te start the recording.

Today I tested it with a single recording and again my pc did not wake up 3 minutes before the recording should be started. So I tested it again with a single recording and I saw there was not even a task in the windows task scheduler. So I tried with a new series recording for Hawaii Five O, that one did appear in the windows task scheduler but again my pc did not wake up for it.

When I take a look at the scheduled tasks I see the "error" 0x800702e4 behind the task.

Why is my pc not waking up for recordings and why isn't there a scheduled task for single recordings?

I have several other tasks in the windows task scheduler that should wake up my pc to do what needs to be done and that works just fine.

 

Thanks

embyserver.txt

Posted

If you google this

800702e4

You see that error code suggests that the requested operation requires elevation (admin rights).

 

However it has been our experience thus far that we've been able to wake other PC's without admin rights. So at the moment I'm not quite sure.

Posted (edited)

Does this mean I can't do anything about it myself and Emby needs to set the scheduled tasks with admin rights now?

 

And what about the single recordings not showing up as a scheduled task? Is that normal behaviour or not?

Edited by heula
Posted

I see some odd things happening when adding new series recordings.

For example I added Voetbal Inside as a series recording and that show is aired on monday and friday around 8:30 pm

 

When I take a look at the scheduled task I see only a task for Voetbal inside waking up for recording for may 4 at 20:22. Shouldn't there be a scheduled task for the show that will be aired tonight?

 

E5jNNEG.jpg

 

1tvtvx7.jpg

 

Also odd is for the series recording "Goede tijden slechte tijden" That show is aired daily around 8:00 pm and 11:00 am and the last one is a repeat from the evening before. In the settings I have set that only the shows from around 8:00 pm should be recorded. The scheduled task for that serie is set to 10:58 am today. I guess this should be somewhere before 8:00 pm or am I wrong here?

Maybe this changes automaticly after the show from around 11:00 has passed?

 

njkZLTJ.jpg

 

VPfnTmp.jpg

Posted

The PC has just woken up by the scheduled task for 10:58 am for Goede tijden slechte tijden. This should not have happened because it should not be recorded at that time. The PC did go in sleepmode without recording and the scheduled task for the Series recording "Goede tijden slechte tijden" comes with the given error and has not changed with the new time for the recording for tonight around 8:00 pm.

 

c3wZZEX.jpg

 

These are the last two log files.

 

 

embyserver.txt

embyserver-63660661651.txt

Posted

The PC has just woken up by the scheduled task for 10:58 am for Goede tijden slechte tijden. This should not have happened because it should not be recorded at that time. The PC did go in sleepmode without recording and the scheduled task for the Series recording "Goede tijden slechte tijden" comes with the given error and has not changed with the new time for the recording for tonight around 8:00 pm.

 

c3wZZEX.jpg

 

These are the last two log files.

 

You may have had a recording that was cancelled or moved. Currently this does not remove the task scheduler entry, so it will still end up waking.

Posted

You may have had a recording that was cancelled or moved. Currently this does not remove the task scheduler entry, so it will still end up waking.

No, it was a recording setting to only record at a specific time and not always. The time that this show should not be recorded was set as a scheduled task and not the time it should be recorded.

I see more weird things. I just deleted all the scheduled recordings and and rescheduled them. Some of them looks okay in the tas schedular but some have weird wake times. Those tasks contain times after when the recording should have been started.

Weird or not?

Also when I set a daily show to record daily, the scheduled task for that serie was set to may 4. It was supposed to record the first show tonight. So in my opinion it is logic that the task was set to april 30. I don’t really get how those scheduled tasks for the recordings work.

 

For now it seems a little hit and miss and can’t I rely on it to record when it should be.

 

I will post some pictures of that later today or tomorrow.

 

Thanks.

Posted

 

 

Those tasks contain times after when the recording should have been started.

How far after?

Posted

How far after?

I see now that those tasks with wrong times are the times and dates of the repeat shows and I have set in all my recordings config it should only record on a specific time and only new shows. Those recordings have a white recording icon in them and shall not be recorded but the task is set for them instead if the day and time it should record.

 

Is this like it should or not?

Posted

I'm guessing they were probably scheduled, and then you changed the series recording option which set those programs to not record anymore. As I mentioned earlier, currently the scheduled tasks don't get cleaned up so that's why they're still sitting there.

Posted

I'm guessing they were probably scheduled, and then you changed the series recording option which set those programs to not record anymore. As I mentioned earlier, currently the scheduled tasks don't get cleaned up so that's why they're still sitting there.

When I schedule the recordings I immediatly change those settings. Not later.

But should my pc wake up for the recordings it should record then or does that not work yet.

 

And if not when will this working 100%.

It looks like I need to manually set the task to the right date and time to properly work and record for now.

Posted

Well that's the thing, you immediately changed the setting, but the series recording itself had already been created, so it still happened after the fact. To create the series recording all you do is click an icon, we don't make you fill out a form, so that's why you end up having to go into the series recording settings after it's created.

 

It should wake the PC yes, and others have reported success with this. We're trying to get a new release out so I'm not going to throw in any last minutes changes, but we can try to investigate this further after the release goes out.

 

When you run Emby Server, does the windows user have admin rights?

Posted

Well that's the thing, you immediately changed the setting, but the series recording itself had already been created, so it still happened after the fact. To create the series recording all you do is click an icon, we don't make you fill out a form, so that's why you end up having to go into the series recording settings after it's created.

 

It should wake the PC yes, and others have reported success with this. We're trying to get a new release out so I'm not going to throw in any last minutes changes, but we can try to investigate this further after the release goes out.

 

When you run Emby Server, does the windows user have admin rights?

It makes no difference if I change the settings or not. The scheduled task is in both ways the same.

 

To me it doesn't make any sense how these scheduled tasks are working but that is just probably me?

When I select a show I click record series. This is how it should be, right? Than I go into the series settings and change every moment to only at........

That is all I do.

 

And yes, the account I use has admin rights and the emby server runs with admin rights.

 

Example: Temptation Island. Starts on thursday may 3 at 8:30 pm.

The task is set (withor without changing the settings) for sunday may 6 at 22:22.

To me it seems that the show on the thursday may 3 will not be recorded unless my pc is already awake. Right or not right?

 

l22LKJ2.jpg

 

e2yzbWe.jpg

 

lwAUn72.jpg

heula
Posted (edited)

A new test serie recording today for "Koffietijd".

Task was scheduled to wake up at 09:52 am and it did but the PC went almost immediately back into sleep mode and did not record anything.

 

You do not have the correct permissions for this operation 0x800702e4 (Google translation from Dutch)

 

 

- <System>
  <Provider Name="Microsoft-Windows-TaskScheduler" Guid="{DE7B24EA-73C8-4A09-985D-5BDADCFA9017}" />
  <EventID>203</EventID>
  <Version>0</Version>
  <Level>2</Level>
  <Task>203</Task>
  <Opcode>101</Opcode>
  <Keywords>0x8000000000000000</Keywords>
  <TimeCreated SystemTime="2018-05-01T07:52:00.003491300Z" />
  <EventRecordID>10805</EventRecordID>
  <Correlation ActivityID="{DAEC86D8-3F6E-448F-956B-D7BF29E9A657}" />
  <Execution ProcessID="1328" ThreadID="19848" />
  <Channel>Microsoft-Windows-TaskScheduler/Operational</Channel>
  <Computer>Home-Server</Computer>
  <Security UserID="S-1-5-18" />
  </System>
- <EventData Name="ActionLaunchFailure">
  <Data Name="TaskName">\Emby Recording Koffietijd</Data>
  <Data Name="TaskInstanceId">{DAEC86D8-3F6E-448F-956B-D7BF29E9A657}</Data>
  <Data Name="ActionName">C:\Users\Alex\AppData\Roaming\Emby-Server\System\EmbyServer.exe</Data>
  <Data Name="ResultCode">2147943140</Data>
  </EventData>
  </Event>

 

Maybe this will help?

 

Thanks.

embyserver.txt

Edited by heula
heula
Posted

Until this is fixed and working as it does with the DVBlnk software I have set two scheduled tasks that wakes the pc into a mode that it stays awake during a few hours. And another task that set back the pc into a mode that it can go into sleep mode if not in use. 

It's a workaround for now but off course I hope this will not be necessary for a long time.

This is the best option for now so all my recordings are recording and I won't get angry family members when it didn't.  :P

Posted

So the scheduled task entries are consistently getting created, just not at the right time? Is that correct?

heula
Posted (edited)

So the scheduled task entries are consistently getting created, just not at the right time? Is that correct?

That is correct. That and the task is not updated for the next show in the serie.

 

And when the task has the correct time it does wake the pc but it does not record because of this:

"You do not have the correct permissions for this operation 0x800702e4" (Google translation from Dutch)

 

Because the time to wake up is mostly set to around 8 minutes before the recording start. My pc is set to go into sleep mode after 20 minutes of inacttivity but maybe this sleep mode process goes faster when it's woken up with these tasks? Windows default?

 

When the PC is already on, the recordings are going well.

Edited by heula
heula
Posted

Just updated to 3.4.0.1 beta and rescheduled all my recordings. The new tasks are looking good now.

I will let you know if things work like I expect it to work.

 

Why is wake time 8 minutes before the recording should start? It really is 5 minutes because I have set my recordings to start 3 minutes earlier to record for each show.

 

Thanks so far.

Posted

Ok I didn't actually make any changes related to this.

 

 

 

Why is wake time 8 minutes before the recording should start? It really is 5 minutes because I have set my recordings to start 3 minutes earlier to record for each show.

 

It factors in your pre-padding and then wakes five minutes prior to that. It is really just to give you and the system a little extra time in case something happens and the recording has to be started manually.

heula
Posted

Ok I didn't actually make any changes related to this.

 

 

 

It factors in your pre-padding and then wakes five minutes prior to that. It is really just to give you and the system a little extra time in case something happens and the recording has to be started manually.

Oh okay. I saw the updates and just thougt I test it and the one serie that everytime did have odd task times was now normal.

Keep you posted anyway.

heula
Posted

Nothing has changed indeed. Pc did not wake up again for a test series recording.

 

I'll go back to dvblink software for now and when I change from PC to NAS someday I will try again and see if that works better.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...