Browse Source

Update SubtitleScheduledTask.cs

BaronGreenback 4 years ago
parent
commit
6b2b484987
1 changed files with 0 additions and 3 deletions
  1. 0 3
      MediaBrowser.Providers/MediaInfo/SubtitleScheduledTask.cs

+ 0 - 3
MediaBrowser.Providers/MediaInfo/SubtitleScheduledTask.cs

@@ -75,21 +75,18 @@ namespace MediaBrowser.Providers.MediaInfo
                 string[] subtitleDownloadLanguages;
                 string[] subtitleDownloadLanguages;
                 bool skipIfEmbeddedSubtitlesPresent;
                 bool skipIfEmbeddedSubtitlesPresent;
                 bool skipIfAudioTrackMatches;
                 bool skipIfAudioTrackMatches;
-                // bool requirePerfectMatch;
 
 
                 if (libraryOptions.SubtitleDownloadLanguages == null)
                 if (libraryOptions.SubtitleDownloadLanguages == null)
                 {
                 {
                     subtitleDownloadLanguages = options.DownloadLanguages;
                     subtitleDownloadLanguages = options.DownloadLanguages;
                     skipIfEmbeddedSubtitlesPresent = options.SkipIfEmbeddedSubtitlesPresent;
                     skipIfEmbeddedSubtitlesPresent = options.SkipIfEmbeddedSubtitlesPresent;
                     skipIfAudioTrackMatches = options.SkipIfAudioTrackMatches;
                     skipIfAudioTrackMatches = options.SkipIfAudioTrackMatches;
-                    // requirePerfectMatch = options.RequirePerfectMatch;
                 }
                 }
                 else
                 else
                 {
                 {
                     subtitleDownloadLanguages = libraryOptions.SubtitleDownloadLanguages;
                     subtitleDownloadLanguages = libraryOptions.SubtitleDownloadLanguages;
                     skipIfEmbeddedSubtitlesPresent = libraryOptions.SkipSubtitlesIfEmbeddedSubtitlesPresent;
                     skipIfEmbeddedSubtitlesPresent = libraryOptions.SkipSubtitlesIfEmbeddedSubtitlesPresent;
                     skipIfAudioTrackMatches = libraryOptions.SkipSubtitlesIfAudioTrackMatches;
                     skipIfAudioTrackMatches = libraryOptions.SkipSubtitlesIfAudioTrackMatches;
-                    // requirePerfectMatch = libraryOptions.RequirePerfectSubtitleMatch;
                 }
                 }
 
 
                 foreach (var lang in subtitleDownloadLanguages)
                 foreach (var lang in subtitleDownloadLanguages)