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