Skip to content

The Free Software Media System - Server Backend & API

Fix property instantiation order

cvium1580bf5469bd
diff --git a/Emby.Server.Implementations/ServerApplicationPaths.cs b/Emby.Server.Implementations/ServerApplicationPaths.cs
index d5483bf40b..6cf9a8f71e 100644
--- a/Emby.Server.Implementations/ServerApplicationPaths.cs
+++ b/Emby.Server.Implementations/ServerApplicationPaths.cs
@@ -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>