ChapterSearchRequest.cs 998 B

12345678910111213141516171819202122232425262728293031
  1. using MediaBrowser.Controller.Providers;
  2. using MediaBrowser.Model.Entities;
  3. using System;
  4. using System.Collections.Generic;
  5. namespace MediaBrowser.Controller.Chapters
  6. {
  7. public class ChapterSearchRequest : 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 Dictionary<string, string> ProviderIds { get; set; }
  20. public bool SearchAllProviders { get; set; }
  21. public ChapterSearchRequest()
  22. {
  23. ProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
  24. }
  25. }
  26. }