From 767cdc1f6f6a63ce997fc9476911e2c361f9d402 Mon Sep 17 00:00:00 2001 From: LukePulverenti Date: Wed, 20 Feb 2013 20:33:05 -0500 Subject: Pushing missing changes --- .../Configuration/PluginConfiguration.cs | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 MediaBrowser.Plugins.Trailers/Configuration/PluginConfiguration.cs (limited to 'MediaBrowser.Plugins.Trailers/Configuration/PluginConfiguration.cs') diff --git a/MediaBrowser.Plugins.Trailers/Configuration/PluginConfiguration.cs b/MediaBrowser.Plugins.Trailers/Configuration/PluginConfiguration.cs new file mode 100644 index 000000000..d54f01797 --- /dev/null +++ b/MediaBrowser.Plugins.Trailers/Configuration/PluginConfiguration.cs @@ -0,0 +1,46 @@ +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; + } + } +} -- cgit v1.2.3