You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jellyfin/MediaBrowser.Controller/Subtitles/SubtitleSearchRequest.cs

56 lines
1.4 KiB

#nullable disable
#pragma warning disable CS1591
using System;
6 years ago
using System.Collections.Generic;
using MediaBrowser.Controller.Providers;
using MediaBrowser.Model.Entities;
6 years ago
namespace MediaBrowser.Controller.Subtitles
{
public class SubtitleSearchRequest : IHasProviderIds
{
public string Language { get; set; }
6 years ago
public string TwoLetterISOLanguageName { get; set; }
public VideoContentType ContentType { get; set; }
public string MediaPath { get; set; }
6 years ago
public string SeriesName { get; set; }
6 years ago
public string Name { get; set; }
6 years ago
public int? IndexNumber { get; set; }
6 years ago
public int? IndexNumberEnd { get; set; }
6 years ago
public int? ParentIndexNumber { get; set; }
6 years ago
public int? ProductionYear { get; set; }
6 years ago
public long? RuntimeTicks { get; set; }
6 years ago
public bool IsPerfectMatch { get; set; }
6 years ago
public Dictionary<string, string> ProviderIds { get; set; }
public bool SearchAllProviders { get; set; }
6 years ago
public string[] DisabledSubtitleFetchers { get; set; }
6 years ago
public string[] SubtitleFetcherOrder { get; set; }
public SubtitleSearchRequest()
{
SearchAllProviders = true;
ProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
6 years ago
DisabledSubtitleFetchers = Array.Empty<string>();
SubtitleFetcherOrder = Array.Empty<string>();
6 years ago
}
}
6 years ago
}