2020-02-04 00:49:27 +00:00
|
|
|
#pragma warning disable CS1591
|
|
|
|
#pragma warning disable SA1600
|
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
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()
|
|
|
|
{
|
2018-12-27 21:43:48 +00:00
|
|
|
DownloadLanguages = Array.Empty<string>();
|
2018-12-27 23:27:57 +00:00
|
|
|
|
|
|
|
SkipIfAudioTrackMatches = true;
|
|
|
|
RequirePerfectMatch = true;
|
|
|
|
}
|
|
|
|
}
|
2018-12-27 21:43:48 +00:00
|
|
|
}
|