support system wake on recording schedule

This commit is contained in:
Luke Pulverenti
2016-01-21 12:29:14 -05:00
parent c71a319685
commit 06f8047ee6
10 changed files with 115 additions and 4 deletions

View File

@@ -6,6 +6,7 @@ using MediaBrowser.ServerApplication.Networking;
using System.Collections.Generic;
using System.Reflection;
using CommonIO;
using MediaBrowser.Controller.Power;
namespace MediaBrowser.ServerApplication.Native
{
@@ -117,5 +118,10 @@ namespace MediaBrowser.ServerApplication.Native
{
Standby.PreventSystemStandby();
}
public IPowerManagement GetPowerManagement()
{
return new WindowsPowerManagement();
}
}
}