| | | 1 | | #nullable disable |
| | | 2 | | |
| | | 3 | | #pragma warning disable CS1591 |
| | | 4 | | |
| | | 5 | | using System; |
| | | 6 | | using System.Collections.Generic; |
| | | 7 | | using MediaBrowser.Controller.Providers; |
| | | 8 | | using MediaBrowser.Model.Entities; |
| | | 9 | | |
| | | 10 | | namespace MediaBrowser.Controller.Subtitles |
| | | 11 | | { |
| | | 12 | | public class SubtitleSearchRequest : IHasProviderIds |
| | | 13 | | { |
| | | 14 | | public SubtitleSearchRequest() |
| | | 15 | | { |
| | 0 | 16 | | SearchAllProviders = true; |
| | 0 | 17 | | ProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); |
| | | 18 | | |
| | 0 | 19 | | DisabledSubtitleFetchers = Array.Empty<string>(); |
| | 0 | 20 | | SubtitleFetcherOrder = Array.Empty<string>(); |
| | 0 | 21 | | } |
| | | 22 | | |
| | | 23 | | public string Language { get; set; } |
| | | 24 | | |
| | | 25 | | public string TwoLetterISOLanguageName { get; set; } |
| | | 26 | | |
| | | 27 | | public VideoContentType ContentType { get; set; } |
| | | 28 | | |
| | | 29 | | public string MediaPath { get; set; } |
| | | 30 | | |
| | | 31 | | public string SeriesName { get; set; } |
| | | 32 | | |
| | | 33 | | public string Name { get; set; } |
| | | 34 | | |
| | | 35 | | public int? IndexNumber { get; set; } |
| | | 36 | | |
| | | 37 | | public int? IndexNumberEnd { get; set; } |
| | | 38 | | |
| | | 39 | | public int? ParentIndexNumber { get; set; } |
| | | 40 | | |
| | | 41 | | public int? ProductionYear { get; set; } |
| | | 42 | | |
| | | 43 | | public long? RuntimeTicks { get; set; } |
| | | 44 | | |
| | | 45 | | public bool IsPerfectMatch { get; set; } |
| | | 46 | | |
| | | 47 | | public Dictionary<string, string> ProviderIds { get; set; } |
| | | 48 | | |
| | | 49 | | public bool SearchAllProviders { get; set; } |
| | | 50 | | |
| | | 51 | | public string[] DisabledSubtitleFetchers { get; set; } |
| | | 52 | | |
| | | 53 | | public string[] SubtitleFetcherOrder { get; set; } |
| | | 54 | | |
| | | 55 | | public bool IsAutomated { get; set; } |
| | | 56 | | } |
| | | 57 | | } |