Jump to content


Photo

Wake to record?

record wake win10

  • Please log in to reply
34 replies to this topic

#21 nsmal24 OFFLINE  

nsmal24

    Advanced Member

  • Members
  • 35 posts
  • Local time: 02:37 PM

Posted 23 January 2016 - 02:39 PM

Sure enough. Worked flawlessly with elevation.

#22 nsmal24 OFFLINE  

nsmal24

    Advanced Member

  • Members
  • 35 posts
  • Local time: 02:37 PM

Posted 23 January 2016 - 05:47 PM

I'm not sure that's the problem actually.  Since Emby was already running elevated, I figured I would go ahead and reschedule some shows.  I set up a show for Tuesday night at 8pm and the wake timer showed up for 7:53 PM.  I then scheduled one for a couple of hours from now and nothing changed.  The wake timer still showed Tuesday at 8.  I'm not sure if it is supposed to show more than one at a time, but either way, it definitely was not showing the timer that will expire the soonest.

 

Also, it did schedule the Big Bang Theory for later this week or next before it was running elevated.  I think it's behaving the same as it did before.  I couldn't tell you what caused the BBT wake timer to be replaced though.



#23 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 157008 posts
  • Local time: 09:37 AM

Posted 23 January 2016 - 05:50 PM

I set it for 5 minutes prior to starting the recording, including padding. I did find other documentation about the windows api call that we're using requiring elevation, so based on that I can't really commit to spending much time on this because nobody is really going to want to run the server that way.



#24 nsmal24 OFFLINE  

nsmal24

    Advanced Member

  • Members
  • 35 posts
  • Local time: 02:37 PM

Posted 23 January 2016 - 06:03 PM

I set it for 5 minutes prior to starting the recording, including padding. I did find other documentation about the windows api call that we're using requiring elevation, so based on that I can't really commit to spending much time on this because nobody is really going to want to run the server that way.

 

No problem.  Thanks for working on it.  I'll dig up a way to keep it awake during prime time TV hours (scheduled tasks, 3rd party app, etc.).



#25 inzombyac OFFLINE  

inzombyac

    Advanced Member

  • Members
  • 147 posts
  • Local time: 08:37 AM

Posted 21 August 2016 - 09:22 PM

Ok, I think the answer might be that it requires elevation, and if that's true that pretty much kills this feature because nobody's going to want to do that.

 

In order to test, you can find the server executable and run it as admin. Then create a new recording.

 

What's the current state of recordings and wake? I tried this out the other day and did not see any wake timers. If it requires the server process to run with elevated permissions I'm ok with this.



#26 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 157008 posts
  • Local time: 09:37 AM

Posted 21 August 2016 - 09:31 PM

Due to this requirement being a little too prohibitive we disabled it and stopped working on it.

#27 inzombyac OFFLINE  

inzombyac

    Advanced Member

  • Members
  • 147 posts
  • Local time: 08:37 AM

Posted 23 August 2016 - 09:59 AM

That's unfortunate. Hopefully this will change in the future.  For now I'll need to keep WMC around in order to record.  



#28 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 157008 posts
  • Local time: 09:37 AM

Posted 23 August 2016 - 11:28 AM

Leave feedback with Microsoft that you would like these api's to be accessible without elevation.



#29 tmm1 OFFLINE  

tmm1

    Newbie

  • Members
  • 1 posts
  • Local time: 05:37 AM

Posted 24 April 2017 - 03:55 PM

I set it for 5 minutes prior to starting the recording, including padding. I did find other documentation about the windows api call that we're using requiring elevation, so based on that I can't really commit to spending much time on this because nobody is really going to want to run the server that way.

 

Do you recall where you saw that *WaitableTimer functions require elevation?

 

I cannot find anything to this effect in the Microsoft documentation. I did find, however, that you have to change "Allow Wake Timers" to "Enabled" (from the default "Important Wake Timers Only") before they work. See http://stackoverflow.../3764944/332798 and https://www.howtogeek.com/122954/how-to-prevent-your-computer-from-waking-up-accidentally/

 

wpw_17.png



#30 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 157008 posts
  • Local time: 09:37 AM

Posted 26 April 2017 - 04:15 PM

@tmm1, i can't seem to find it, but if you want to help, try downloading the binary of this app:

 

https://www.codeproj...-or-hibernation

 

and using it to schedule a wake event. See if that works. Thanks !



#31 nsmal24 OFFLINE  

nsmal24

    Advanced Member

  • Members
  • 35 posts
  • Local time: 02:37 PM

Posted 12 July 2017 - 07:16 PM

@tmm1, i can't seem to find it, but if you want to help, try downloading the binary of this app:

 

https://www.codeproj...-or-hibernation

 

and using it to schedule a wake event. See if that works. Thanks !

 

I went ahead and tested this b/c the other guy never replied.  That program wakes my server every time!  I am certain that I did not run the executable elevated.  I also ensured that Windows UAC was on the default settings (to make sure it wasn't elevating automagically).  I did run powercfg /lastwake to confirm what woke the computer.  It was a timer set by the program above.

 

I am ready to be done with WMC as my DVR so this is very exciting news!



#32 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 157008 posts
  • Local time: 09:37 AM

Posted 12 July 2017 - 09:13 PM

Thanks for the feedback, that's very good to know.



#33 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 157008 posts
  • Local time: 09:37 AM

Posted 27 February 2018 - 03:38 PM

We can look into setting wake timers, thanks.



#34 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 157008 posts
  • Local time: 09:37 AM

Posted 28 February 2018 - 05:33 PM

This will be coming to the Windows Server two releases from now:

 

5a971ff663049_Untitled.png

 

Enjoy.


  • pĆ¼nktchen likes this

#35 nsmal24 OFFLINE  

nsmal24

    Advanced Member

  • Members
  • 35 posts
  • Local time: 02:37 PM

Posted 01 March 2018 - 11:51 AM

This will be coming to the Windows Server two releases from now:

 

5a971ff663049_Untitled.png

 

Enjoy.

 

Awesome.  I look forward to giving it a try again!  Thank you.







Also tagged with one or more of these keywords: record, wake, win10

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users