aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Providers/SubtitleOptions.cs
blob: d53fcef3b3b0e894ff287a0d2ab80c16cfdc3c1a (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
#pragma warning disable CS1591
#pragma warning disable SA1600

using System;

namespace MediaBrowser.Model.Providers
{
    public class SubtitleOptions
    {
        public bool SkipIfEmbeddedSubtitlesPresent { get; set; }
        public bool SkipIfAudioTrackMatches { get; set; }
        public string[] DownloadLanguages { get; set; }
        public bool DownloadMovieSubtitles { get; set; }
        public bool DownloadEpisodeSubtitles { get; set; }

        public string OpenSubtitlesUsername { get; set; }
        public string OpenSubtitlesPasswordHash { get; set; }
        public bool IsOpenSubtitleVipAccount { get; set; }

        public bool RequirePerfectMatch { get; set; }

        public SubtitleOptions()
        {
            DownloadLanguages = Array.Empty<string>();

            SkipIfAudioTrackMatches = true;
            RequirePerfectMatch = true;
        }
    }
}