Fix property instantiation order
This commit is contained in:
parent
42a2cc1747
commit
1580bf5469
|
@ -25,11 +25,11 @@ namespace Emby.Server.Implementations
|
||||||
cacheDirectoryPath,
|
cacheDirectoryPath,
|
||||||
webDirectoryPath)
|
webDirectoryPath)
|
||||||
{
|
{
|
||||||
InternalMetadataPath = DefaultInternalMetadataPath;
|
|
||||||
// ProgramDataPath cannot change when the server is running, so cache these to avoid allocations.
|
// ProgramDataPath cannot change when the server is running, so cache these to avoid allocations.
|
||||||
RootFolderPath = Path.Join(ProgramDataPath, "root");
|
RootFolderPath = Path.Join(ProgramDataPath, "root");
|
||||||
DefaultUserViewsPath = Path.Combine(RootFolderPath, "default");
|
DefaultUserViewsPath = Path.Combine(RootFolderPath, "default");
|
||||||
DefaultInternalMetadataPath = Path.Combine(ProgramDataPath, "metadata");
|
DefaultInternalMetadataPath = Path.Combine(ProgramDataPath, "metadata");
|
||||||
|
InternalMetadataPath = DefaultInternalMetadataPath;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user