aboutsummaryrefslogtreecommitdiff
path: root/src/Emby.Server/CoreAppHost.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2017-02-24 15:21:11 -0500
committerGitHub <noreply@github.com>2017-02-24 15:21:11 -0500
commitcd6b7f3bdc5bcbc6c68131cc40b71b68ac1b73a6 (patch)
tree48b8f6d94e3f762a486aa1c4fa6937cf23c18dee /src/Emby.Server/CoreAppHost.cs
parentc07e774ca9c0f234ec6899e17fc70301d1990290 (diff)
parent66a844e6399f1d79be8e10ea098ba6768e0d123b (diff)
Merge pull request #2489 from MediaBrowser/beta
Beta
Diffstat (limited to 'src/Emby.Server/CoreAppHost.cs')
-rw-r--r--src/Emby.Server/CoreAppHost.cs76
1 files changed, 0 insertions, 76 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;
- }
- }
}
}