Explorar o código

Update TranscodingJobHelper.cs

BaronGreenback %!s(int64=4) %!d(string=hai) anos
pai
achega
bbf196c7bd
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  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