mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-18 03:19:06 -07:00
05ab61200a
This call has nothing to do with static web content and should not have ever been called with the web content path: https://docs.microsoft.com/en-us/aspnet/core/fundamentals/?view=aspnetcore-3.1&tabs=windows#content-root Since this call is removed, the ContentRoot property is also removed from ApplicationHost as it is no longer needed. Finally, move validation of the static content path to the DashboardService where it is actually used.
92 lines
3.0 KiB
C#
92 lines
3.0 KiB
C#
using MediaBrowser.Model.Configuration;
|
|
|
|
namespace MediaBrowser.Common.Configuration
|
|
{
|
|
/// <summary>
|
|
/// Interface IApplicationPaths
|
|
/// </summary>
|
|
public interface IApplicationPaths
|
|
{
|
|
/// <summary>
|
|
/// Gets the path to the program data folder
|
|
/// </summary>
|
|
/// <value>The program data path.</value>
|
|
string ProgramDataPath { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the path to the web UI resources folder.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// This value is not relevant if the server is configured to not host any static web content. Additionally,
|
|
/// the value for <see cref="ServerConfiguration.DashboardSourcePath"/> takes precedence over this one.
|
|
/// </remarks>
|
|
string WebPath { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the path to the program system folder
|
|
/// </summary>
|
|
/// <value>The program data path.</value>
|
|
string ProgramSystemPath { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the folder path to the data directory
|
|
/// </summary>
|
|
/// <value>The data directory.</value>
|
|
string DataPath { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the image cache path.
|
|
/// </summary>
|
|
/// <value>The image cache path.</value>
|
|
string ImageCachePath { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the path to the plugin directory
|
|
/// </summary>
|
|
/// <value>The plugins path.</value>
|
|
string PluginsPath { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the path to the plugin configurations directory
|
|
/// </summary>
|
|
/// <value>The plugin configurations path.</value>
|
|
string PluginConfigurationsPath { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the path to the log directory
|
|
/// </summary>
|
|
/// <value>The log directory path.</value>
|
|
string LogDirectoryPath { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the path to the application configuration root directory
|
|
/// </summary>
|
|
/// <value>The configuration directory path.</value>
|
|
string ConfigurationDirectoryPath { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the path to the system configuration file
|
|
/// </summary>
|
|
/// <value>The system configuration file path.</value>
|
|
string SystemConfigurationFilePath { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the folder path to the cache directory
|
|
/// </summary>
|
|
/// <value>The cache directory.</value>
|
|
string CachePath { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the folder path to the temp directory within the cache folder
|
|
/// </summary>
|
|
/// <value>The temp directory.</value>
|
|
string TempDirectory { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the magic string used for virtual path manipulation.
|
|
/// </summary>
|
|
/// <value>The magic string used for virtual path manipulation.</value>
|
|
string VirtualDataPath { get; }
|
|
}
|
|
}
|