diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-12-26 01:17:19 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-12-26 01:17:19 -0500 |
| commit | 25db52003c20473e94e07fb02adf43549a4ba213 (patch) | |
| tree | 7685fa52ad45b9142ec247c65160699c0a5b4942 /MediaBrowser.Model/Configuration/ImageDownloadOptions.cs | |
| parent | 7c8424bf611b90cf27ce8d8d94b26f0da612d114 (diff) | |
added more metadata control
Diffstat (limited to 'MediaBrowser.Model/Configuration/ImageDownloadOptions.cs')
| -rw-r--r-- | MediaBrowser.Model/Configuration/ImageDownloadOptions.cs | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Configuration/ImageDownloadOptions.cs b/MediaBrowser.Model/Configuration/ImageDownloadOptions.cs new file mode 100644 index 000000000..603112110 --- /dev/null +++ b/MediaBrowser.Model/Configuration/ImageDownloadOptions.cs @@ -0,0 +1,81 @@ + +namespace MediaBrowser.Model.Configuration +{ + /// <summary> + /// Class ImageDownloadOptions + /// </summary> + public class ImageDownloadOptions + { + /// <summary> + /// Download Art Image + /// </summary> + /// <value><c>true</c> if art; otherwise, <c>false</c>.</value> + public bool Art { get; set; } + + /// <summary> + /// Download Logo Image + /// </summary> + /// <value><c>true</c> if logo; otherwise, <c>false</c>.</value> + public bool Logo { get; set; } + + /// <summary> + /// Download Primary Image + /// </summary> + /// <value><c>true</c> if primary; otherwise, <c>false</c>.</value> + public bool Primary { get; set; } + + /// <summary> + /// Download Backdrop Images + /// </summary> + /// <value><c>true</c> if backdrops; otherwise, <c>false</c>.</value> + public bool Backdrops { get; set; } + + /// <summary> + /// Download Disc Image + /// </summary> + /// <value><c>true</c> if disc; otherwise, <c>false</c>.</value> + public bool Disc { get; set; } + + /// <summary> + /// Download Thumb Image + /// </summary> + /// <value><c>true</c> if thumb; otherwise, <c>false</c>.</value> + public bool Thumb { get; set; } + + /// <summary> + /// Download Banner Image + /// </summary> + /// <value><c>true</c> if banner; otherwise, <c>false</c>.</value> + public bool Banner { get; set; } + + /// <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; + } + } + + /// <summary> + /// Class MetadataOptions. + /// </summary> + public class MetadataOptions + { + public int MaxBackdrops { get; set; } + + public int MinBackdropWidth { get; set; } + + public MetadataOptions() + { + MaxBackdrops = 3; + MinBackdropWidth = 1280; + } + } +} |
