@ -9,8 +9,6 @@ namespace Emby.Server.Implementations
/// </summary>
/// </summary>
public class ServerApplicationPaths : BaseApplicationPaths , IServerApplicationPaths
public class ServerApplicationPaths : BaseApplicationPaths , IServerApplicationPaths
{
{
private string _internalMetadataPath ;
/// <summary>
/// <summary>
/// Initializes a new instance of the <see cref="ServerApplicationPaths" /> class.
/// Initializes a new instance of the <see cref="ServerApplicationPaths" /> class.
/// </summary>
/// </summary>
@ -27,6 +25,7 @@ namespace Emby.Server.Implementations
cacheDirectoryPath ,
cacheDirectoryPath ,
webDirectoryPath )
webDirectoryPath )
{
{
InternalMetadataPath = DefaultInternalMetadataPath ;
}
}
/// <summary>
/// <summary>
@ -98,12 +97,11 @@ namespace Emby.Server.Implementations
/// <value>The user configuration directory path.</value>
/// <value>The user configuration directory path.</value>
public string UserConfigurationDirectoryPath = > Path . Combine ( ConfigurationDirectoryPath , "users" ) ;
public string UserConfigurationDirectoryPath = > Path . Combine ( ConfigurationDirectoryPath , "users" ) ;
/// <inheritdoc/>
public string DefaultInternalMetadataPath = > Path . Combine ( ProgramDataPath , "metadata" ) ;
/// <inheritdoc />
/// <inheritdoc />
public string InternalMetadataPath
public string InternalMetadataPath { get ; set ; }
{
get = > _internalMetadataPath ? ? ( _internalMetadataPath = Path . Combine ( DataPath , "metadata" ) ) ;
set = > _internalMetadataPath = value ;
}
/// <inheritdoc />
/// <inheritdoc />
public string VirtualInternalMetadataPath { get ; } = "%MetadataPath%" ;
public string VirtualInternalMetadataPath { get ; } = "%MetadataPath%" ;