You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jellyfin/MediaBrowser.Plugins.Trailers/Configuration/PluginConfiguration.cs

47 lines
1.5 KiB

using MediaBrowser.Model.Plugins;
namespace MediaBrowser.Plugins.Trailers.Configuration
{
/// <summary>
/// Class PluginConfiguration
/// </summary>
public class PluginConfiguration : BasePluginConfiguration
{
/// <summary>
/// Gets or sets the name of the folder.
/// </summary>
/// <value>The name of the folder.</value>
public string FolderName { get; set; }
/// <summary>
/// Trailers older than this will not be downloaded and deleted if already downloaded.
/// </summary>
/// <value>The max trailer age.</value>
public int? MaxTrailerAge { get; set; }
/// <summary>
/// Gets the path to where trailers should be downloaded.
/// If not supplied then programdata/cache/trailers will be used.
/// </summary>
/// <value>The download path.</value>
public string DownloadPath { get; set; }
/// <summary>
/// Gets or sets a value indicating whether [delete old trailers].
/// </summary>
/// <value><c>true</c> if [delete old trailers]; otherwise, <c>false</c>.</value>
public bool DeleteOldTrailers { get; set; }
/// <summary>
/// Initializes a new instance of the <see cref="PluginConfiguration" /> class.
/// </summary>
public PluginConfiguration()
: base()
{
FolderName = "Trailers";
MaxTrailerAge = 60;
}
}
}