jellyfin/MediaBrowser.Model/Configuration/ImageDownloadOptions.cs

82 lines
2.2 KiB
C#
Raw Normal View History

2013-04-18 19:57:28 +00:00

2013-12-26 06:17:19 +00:00
namespace MediaBrowser.Model.Configuration
2013-03-04 16:11:50 +00:00
{
2013-04-20 16:29:50 +00:00
/// <summary>
/// Class ImageDownloadOptions
/// </summary>
2013-03-04 16:11:50 +00:00
public class ImageDownloadOptions
{
/// <summary>
/// Download Art Image
/// </summary>
2013-04-20 16:29:50 +00:00
/// <value><c>true</c> if art; otherwise, <c>false</c>.</value>
2013-03-04 16:11:50 +00:00
public bool Art { get; set; }
/// <summary>
/// Download Logo Image
/// </summary>
2013-04-20 16:29:50 +00:00
/// <value><c>true</c> if logo; otherwise, <c>false</c>.</value>
2013-03-04 16:11:50 +00:00
public bool Logo { get; set; }
/// <summary>
/// Download Primary Image
/// </summary>
2013-04-20 16:29:50 +00:00
/// <value><c>true</c> if primary; otherwise, <c>false</c>.</value>
2013-03-04 16:11:50 +00:00
public bool Primary { get; set; }
/// <summary>
/// Download Backdrop Images
/// </summary>
2013-04-20 16:29:50 +00:00
/// <value><c>true</c> if backdrops; otherwise, <c>false</c>.</value>
2013-03-04 16:11:50 +00:00
public bool Backdrops { get; set; }
/// <summary>
/// Download Disc Image
/// </summary>
2013-04-20 16:29:50 +00:00
/// <value><c>true</c> if disc; otherwise, <c>false</c>.</value>
2013-03-04 16:11:50 +00:00
public bool Disc { get; set; }
/// <summary>
/// Download Thumb Image
/// </summary>
2013-04-20 16:29:50 +00:00
/// <value><c>true</c> if thumb; otherwise, <c>false</c>.</value>
2013-03-04 16:11:50 +00:00
public bool Thumb { get; set; }
/// <summary>
/// Download Banner Image
/// </summary>
2013-04-20 16:29:50 +00:00
/// <value><c>true</c> if banner; otherwise, <c>false</c>.</value>
2013-03-04 16:11:50 +00:00
public bool Banner { get; set; }
2013-04-20 16:29:50 +00:00
/// <summary>
/// Initializes a new instance of the <see cref="ImageDownloadOptions"/> class.
/// </summary>
public ImageDownloadOptions()
{
Art = true;
Logo = true;
Primary = true;
Backdrops = true;
Disc = true;
Thumb = true;
Banner = true;
}
2013-03-04 16:11:50 +00:00
}
2013-12-26 06:17:19 +00:00
/// <summary>
/// Class MetadataOptions.
/// </summary>
public class MetadataOptions
{
public int MaxBackdrops { get; set; }
public int MinBackdropWidth { get; set; }
public MetadataOptions()
{
MaxBackdrops = 3;
MinBackdropWidth = 1280;
}
}
2013-03-04 16:11:50 +00:00
}