diff options
| author | BaronGreenback <jimcartlidge@yahoo.co.uk> | 2020-09-19 16:44:35 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-19 16:44:35 +0100 |
| commit | bbf196c7bd1f7a32d5410e790b8d8752d34cd339 (patch) | |
| tree | c9e1dff7a767c4c119e81159c9a047f57211517b /Jellyfin.Api/Helpers/TranscodingJobHelper.cs | |
| parent | 4c6b60d69db57abf0c669a3ec918443d017fd0e5 (diff) | |
Update TranscodingJobHelper.cs
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 |
