SubtitleOptions.cs 827 B

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