diff options
| author | Anthony Lavado <anthony@lavado.ca> | 2020-09-23 10:05:14 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-23 10:05:14 -0400 |
| commit | 25bfef58fc8eadfcca2219721693864f8969b14a (patch) | |
| tree | fa2fdaf1324717d84728171e9c27c22849a1389d /Jellyfin.Api/Helpers/TranscodingJobHelper.cs | |
| parent | 2746e1fecc2466b41adfa60cc20ccac49e28d010 (diff) | |
| parent | bbf196c7bd1f7a32d5410e790b8d8752d34cd339 (diff) | |
Merge pull request #4187 from BaronGreenback/FFMPegErrorMsg
Fix for #4184 when no FFMPEG path set.
Diffstat (limited to 'Jellyfin.Api/Helpers/TranscodingJobHelper.cs')
| -rw-r--r-- | Jellyfin.Api/Helpers/TranscodingJobHelper.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Jellyfin.Api/Helpers/TranscodingJobHelper.cs b/Jellyfin.Api/Helpers/TranscodingJobHelper.cs index 67e450372..64d1227f7 100644 --- a/Jellyfin.Api/Helpers/TranscodingJobHelper.cs +++ b/Jellyfin.Api/Helpers/TranscodingJobHelper.cs @@ -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 |
