Browse Source

Update TranscodingJobHelper.cs

BaronGreenback 4 years ago
parent
commit
bbf196c7bd
1 changed files with 5 additions and 0 deletions
  1. 5 0
      Jellyfin.Api/Helpers/TranscodingJobHelper.cs

+ 5 - 0
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