rename some missed variables and fix warnings

This commit is contained in:
dkanada
2019-11-11 02:24:05 +09:00
parent f3ca37e523
commit b1f9b03b17
7 changed files with 17 additions and 21 deletions

View File

@@ -91,9 +91,9 @@ namespace Emby.Server.Implementations.Configuration
{
var encodingConfig = this.GetConfiguration<EncodingOptions>("encoding");
((ServerApplicationPaths)ApplicationPaths).TranscodePath = string.IsNullOrEmpty(encodingConfig.TranscodingTempPath) ?
((ServerApplicationPaths)ApplicationPaths).TranscodePath = string.IsNullOrEmpty(encodingConfig.TranscodePath) ?
null :
Path.Combine(encodingConfig.TranscodingTempPath, "transcodes");
Path.Combine(encodingConfig.TranscodePath, "transcodes");
}
protected override void OnNamedConfigurationUpdated(string key, object configuration)