mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
update ffmpeg path config
This commit is contained in:
parent
fb07b4640c
commit
39ed3696ad
@ -127,6 +127,11 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
|||||||
|
|
||||||
var appPath = GetEncodingOptions().EncoderAppPath;
|
var appPath = GetEncodingOptions().EncoderAppPath;
|
||||||
|
|
||||||
|
if (string.IsNullOrWhiteSpace(appPath))
|
||||||
|
{
|
||||||
|
appPath = Path.Combine(ConfigurationManager.ApplicationPaths.ProgramDataPath, "ffmpeg");
|
||||||
|
}
|
||||||
|
|
||||||
if (!string.IsNullOrWhiteSpace(appPath))
|
if (!string.IsNullOrWhiteSpace(appPath))
|
||||||
{
|
{
|
||||||
if (Directory.Exists(appPath))
|
if (Directory.Exists(appPath))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user