blob: d54f0179715cf598fe9f1e80f5f9440e7f44307f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
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;
}
}
}
|