Skip to content

The Free Software Media System - Server Backend & API

add error handling

Luke Pulverentic27bc3de13f2
diff --git a/MediaBrowser.Server.Startup.Common/FFMpeg/FFMpegLoader.cs b/MediaBrowser.Server.Startup.Common/FFMpeg/FFMpegLoader.cs
index a4c50d0d8f..39f593310a 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)