SubtitleSearchRequest.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. using MediaBrowser.Controller.Providers;
  2. using MediaBrowser.Model.Entities;
  3. using System;
  4. using System.Collections.Generic;
  5. namespace MediaBrowser.Controller.Subtitles
  6. {
  7. public class SubtitleSearchRequest : IHasProviderIds
  8. {
  9. public string Language { get; set; }
  10. public VideoContentType ContentType { get; set; }
  11. public string MediaPath { get; set; }
  12. public string SeriesName { get; set; }
  13. public string Name { get; set; }
  14. public int? IndexNumber { get; set; }
  15. public int? IndexNumberEnd { get; set; }
  16. public int? ParentIndexNumber { get; set; }
  17. public int? ProductionYear { get; set; }
  18. public long? RuntimeTicks { get; set; }
  19. public bool IsPerfectMatch { get; set; }
  20. public Dictionary<string, string> ProviderIds { get; set; }
  21. public bool SearchAllProviders { get; set; }
  22. public SubtitleSearchRequest()
  23. {
  24. SearchAllProviders = true;
  25. ProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
  26. }
  27. }
  28. }