From a86b71899ec52c44ddc6c3018e8cc5e9d7ff4d62 Mon Sep 17 00:00:00 2001 From: Andrew Rabert Date: Thu, 27 Dec 2018 18:27:57 -0500 Subject: Add GPL modules --- MediaBrowser.Model/Providers/SubtitleOptions.cs | 27 +++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 MediaBrowser.Model/Providers/SubtitleOptions.cs (limited to 'MediaBrowser.Model/Providers/SubtitleOptions.cs') diff --git a/MediaBrowser.Model/Providers/SubtitleOptions.cs b/MediaBrowser.Model/Providers/SubtitleOptions.cs new file mode 100644 index 000000000..f67b8870d --- /dev/null +++ b/MediaBrowser.Model/Providers/SubtitleOptions.cs @@ -0,0 +1,27 @@ +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 = new string[] {}; + + SkipIfAudioTrackMatches = true; + RequirePerfectMatch = true; + } + } +} \ No newline at end of file -- cgit v1.2.3