mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-27 19:08:27 +01:00
separate provider options
This commit is contained in:
17
MediaBrowser.Model/Configuration/FanartOptions.cs
Normal file
17
MediaBrowser.Model/Configuration/FanartOptions.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
namespace MediaBrowser.Model.Configuration
|
||||
{
|
||||
public class FanartOptions
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether [enable automatic updates].
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if [enable automatic updates]; otherwise, <c>false</c>.</value>
|
||||
public bool EnableAutomaticUpdates { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the user API key.
|
||||
/// </summary>
|
||||
/// <value>The user API key.</value>
|
||||
public string UserApiKey { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,4 @@
|
||||
using System.Xml.Schema;
|
||||
using MediaBrowser.Model.Dto;
|
||||
using MediaBrowser.Model.Dto;
|
||||
using MediaBrowser.Model.Entities;
|
||||
|
||||
namespace MediaBrowser.Model.Configuration
|
||||
@@ -32,10 +31,11 @@ namespace MediaBrowser.Model.Configuration
|
||||
/// </summary>
|
||||
/// <value>The HTTPS server port number.</value>
|
||||
public int HttpsPortNumber { get; set; }
|
||||
|
||||
/// Gets or sets the value pointing to the file system where the ssl certiifcate is located.
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether [use HTTPS].
|
||||
/// </summary>
|
||||
/// <value>The value pointing to the file system where the ssl certiifcate is located.</value>
|
||||
/// <value><c>true</c> if [use HTTPS]; otherwise, <c>false</c>.</value>
|
||||
public bool UseHttps { get; set; }
|
||||
|
||||
/// <summary>
|
||||
@@ -154,6 +154,7 @@ namespace MediaBrowser.Model.Configuration
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if [enable dashboard response caching]; otherwise, <c>false</c>.</value>
|
||||
public bool EnableDashboardResponseCaching { get; set; }
|
||||
public bool EnableDashboardResourceMinification { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Allows the dashboard to be served from a custom path.
|
||||
@@ -161,18 +162,8 @@ namespace MediaBrowser.Model.Configuration
|
||||
/// <value>The dashboard source path.</value>
|
||||
public string DashboardSourcePath { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether [enable tv db updates].
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if [enable tv db updates]; otherwise, <c>false</c>.</value>
|
||||
public bool EnableTvDbUpdates { get; set; }
|
||||
public bool EnableTmdbUpdates { get; set; }
|
||||
|
||||
public bool StoreArtistsInMetadata { get; set; }
|
||||
|
||||
public bool EnableFanArtUpdates { get; set; }
|
||||
public string FanartApiKey { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the image saving convention.
|
||||
/// </summary>
|
||||
@@ -220,6 +211,7 @@ namespace MediaBrowser.Model.Configuration
|
||||
UseHttps = false;
|
||||
CertificatePath = null;
|
||||
EnableDashboardResponseCaching = true;
|
||||
EnableDashboardResourceMinification = true;
|
||||
|
||||
EnableAutomaticRestart = true;
|
||||
EnableWin8HttpListener = true;
|
||||
|
||||
12
MediaBrowser.Model/Configuration/TheMovieDbOptions.cs
Normal file
12
MediaBrowser.Model/Configuration/TheMovieDbOptions.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
namespace MediaBrowser.Model.Configuration
|
||||
{
|
||||
public class TheMovieDbOptions
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether [enable automatic updates].
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if [enable automatic updates]; otherwise, <c>false</c>.</value>
|
||||
public bool EnableAutomaticUpdates { get; set; }
|
||||
}
|
||||
}
|
||||
12
MediaBrowser.Model/Configuration/TvdbOptions.cs
Normal file
12
MediaBrowser.Model/Configuration/TvdbOptions.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
namespace MediaBrowser.Model.Configuration
|
||||
{
|
||||
public class TvdbOptions
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether [enable automatic updates].
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if [enable automatic updates]; otherwise, <c>false</c>.</value>
|
||||
public bool EnableAutomaticUpdates { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user