Skip to content

The Free Software Media System - Server Backend & API

update ffmpeg path config

Luke Pulverenti39ed3696ad78
diff --git a/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs b/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs
index fc627c232a..39a2338568 100644
--- a/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs
+++ b/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs
@@ -127,6 +127,11 @@ namespace MediaBrowser.MediaEncoding.Encoder
var appPath = GetEncodingOptions().EncoderAppPath;
+ if (string.IsNullOrWhiteSpace(appPath))
+ {
+ appPath = Path.Combine(ConfigurationManager.ApplicationPaths.ProgramDataPath, "ffmpeg");
+ }
+
if (!string.IsNullOrWhiteSpace(appPath))
{
if (Directory.Exists(appPath))