Merge pull request #4187 from BaronGreenback/FFMPegErrorMsg

Fix for #4184 when no FFMPEG path set.
This commit is contained in:
Anthony Lavado 2020-09-23 10:05:14 -04:00 committed by GitHub
commit 25bfef58fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -504,6 +504,11 @@ namespace Jellyfin.Api.Helpers
}
}
if (string.IsNullOrEmpty(_mediaEncoder.EncoderPath))
{
throw new ArgumentException("FFMPEG path not set.");
}
var process = new Process
{
StartInfo = new ProcessStartInfo