2020-04-05 16:10:56 +00:00
|
|
|
#nullable disable
|
2020-02-04 00:49:27 +00:00
|
|
|
#pragma warning disable CS1591
|
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
using System;
|
|
|
|
|
|
|
|
namespace MediaBrowser.Model.Providers
|
|
|
|
{
|
|
|
|
public class SubtitleOptions
|
|
|
|
{
|
2021-02-20 22:13:04 +00:00
|
|
|
public SubtitleOptions()
|
|
|
|
{
|
|
|
|
DownloadLanguages = Array.Empty<string>();
|
|
|
|
|
|
|
|
SkipIfAudioTrackMatches = true;
|
|
|
|
RequirePerfectMatch = true;
|
|
|
|
}
|
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public bool SkipIfEmbeddedSubtitlesPresent { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public bool SkipIfAudioTrackMatches { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public string[] DownloadLanguages { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public bool DownloadMovieSubtitles { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public bool DownloadEpisodeSubtitles { get; set; }
|
|
|
|
|
|
|
|
public string OpenSubtitlesUsername { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public string OpenSubtitlesPasswordHash { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public bool IsOpenSubtitleVipAccount { get; set; }
|
|
|
|
|
|
|
|
public bool RequirePerfectMatch { get; set; }
|
|
|
|
}
|
2018-12-27 21:43:48 +00:00
|
|
|
}
|