update ffmpeg path config

This commit is contained in:
Luke Pulverenti 2016-06-20 02:47:12 -04:00
parent fb07b4640c
commit 39ed3696ad

View File

@ -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))