Fix property instantiation order

This commit is contained in:
cvium 2021-05-24 08:03:24 +02:00
parent 42a2cc1747
commit 1580bf5469
1 changed files with 1 additions and 1 deletions

View File

@ -25,11 +25,11 @@ namespace Emby.Server.Implementations
cacheDirectoryPath,
webDirectoryPath)
{
InternalMetadataPath = DefaultInternalMetadataPath;
// ProgramDataPath cannot change when the server is running, so cache these to avoid allocations.
RootFolderPath = Path.Join(ProgramDataPath, "root");
DefaultUserViewsPath = Path.Combine(RootFolderPath, "default");
DefaultInternalMetadataPath = Path.Combine(ProgramDataPath, "metadata");
InternalMetadataPath = DefaultInternalMetadataPath;
}
/// <summary>