mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-22 01:54:42 +01:00
Add Api and startup check for sufficient storage capacity (#13888)
Some checks failed
CodeQL / Analyze (csharp) (push) Has been cancelled
OpenAPI / OpenAPI - HEAD (push) Has been cancelled
OpenAPI / OpenAPI - BASE (push) Has been cancelled
Tests / run-tests (macos-latest) (push) Has been cancelled
Tests / run-tests (ubuntu-latest) (push) Has been cancelled
Tests / run-tests (windows-latest) (push) Has been cancelled
Project Automation / Project board (push) Has been cancelled
Merge Conflict Labeler / Labeling (push) Has been cancelled
OpenAPI / OpenAPI - Difference (push) Has been cancelled
OpenAPI / OpenAPI - Publish Unstable Spec (push) Has been cancelled
OpenAPI / OpenAPI - Publish Stable Spec (push) Has been cancelled
Some checks failed
CodeQL / Analyze (csharp) (push) Has been cancelled
OpenAPI / OpenAPI - HEAD (push) Has been cancelled
OpenAPI / OpenAPI - BASE (push) Has been cancelled
Tests / run-tests (macos-latest) (push) Has been cancelled
Tests / run-tests (ubuntu-latest) (push) Has been cancelled
Tests / run-tests (windows-latest) (push) Has been cancelled
Project Automation / Project board (push) Has been cancelled
Merge Conflict Labeler / Labeling (push) Has been cancelled
OpenAPI / OpenAPI - Difference (push) Has been cancelled
OpenAPI / OpenAPI - Publish Unstable Spec (push) Has been cancelled
OpenAPI / OpenAPI - Publish Stable Spec (push) Has been cancelled
This commit is contained in:
56
MediaBrowser.Model/System/SystemStorageInfo.cs
Normal file
56
MediaBrowser.Model/System/SystemStorageInfo.cs
Normal file
@@ -0,0 +1,56 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace MediaBrowser.Model.System;
|
||||
|
||||
/// <summary>
|
||||
/// Contains informations about the systems storage.
|
||||
/// </summary>
|
||||
public class SystemStorageInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the program data path.
|
||||
/// </summary>
|
||||
/// <value>The program data path.</value>
|
||||
public required FolderStorageInfo ProgramDataFolder { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the web UI resources path.
|
||||
/// </summary>
|
||||
/// <value>The web UI resources path.</value>
|
||||
public required FolderStorageInfo WebFolder { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the items by name path.
|
||||
/// </summary>
|
||||
/// <value>The items by name path.</value>
|
||||
public required FolderStorageInfo ImageCacheFolder { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the cache path.
|
||||
/// </summary>
|
||||
/// <value>The cache path.</value>
|
||||
public required FolderStorageInfo CacheFolder { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the log path.
|
||||
/// </summary>
|
||||
/// <value>The log path.</value>
|
||||
public required FolderStorageInfo LogFolder { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the internal metadata path.
|
||||
/// </summary>
|
||||
/// <value>The internal metadata path.</value>
|
||||
public required FolderStorageInfo InternalMetadataFolder { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the transcode path.
|
||||
/// </summary>
|
||||
/// <value>The transcode path.</value>
|
||||
public required FolderStorageInfo TranscodingTempFolder { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the storage informations of all libraries.
|
||||
/// </summary>
|
||||
public required IReadOnlyCollection<LibraryStorageInfo> Libraries { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user