SubtitleOptions.cs 859 B

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