diff options
| author | Luke <luke.pulverenti@gmail.com> | 2016-08-23 13:35:13 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-08-23 13:35:13 -0400 |
| commit | 629902fd75e25bbd1ca4d585dff32782123063a1 (patch) | |
| tree | 550926d3000fc12ae8795b3b804a49163e861bbd /MediaBrowser.Server.Mono | |
| parent | cd5aaa364d38d91bfbe384392a39f67d7660b2e9 (diff) | |
| parent | 2e65c32ededcfe67dbfb345270b55e1f3d816edc (diff) | |
Merge pull request #2093 from MediaBrowser/dev
Dev
Diffstat (limited to 'MediaBrowser.Server.Mono')
| -rw-r--r-- | MediaBrowser.Server.Mono/Native/BaseMonoApp.cs | 29 |
1 files changed, 4 insertions, 25 deletions
diff --git a/MediaBrowser.Server.Mono/Native/BaseMonoApp.cs b/MediaBrowser.Server.Mono/Native/BaseMonoApp.cs index 4011fa3de3..faf3ba37ea 100644 --- a/MediaBrowser.Server.Mono/Native/BaseMonoApp.cs +++ b/MediaBrowser.Server.Mono/Native/BaseMonoApp.cs @@ -132,7 +132,7 @@ namespace MediaBrowser.Server.Mono.Native { get { - return Environment.OperatingSystem != Startup.Common.OperatingSystem.Osx; + return Environment.OperatingSystem != Startup.Common.OperatingSystem.Osx; } } @@ -187,7 +187,7 @@ namespace MediaBrowser.Server.Mono.Native { info.SystemArchitecture = Architecture.X64; } - else + else { info.SystemArchitecture = Architecture.X86; } @@ -273,32 +273,11 @@ namespace MediaBrowser.Server.Mono.Native break; } - info.DownloadUrls = GetDownloadUrls(environment); + // No version available - user requirement + info.DownloadUrls = new string[] { }; return info; } - - private static string[] GetDownloadUrls(NativeEnvironment environment) - { - switch (environment.OperatingSystem) - { - case OperatingSystem.Linux: - - switch (environment.SystemArchitecture) - { - case Architecture.X64: - return new[] - { - "https://github.com/MediaBrowser/Emby.Resources/raw/master/ffmpeg/linux/ffmpeg-git-20160215-64bit-static.7z" - }; - } - break; - } - - // No version available - return new string[] { }; - } - } public class NullPowerManagement : IPowerManagement |
