diff options
| author | JPVenson <github@jpb.email> | 2025-04-21 05:06:50 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-20 20:06:50 -0600 |
| commit | a0931baa8eb879898f4bc4049176ed3bdb4d80d1 (patch) | |
| tree | 69bca19c69930fb83a166ae9944273c4dd66fdb9 /Jellyfin.Server/Program.cs | |
| parent | 5e4bd744c07d44d75c8e9eb7b6dc03b7ff4f147c (diff) | |
Add Api and startup check for sufficient storage capacity (#13888)
Diffstat (limited to 'Jellyfin.Server/Program.cs')
| -rw-r--r-- | Jellyfin.Server/Program.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Jellyfin.Server/Program.cs b/Jellyfin.Server/Program.cs index 55a4a0087..8d0bf73f6 100644 --- a/Jellyfin.Server/Program.cs +++ b/Jellyfin.Server/Program.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using System.Diagnostics; +using System.Globalization; using System.IO; using System.Linq; using System.Reflection; @@ -11,6 +12,7 @@ using Emby.Server.Implementations; using Jellyfin.Database.Implementations; using Jellyfin.Server.Extensions; using Jellyfin.Server.Helpers; +using Jellyfin.Server.Implementations.StorageHelpers; using Jellyfin.Server.ServerSetupApp; using MediaBrowser.Common.Configuration; using MediaBrowser.Common.Net; @@ -120,6 +122,8 @@ namespace Jellyfin.Server } } + StorageHelper.TestCommonPathsForStorageCapacity(appPaths, _loggerFactory.CreateLogger<Startup>()); + StartupHelpers.PerformStaticInitialization(); await Migrations.MigrationRunner.RunPreStartup(appPaths, _loggerFactory).ConfigureAwait(false); |
