mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-04 14:58:36 +01:00
Enable TreatWarningsAsErrors for MediaBrowser.Model
This commit is contained in:
@@ -7,6 +7,14 @@ namespace MediaBrowser.Model.Providers
|
||||
{
|
||||
public class SubtitleOptions
|
||||
{
|
||||
public SubtitleOptions()
|
||||
{
|
||||
DownloadLanguages = Array.Empty<string>();
|
||||
|
||||
SkipIfAudioTrackMatches = true;
|
||||
RequirePerfectMatch = true;
|
||||
}
|
||||
|
||||
public bool SkipIfEmbeddedSubtitlesPresent { get; set; }
|
||||
|
||||
public bool SkipIfAudioTrackMatches { get; set; }
|
||||
@@ -24,13 +32,5 @@ namespace MediaBrowser.Model.Providers
|
||||
public bool IsOpenSubtitleVipAccount { get; set; }
|
||||
|
||||
public bool RequirePerfectMatch { get; set; }
|
||||
|
||||
public SubtitleOptions()
|
||||
{
|
||||
DownloadLanguages = Array.Empty<string>();
|
||||
|
||||
SkipIfAudioTrackMatches = true;
|
||||
RequirePerfectMatch = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user