Update MediaBrowser.Common/Configuration/EncodingConfigurationExtensions.cs

Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
pull/1991/head
Bond-009 5 years ago committed by GitHub
parent d4b438791f
commit e808e8b2d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -23,6 +23,6 @@ namespace MediaBrowser.Common.Configuration
/// <returns>The transcoding temp path.</returns>
public static string GetTranscodePath(this IConfigurationManager configurationManager)
=> configurationManager.GetEncodingOptions().TranscodingTempPath
?? Path.Combine(configurationManager.CommonApplicationPaths.ProgramDataPath, "transcoding-temp");
?? Path.Combine(configurationManager.CommonApplicationPaths.ProgramDataPath, "transcodes");
}
}

Loading…
Cancel
Save