mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-03 22:40:09 +00:00
update ffmpeg path config
This commit is contained in:
parent
fb07b4640c
commit
39ed3696ad
1 changed files with 5 additions and 0 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue