diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-06-29 21:11:58 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-06-29 21:11:58 -0400 |
| commit | c27bc3de13f2370fab39267e5f293a0ed4dc3d29 (patch) | |
| tree | bb561de1a2327fe99150aeb8d5f1002cd6c6dd76 | |
| parent | 2561b29cbad91782f09f2d34c4a230a7cc773797 (diff) | |
add error handling
| -rw-r--r-- | MediaBrowser.Server.Startup.Common/FFMpeg/FFMpegLoader.cs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/MediaBrowser.Server.Startup.Common/FFMpeg/FFMpegLoader.cs b/MediaBrowser.Server.Startup.Common/FFMpeg/FFMpegLoader.cs index a4c50d0d8..39f593310 100644 --- a/MediaBrowser.Server.Startup.Common/FFMpeg/FFMpegLoader.cs +++ b/MediaBrowser.Server.Startup.Common/FFMpeg/FFMpegLoader.cs @@ -203,13 +203,6 @@ namespace MediaBrowser.Server.Startup.Common.FFMpeg _logger.ErrorException("Error downloading {0}", ex, url); } } - - if (downloadinfo.DownloadUrls.Length == 0) - { - throw new ApplicationException("ffmpeg unvailable. Please install it and start the server with two command line arguments: -ffmpeg \"{PATH}\" and -ffprobe \"{PATH}\""); - } - - throw new ApplicationException("Unable to download required components. Please try again later."); } private void ExtractFFMpeg(FFMpegInstallInfo downloadinfo, string tempFile, string targetFolder) |
