diff options
| author | JPVenson <github@jpb.email> | 2025-04-21 05:06:50 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-20 20:06:50 -0600 |
| commit | a0931baa8eb879898f4bc4049176ed3bdb4d80d1 (patch) | |
| tree | 69bca19c69930fb83a166ae9944273c4dd66fdb9 /MediaBrowser.Controller | |
| parent | 5e4bd744c07d44d75c8e9eb7b6dc03b7ff4f147c (diff) | |
Add Api and startup check for sufficient storage capacity (#13888)
Diffstat (limited to 'MediaBrowser.Controller')
| -rw-r--r-- | MediaBrowser.Controller/ISystemManager.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/ISystemManager.cs b/MediaBrowser.Controller/ISystemManager.cs index ef3034d2f..08344a1e5 100644 --- a/MediaBrowser.Controller/ISystemManager.cs +++ b/MediaBrowser.Controller/ISystemManager.cs @@ -1,5 +1,6 @@ using MediaBrowser.Model.System; using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; namespace MediaBrowser.Controller; @@ -31,4 +32,10 @@ public interface ISystemManager /// Starts the application shutdown process. /// </summary> void Shutdown(); + + /// <summary> + /// Gets the systems storage resources. + /// </summary> + /// <returns>The <see cref="SystemStorageInfo"/>.</returns> + SystemStorageInfo GetSystemStorageInfo(); } |
