aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Configuration/ImageDownloadOptions.cs
blob: 603112110050115b663abac39c888fd1ccccdc7d (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
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;
        }
    }
}