limit open subtitle formats

This commit is contained in:
Luke Pulverenti 2015-11-25 12:06:50 -05:00
parent 4f4bb2ebfb
commit 6dc4f3ddf1

View file

@ -321,7 +321,8 @@ namespace MediaBrowser.Providers.Subtitles
Name = i.SubFileName,
DateCreated = DateTime.Parse(i.SubAddDate, _usCulture),
IsHashMatch = i.MovieHash == hasCopy
});
}).Where(i => !string.Equals(i.Format, "sub", StringComparison.OrdinalIgnoreCase) && !string.Equals(i.Format, "idx", StringComparison.OrdinalIgnoreCase));
}
public void Dispose()