[PR #13888] [MERGED] Add Api and startup check for sufficient storage capacity #13756

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

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/13888
Author: @JPVenson
Created: 4/9/2025
Status: Merged
Merged: 4/21/2025
Merged by: @crobibero

Base: masterHead: feature/TestMinimalDiskRequirement


📝 Commits (10+)

  • 6869152 Create a small data file to test minimul available storage
  • 76cf0f3 clearify message for test file
  • d738c5b Switch from file write test to DriveInfo
  • e842391 Update System endpoint to include detailed info about Path storage
  • 5fe2292 Marked old properties obsolete and add new DirectoryInfo ones
  • 08284d8 Applied review comments
  • 9b099ad Create new Endpoint for SystemStorageResources
  • 15f9185 applied review comments
  • 6995e9d Update Jellyfin.Server.Implementations/StorageHelpers/StorageHelper.cs
  • 4a6d0bc Add device id to FolderStorageInfo

📊 Changes

12 files changed (+560 additions, -125 deletions)

View changed files

📝 Emby.Server.Implementations/SystemManager.cs (+33 -1)
📝 Jellyfin.Api/Controllers/SystemController.cs (+14 -0)
Jellyfin.Api/Models/SystemInfoDtos/FolderStorageDto.cs (+46 -0)
Jellyfin.Api/Models/SystemInfoDtos/LibraryStorageDto.cs (+37 -0)
Jellyfin.Api/Models/SystemInfoDtos/SystemStorageDto.cs (+67 -0)
Jellyfin.Server.Implementations/StorageHelpers/StorageHelper.cs (+109 -0)
📝 Jellyfin.Server/Program.cs (+4 -0)
📝 MediaBrowser.Controller/ISystemManager.cs (+7 -0)
MediaBrowser.Model/System/FolderStorageInfo.cs (+32 -0)
MediaBrowser.Model/System/LibraryStorageInfo.cs (+25 -0)
📝 MediaBrowser.Model/System/SystemInfo.cs (+130 -124)
MediaBrowser.Model/System/SystemStorageInfo.cs (+56 -0)

📄 Description

Add Device check to test for sensible free space on startup.
Add api to get storage data on JF and library paths


🔄 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/13888 **Author:** [@JPVenson](https://github.com/JPVenson) **Created:** 4/9/2025 **Status:** ✅ Merged **Merged:** 4/21/2025 **Merged by:** [@crobibero](https://github.com/crobibero) **Base:** `master` ← **Head:** `feature/TestMinimalDiskRequirement` --- ### 📝 Commits (10+) - [`6869152`](https://github.com/jellyfin/jellyfin/commit/68691526309781f67062a29cd1211ed4891af961) Create a small data file to test minimul available storage - [`76cf0f3`](https://github.com/jellyfin/jellyfin/commit/76cf0f353bc73214355bbb5efe41e0eb1a1c7bf3) clearify message for test file - [`d738c5b`](https://github.com/jellyfin/jellyfin/commit/d738c5b53122745f65b016f2a1ac1e0841e46403) Switch from file write test to DriveInfo - [`e842391`](https://github.com/jellyfin/jellyfin/commit/e842391ef277845b5eb378aa2298462cf46d5f65) Update System endpoint to include detailed info about Path storage - [`5fe2292`](https://github.com/jellyfin/jellyfin/commit/5fe22926e1388d575502dd69ce57490828c9062b) Marked old properties obsolete and add new DirectoryInfo ones - [`08284d8`](https://github.com/jellyfin/jellyfin/commit/08284d811a63330a28a7dff3a95ca8a62a819007) Applied review comments - [`9b099ad`](https://github.com/jellyfin/jellyfin/commit/9b099ad66fe7a9a0f3ce3339c90d932950b26dd1) Create new Endpoint for SystemStorageResources - [`15f9185`](https://github.com/jellyfin/jellyfin/commit/15f91853d08d6346e06b45f5c2d947d7faeaef00) applied review comments - [`6995e9d`](https://github.com/jellyfin/jellyfin/commit/6995e9d1acb98dd315fd4a8c0989dc40e1f4490c) Update Jellyfin.Server.Implementations/StorageHelpers/StorageHelper.cs - [`4a6d0bc`](https://github.com/jellyfin/jellyfin/commit/4a6d0bce0a4556d03924581e7565fce82547e34f) Add device id to FolderStorageInfo ### 📊 Changes **12 files changed** (+560 additions, -125 deletions) <details> <summary>View changed files</summary> 📝 `Emby.Server.Implementations/SystemManager.cs` (+33 -1) 📝 `Jellyfin.Api/Controllers/SystemController.cs` (+14 -0) ➕ `Jellyfin.Api/Models/SystemInfoDtos/FolderStorageDto.cs` (+46 -0) ➕ `Jellyfin.Api/Models/SystemInfoDtos/LibraryStorageDto.cs` (+37 -0) ➕ `Jellyfin.Api/Models/SystemInfoDtos/SystemStorageDto.cs` (+67 -0) ➕ `Jellyfin.Server.Implementations/StorageHelpers/StorageHelper.cs` (+109 -0) 📝 `Jellyfin.Server/Program.cs` (+4 -0) 📝 `MediaBrowser.Controller/ISystemManager.cs` (+7 -0) ➕ `MediaBrowser.Model/System/FolderStorageInfo.cs` (+32 -0) ➕ `MediaBrowser.Model/System/LibraryStorageInfo.cs` (+25 -0) 📝 `MediaBrowser.Model/System/SystemInfo.cs` (+130 -124) ➕ `MediaBrowser.Model/System/SystemStorageInfo.cs` (+56 -0) </details> ### 📄 Description Add Device check to test for sensible free space on startup. Add api to get storage data on JF and library paths --- <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:18:38 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#13756