diff options
| author | Jim Cartlidge <jimcartlidge@yahoo.co.uk> | 2020-09-24 15:34:30 +0100 |
|---|---|---|
| committer | Jim Cartlidge <jimcartlidge@yahoo.co.uk> | 2020-09-24 15:34:30 +0100 |
| commit | 5edf24db5c0ac6c4990955e7aedf611ce08cb55f (patch) | |
| tree | d473026770c608a0088b8d447dc06ab985ce7959 /Jellyfin.Api/Helpers/TranscodingJobHelper.cs | |
| parent | 0ec3633f9e3d2d3cf78dbcc0fe7d084ac3ccbf3d (diff) | |
| parent | 226316a4863af5cac17e906cde214dabde5a6692 (diff) | |
Updated to master
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 |
