SubtitleOptions.cs 916 B

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