2
0

SubtitleOptions.cs 883 B

123456789101112131415161718192021222324252627282930313233343536
  1. #nullable disable
  2. #pragma warning disable CS1591
  3. using System;
  4. namespace MediaBrowser.Model.Providers
  5. {
  6. public class SubtitleOptions
  7. {
  8. public bool SkipIfEmbeddedSubtitlesPresent { get; set; }
  9. public bool SkipIfAudioTrackMatches { get; set; }
  10. public string[] DownloadLanguages { get; set; }
  11. public bool DownloadMovieSubtitles { get; set; }
  12. public bool DownloadEpisodeSubtitles { get; set; }
  13. public string OpenSubtitlesUsername { get; set; }
  14. public string OpenSubtitlesPasswordHash { get; set; }
  15. public bool IsOpenSubtitleVipAccount { get; set; }
  16. public bool RequirePerfectMatch { get; set; }
  17. public SubtitleOptions()
  18. {
  19. DownloadLanguages = Array.Empty<string>();
  20. SkipIfAudioTrackMatches = true;
  21. RequirePerfectMatch = true;
  22. }
  23. }
  24. }