jellyfin/MediaBrowser.Controller/Subtitles/SubtitleSearchRequest.cs

58 lines
1.5 KiB
C#
Raw Normal View History

#nullable disable
#pragma warning disable CS1591
using System;
2018-12-28 00:27:57 +01:00
using System.Collections.Generic;
using MediaBrowser.Controller.Providers;
using MediaBrowser.Model.Entities;
2018-12-28 00:27:57 +01:00
namespace MediaBrowser.Controller.Subtitles
{
public class SubtitleSearchRequest : IHasProviderIds
{
public SubtitleSearchRequest()
{
SearchAllProviders = true;
ProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
DisabledSubtitleFetchers = Array.Empty<string>();
SubtitleFetcherOrder = Array.Empty<string>();
}
2018-12-28 00:27:57 +01:00
public string Language { get; set; }
2020-06-15 23:43:52 +02:00
2018-12-28 00:27:57 +01:00
public string TwoLetterISOLanguageName { get; set; }
public VideoContentType ContentType { get; set; }
public string MediaPath { get; set; }
2020-06-15 23:43:52 +02:00
2018-12-28 00:27:57 +01:00
public string SeriesName { get; set; }
2020-06-15 23:43:52 +02:00
2018-12-28 00:27:57 +01:00
public string Name { get; set; }
2020-06-15 23:43:52 +02:00
2018-12-28 00:27:57 +01:00
public int? IndexNumber { get; set; }
2020-06-15 23:43:52 +02:00
2018-12-28 00:27:57 +01:00
public int? IndexNumberEnd { get; set; }
2020-06-15 23:43:52 +02:00
2018-12-28 00:27:57 +01:00
public int? ParentIndexNumber { get; set; }
2020-06-15 23:43:52 +02:00
2018-12-28 00:27:57 +01:00
public int? ProductionYear { get; set; }
2020-06-15 23:43:52 +02:00
2018-12-28 00:27:57 +01:00
public long? RuntimeTicks { get; set; }
2020-06-15 23:43:52 +02:00
2018-12-28 00:27:57 +01:00
public bool IsPerfectMatch { get; set; }
2020-06-15 23:43:52 +02:00
2018-12-28 00:27:57 +01:00
public Dictionary<string, string> ProviderIds { get; set; }
public bool SearchAllProviders { get; set; }
2020-06-15 23:43:52 +02:00
2018-12-28 00:27:57 +01:00
public string[] DisabledSubtitleFetchers { get; set; }
2020-06-15 23:43:52 +02:00
2018-12-28 00:27:57 +01:00
public string[] SubtitleFetcherOrder { get; set; }
public bool IsAutomated { get; set; }
2018-12-28 00:27:57 +01:00
}
2018-12-27 22:43:48 +01:00
}