add poster dynamic images

This commit is contained in:
Luke Pulverenti
2015-04-02 17:01:42 -04:00
parent 527f4887e9
commit c9c5a93450
3 changed files with 158 additions and 17 deletions

View File

@@ -202,7 +202,14 @@ namespace MediaBrowser.Server.Startup.Common.FFMpeg
}
}
throw new ApplicationException("Unable to download required components. Please try again later.");
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}\"");
}
else
{
throw new ApplicationException("Unable to download required components. Please try again later.");
}
}
private void ExtractFFMpeg(FFMpegDownloadInfo downloadinfo, string tempFile, string targetFolder)