mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-08 20:38:24 +02:00
* Add analyzers to MediaBrowser.XbmcMetadata * Enable TreatWarningsAsErrors for MediaBrowser.XbmcMetadata * Add analyzers to MediaBrowser.WebDashboard * Enable TreatWarningsAsErrors for MediaBrowser.WebDashboard * Disable SA1600 in favor of CS1591
29 lines
859 B
C#
29 lines
859 B
C#
#pragma warning disable CS1591
|
|
|
|
using System;
|
|
|
|
namespace MediaBrowser.Model.Providers
|
|
{
|
|
public class SubtitleOptions
|
|
{
|
|
public bool SkipIfEmbeddedSubtitlesPresent { get; set; }
|
|
public bool SkipIfAudioTrackMatches { get; set; }
|
|
public string[] DownloadLanguages { get; set; }
|
|
public bool DownloadMovieSubtitles { get; set; }
|
|
public bool DownloadEpisodeSubtitles { get; set; }
|
|
|
|
public string OpenSubtitlesUsername { get; set; }
|
|
public string OpenSubtitlesPasswordHash { get; set; }
|
|
public bool IsOpenSubtitleVipAccount { get; set; }
|
|
|
|
public bool RequirePerfectMatch { get; set; }
|
|
|
|
public SubtitleOptions()
|
|
{
|
|
DownloadLanguages = Array.Empty<string>();
|
|
|
|
SkipIfAudioTrackMatches = true;
|
|
RequirePerfectMatch = true;
|
|
}
|
|
}
|
|
}
|