diff options
| author | crobibero <cody@robibe.ro> | 2025-10-27 15:43:24 -0400 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2025-10-27 15:43:24 -0400 |
| commit | 570b8b2eb979c3dbcf996a6fa9b4c29d3c27f230 (patch) | |
| tree | bb2f39e0e2c1cd2b04d43626d61ee4e5b1b04e80 /Jellyfin.Server | |
| parent | 08fd175f5aa3a921d44934a11ccb8bcbd3956120 (diff) | |
Backport pull request #15194 from jellyfin/release-10.11.z
Initialize transcode marker during startup
Original-merge: 81b8b0ca4a1e33ffd2aa2ddde1fa0561ee6a6c4a
Merged-by: crobibero <cody@robibe.ro>
Backported-by: Bond_009 <bond.009@outlook.com>
Diffstat (limited to 'Jellyfin.Server')
| -rw-r--r-- | Jellyfin.Server/Program.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Jellyfin.Server/Program.cs b/Jellyfin.Server/Program.cs index dc7fa5eb3..93f71fdc6 100644 --- a/Jellyfin.Server/Program.cs +++ b/Jellyfin.Server/Program.cs @@ -184,6 +184,12 @@ namespace Jellyfin.Server .AddSingleton<IServiceCollection>(e)) .Build(); + /* + * Initialize the transcode path marker so we avoid starting Jellyfin in a broken state. + * This should really be a part of IApplicationPaths but this path is configured differently. + */ + _ = appHost.ConfigurationManager.GetTranscodePath(); + // Re-use the host service provider in the app host since ASP.NET doesn't allow a custom service collection. appHost.ServiceProvider = _jellyfinHost.Services; PrepareDatabaseProvider(appHost.ServiceProvider); |
