mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-09 15:20:34 +02:00
update mac project
This commit is contained in:
parent
1ce693ab4e
commit
cc54e0b710
|
@ -6,7 +6,6 @@ using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
using MediaBrowser.Controller.Power;
|
|
||||||
using MediaBrowser.Server.Implementations.Persistence;
|
using MediaBrowser.Server.Implementations.Persistence;
|
||||||
using MediaBrowser.Server.Startup.Common.FFMpeg;
|
using MediaBrowser.Server.Startup.Common.FFMpeg;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
|
@ -200,11 +199,6 @@ namespace MediaBrowser.Server.Mac
|
||||||
return new NetworkManager(logger);
|
return new NetworkManager(logger);
|
||||||
}
|
}
|
||||||
|
|
||||||
public IPowerManagement GetPowerManagement()
|
|
||||||
{
|
|
||||||
return new NullPowerManagement ();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void EnableLoopback(string appName)
|
public void EnableLoopback(string appName)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -274,13 +268,5 @@ namespace MediaBrowser.Server.Mac
|
||||||
public string sysname = string.Empty;
|
public string sysname = string.Empty;
|
||||||
public string machine = string.Empty;
|
public string machine = string.Empty;
|
||||||
}
|
}
|
||||||
|
|
||||||
private class NullPowerManagement : IPowerManagement
|
|
||||||
{
|
|
||||||
public void ScheduleWake(DateTime utcTime)
|
|
||||||
{
|
|
||||||
throw new NotImplementedException ();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue