[PR #12226] [MERGED] Use real temp dir instead of cache dir for temp files #12931

Closed
opened 2025-12-22 09:34:29 +01:00 by backuprepo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/12226
Author: @Bond-009
Created: 7/6/2024
Status: Merged
Merged: 7/15/2024
Merged by: @crobibero

Base: masterHead: temp


📝 Commits (2)

  • 7cdf83a Use real temp dir instead of cache dir for temp files
  • a5e59bc Log temp dir

📊 Changes

10 files changed (+22 additions, -22 deletions)

View changed files

📝 Emby.Server.Implementations/AppBase/BaseApplicationPaths.cs (+1 -1)
📝 Emby.Server.Implementations/IO/ManagedFileSystem.cs (+1 -1)
📝 Emby.Server.Implementations/Images/BaseDynamicImageProvider.cs (+1 -0)
📝 Emby.Server.Implementations/ScheduledTasks/Tasks/AudioNormalizationTask.cs (+7 -5)
📝 Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs (+1 -1)
📝 Jellyfin.Server/Helpers/StartupHelpers.cs (+1 -0)
📝 MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs (+7 -3)
📝 MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs (+1 -0)
📝 MediaBrowser.MediaEncoding/Transcoding/TranscodeManager.cs (+1 -10)
📝 src/Jellyfin.Drawing.Skia/SkiaEncoder.cs (+1 -1)

📄 Description

This way we take advantage of systems where the temp directory is backed by RAM.

  • Clean up temp files right after use where possible
  • Prefer temp dir over cache/trancode dir for short lived one time use files
  • Add more identifiable information to some temp files/directories
  • Cache DVD/Blu-Ray concat file to improve subsequent playback start times

🔄 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/12226 **Author:** [@Bond-009](https://github.com/Bond-009) **Created:** 7/6/2024 **Status:** ✅ Merged **Merged:** 7/15/2024 **Merged by:** [@crobibero](https://github.com/crobibero) **Base:** `master` ← **Head:** `temp` --- ### 📝 Commits (2) - [`7cdf83a`](https://github.com/jellyfin/jellyfin/commit/7cdf83a9e068ebd581e352fc8d8821560493b11f) Use real temp dir instead of cache dir for temp files - [`a5e59bc`](https://github.com/jellyfin/jellyfin/commit/a5e59bcef7f793bde82ae19fd678472813e2bcf7) Log temp dir ### 📊 Changes **10 files changed** (+22 additions, -22 deletions) <details> <summary>View changed files</summary> 📝 `Emby.Server.Implementations/AppBase/BaseApplicationPaths.cs` (+1 -1) 📝 `Emby.Server.Implementations/IO/ManagedFileSystem.cs` (+1 -1) 📝 `Emby.Server.Implementations/Images/BaseDynamicImageProvider.cs` (+1 -0) 📝 `Emby.Server.Implementations/ScheduledTasks/Tasks/AudioNormalizationTask.cs` (+7 -5) 📝 `Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs` (+1 -1) 📝 `Jellyfin.Server/Helpers/StartupHelpers.cs` (+1 -0) 📝 `MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs` (+7 -3) 📝 `MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs` (+1 -0) 📝 `MediaBrowser.MediaEncoding/Transcoding/TranscodeManager.cs` (+1 -10) 📝 `src/Jellyfin.Drawing.Skia/SkiaEncoder.cs` (+1 -1) </details> ### 📄 Description This way we take advantage of systems where the temp directory is backed by RAM. * Clean up temp files right after use where possible * Prefer temp dir over cache/trancode dir for short lived one time use files * Add more identifiable information to some temp files/directories * Cache DVD/Blu-Ray concat file to improve subsequent playback start times --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
backuprepo 2025-12-22 09:34:30 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: starred/jellyfin#12931
No description provided.