jellyfin/MediaBrowser.Model/Providers/SubtitleOptions.cs

37 lines
883 B
C#
Raw Normal View History

#nullable disable
2020-02-03 17:49:27 -07:00
#pragma warning disable CS1591
2018-12-27 16:27:57 -07:00
using System;
namespace MediaBrowser.Model.Providers
{
public class SubtitleOptions
{
public bool SkipIfEmbeddedSubtitlesPresent { get; set; }
2020-06-15 14:43:52 -07:00
2018-12-27 16:27:57 -07:00
public bool SkipIfAudioTrackMatches { get; set; }
2020-06-15 14:43:52 -07:00
2018-12-27 16:27:57 -07:00
public string[] DownloadLanguages { get; set; }
2020-06-15 14:43:52 -07:00
2018-12-27 16:27:57 -07:00
public bool DownloadMovieSubtitles { get; set; }
2020-06-15 14:43:52 -07:00
2018-12-27 16:27:57 -07:00
public bool DownloadEpisodeSubtitles { get; set; }
public string OpenSubtitlesUsername { get; set; }
2020-06-15 14:43:52 -07:00
2018-12-27 16:27:57 -07:00
public string OpenSubtitlesPasswordHash { get; set; }
2020-06-15 14:43:52 -07:00
2018-12-27 16:27:57 -07:00
public bool IsOpenSubtitleVipAccount { get; set; }
public bool RequirePerfectMatch { get; set; }
public SubtitleOptions()
{
2018-12-27 14:43:48 -07:00
DownloadLanguages = Array.Empty<string>();
2018-12-27 16:27:57 -07:00
SkipIfAudioTrackMatches = true;
RequirePerfectMatch = true;
}
}
2018-12-27 14:43:48 -07:00
}