[PR #15194] [MERGED] Initialize transcode marker during startup #14251

Closed
opened 2026-02-07 07:26:48 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/15194
Author: @crobibero
Created: 10/25/2025
Status: Merged
Merged: 10/25/2025
Merged by: @crobibero

Base: release-10.11.zHead: transcode-marker


📝 Commits (1)

  • c458bec Add the transcode marker during startup instead of first transcode

📊 Changes

1 file changed (+6 additions, -0 deletions)

View changed files

📝 Jellyfin.Server/Program.cs (+6 -0)

📄 Description

Not a permanent fix but good enough until config rewrite.

Now instead of throwing the exception during first transcode it will be thrown during startup.

[19:17:02] [FTL] [8] Main: Error while starting server
System.InvalidOperationException: Exepected to find only .jellyfin-transcode but found marker for C:\Users\Cody\AppData\Local\jellyfin\cache\.jellyfin-cache.
   at Emby.Server.Implementations.AppBase.BaseApplicationPaths.CheckOrCreateMarker(String path, String markerName, Boolean recursive) in C:\Code\Jellyfin\jellyfin\Emby.Server.Implementations\AppBase\BaseApplicationPaths.cs:line 113
   at Emby.Server.Implementations.AppBase.BaseApplicationPaths.CreateAndCheckMarker(String path, String markerName, Boolean recursive) in C:\Users\Cody\Code\Jellyfin\jellyfin\Emby.Server.Implementations\AppBase\BaseApplicationPaths.cs:line 100
   at MediaBrowser.Common.Configuration.EncodingConfigurationExtensions.GetTranscodePath(IConfigurationManager configurationManager) in C:\Users\Cody\Code\Jellyfin\jellyfin\MediaBrowser.Common\Configuration\EncodingConfigurationExtensions.cs:line 38
   at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig) in C:\Users\Cody\Code\Jellyfin\jellyfin\Jellyfin.Server\Program.cs:line 192

Fixes https://github.com/jellyfin/jellyfin/issues/15058
Fixes https://github.com/jellyfin/jellyfin/discussions/15181


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/15194 **Author:** [@crobibero](https://github.com/crobibero) **Created:** 10/25/2025 **Status:** ✅ Merged **Merged:** 10/25/2025 **Merged by:** [@crobibero](https://github.com/crobibero) **Base:** `release-10.11.z` ← **Head:** `transcode-marker` --- ### 📝 Commits (1) - [`c458bec`](https://github.com/jellyfin/jellyfin/commit/c458bec9364cb562ecc9efa0ee85bd06cfc50d7f) Add the transcode marker during startup instead of first transcode ### 📊 Changes **1 file changed** (+6 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `Jellyfin.Server/Program.cs` (+6 -0) </details> ### 📄 Description Not a permanent fix but good enough until config rewrite. Now instead of throwing the exception during first transcode it will be thrown during startup. ``` [19:17:02] [FTL] [8] Main: Error while starting server System.InvalidOperationException: Exepected to find only .jellyfin-transcode but found marker for C:\Users\Cody\AppData\Local\jellyfin\cache\.jellyfin-cache. at Emby.Server.Implementations.AppBase.BaseApplicationPaths.CheckOrCreateMarker(String path, String markerName, Boolean recursive) in C:\Code\Jellyfin\jellyfin\Emby.Server.Implementations\AppBase\BaseApplicationPaths.cs:line 113 at Emby.Server.Implementations.AppBase.BaseApplicationPaths.CreateAndCheckMarker(String path, String markerName, Boolean recursive) in C:\Users\Cody\Code\Jellyfin\jellyfin\Emby.Server.Implementations\AppBase\BaseApplicationPaths.cs:line 100 at MediaBrowser.Common.Configuration.EncodingConfigurationExtensions.GetTranscodePath(IConfigurationManager configurationManager) in C:\Users\Cody\Code\Jellyfin\jellyfin\MediaBrowser.Common\Configuration\EncodingConfigurationExtensions.cs:line 38 at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig) in C:\Users\Cody\Code\Jellyfin\jellyfin\Jellyfin.Server\Program.cs:line 192 ``` Fixes https://github.com/jellyfin/jellyfin/issues/15058 Fixes https://github.com/jellyfin/jellyfin/discussions/15181 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 07:26:48 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#14251