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

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