mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
[PR #13888] [MERGED] Add Api and startup check for sufficient storage capacity #13756
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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:
master← Head:feature/TestMinimalDiskRequirement📝 Commits (10+)
6869152Create a small data file to test minimul available storage76cf0f3clearify message for test filed738c5bSwitch from file write test to DriveInfoe842391Update System endpoint to include detailed info about Path storage5fe2292Marked old properties obsolete and add new DirectoryInfo ones08284d8Applied review comments9b099adCreate new Endpoint for SystemStorageResources15f9185applied review comments6995e9dUpdate Jellyfin.Server.Implementations/StorageHelpers/StorageHelper.cs4a6d0bcAdd 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.