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 SubtitleOptions()
  9. {
  10. DownloadLanguages = Array.Empty<string>();
  11. SkipIfAudioTrackMatches = true;
  12. RequirePerfectMatch = true;
  13. }
  14. public bool SkipIfEmbeddedSubtitlesPresent { get; set; }
  15. public bool SkipIfAudioTrackMatches { get; set; }
  16. public string[] DownloadLanguages { get; set; }
  17. public bool DownloadMovieSubtitles { get; set; }
  18. public bool DownloadEpisodeSubtitles { get; set; }
  19. public string OpenSubtitlesUsername { get; set; }
  20. public string OpenSubtitlesPasswordHash { get; set; }
  21. public bool IsOpenSubtitleVipAccount { get; set; }
  22. public bool RequirePerfectMatch { get; set; }
  23. }
  24. }