diff options
| author | BaronGreenback <jimcartlidge@yahoo.co.uk> | 2020-09-24 15:15:32 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-24 15:15:32 +0100 |
| commit | 89e67b2e7faf76abaa226f6df63f837a614f6f28 (patch) | |
| tree | b112f6eeb41741896a778e9123400cffe14a56e1 /Jellyfin.Api/Helpers/TranscodingJobHelper.cs | |
| parent | 0ec3633f9e3d2d3cf78dbcc0fe7d084ac3ccbf3d (diff) | |
| parent | 226316a4863af5cac17e906cde214dabde5a6692 (diff) | |
Merge branch 'master' into NetworkPR2
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 |
