diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-02-18 18:58:36 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-02-18 18:58:36 -0500 |
| commit | 00760f7d24776d101aa44302025d37df9b12b2d3 (patch) | |
| tree | 2ab8ff18de1c1c02b84d21ac81a960c176fde007 | |
| parent | f52df8d612fc376df97e14cb830e036a3f217364 (diff) | |
update .net core project
| -rw-r--r-- | src/Emby.Server/CoreAppHost.cs | 76 | ||||
| -rw-r--r-- | src/Emby.Server/Emby.Server.xproj | 1 | ||||
| -rw-r--r-- | src/Emby.Server/project.json | 3 |
3 files changed, 0 insertions, 80 deletions
diff --git a/src/Emby.Server/CoreAppHost.cs b/src/Emby.Server/CoreAppHost.cs index 09df664fa..43142b5e8 100644 --- a/src/Emby.Server/CoreAppHost.cs +++ b/src/Emby.Server/CoreAppHost.cs @@ -19,11 +19,6 @@ namespace Emby.Server { } - public override bool IsRunningAsService - { - get { return false; } - } - protected override void RestartInternal() { Program.Restart(); @@ -34,41 +29,6 @@ namespace Emby.Server Program.Shutdown(); } - protected override FFMpegInstallInfo GetFfmpegInstallInfo() - { - var info = new FFMpegInstallInfo(); - - if (EnvironmentInfo.OperatingSystem == OperatingSystem.Windows) - { - info.FFMpegFilename = "ffmpeg.exe"; - info.FFProbeFilename = "ffprobe.exe"; - info.Version = "20160410"; - info.ArchiveType = "7z"; - info.DownloadUrls = GetDownloadUrls(); - } - - return info; - } - - private string[] GetDownloadUrls() - { - switch (EnvironmentInfo.SystemArchitecture) - { - case Architecture.X64: - return new[] - { - "https://github.com/MediaBrowser/Emby.Resources/raw/master/ffmpeg/windows/ffmpeg-20160410-win64.7z" - }; - case Architecture.X86: - return new[] - { - "https://github.com/MediaBrowser/Emby.Resources/raw/master/ffmpeg/windows/ffmpeg-20160410-win32.7z" - }; - } - - return new string[] { }; - } - protected override List<Assembly> GetAssembliesWithPartsInternal() { var list = new List<Assembly>(); @@ -78,26 +38,6 @@ namespace Emby.Server return list; } - protected override void AuthorizeServer() - { - } - - protected override void ConfigureAutoRunInternal(bool autorun) - { - } - - protected override void EnableLoopbackInternal(string appName) - { - } - - public override bool SupportsRunningAsService - { - get - { - return true; - } - } - public override bool CanSelfRestart { get @@ -106,14 +46,6 @@ namespace Emby.Server } } - public override bool SupportsAutoRunAtStartup - { - get - { - return true; - } - } - public override bool CanSelfUpdate { get @@ -121,13 +53,5 @@ namespace Emby.Server return Program.CanSelfUpdate; } } - - protected override bool SupportsDualModeSockets - { - get - { - return true; - } - } } } diff --git a/src/Emby.Server/Emby.Server.xproj b/src/Emby.Server/Emby.Server.xproj index 2462c5179..78276d17d 100644 --- a/src/Emby.Server/Emby.Server.xproj +++ b/src/Emby.Server/Emby.Server.xproj @@ -34,7 +34,6 @@ <ProjectReference Include="..\..\MediaBrowser.XbmcMetadata\MediaBrowser.XbmcMetadata.csproj" /> <ProjectReference Include="..\..\OpenSubtitlesHandler\OpenSubtitlesHandler.csproj" /> <ProjectReference Include="..\..\RSSDP\RSSDP.csproj" /> - <ProjectReference Include="..\..\ServiceStack\ServiceStack.csproj" /> <ProjectReference Include="..\..\SocketHttpListener.Portable\SocketHttpListener.Portable.csproj" /> </ItemGroup> <ItemGroup> diff --git a/src/Emby.Server/project.json b/src/Emby.Server/project.json index 83c9ce876..e1ff8cbcc 100644 --- a/src/Emby.Server/project.json +++ b/src/Emby.Server/project.json @@ -113,9 +113,6 @@ "RSSDP": { "target": "project" }, - "ServiceStack": { - "target": "project" - }, "SocketHttpListener.Portable": { "target": "project" } |
