fixed case sensitivity in ratings comparisons

This commit is contained in:
Luke Pulverenti 2013-09-11 13:55:12 -04:00
parent 803e8b4a2e
commit 54f27da740

View file

@ -204,7 +204,7 @@ namespace MediaBrowser.Server.Implementations.Localization
})
.Where(i => i != null)
.ToDictionary(i => i.Name);
.ToDictionary(i => i.Name, StringComparer.OrdinalIgnoreCase);
var countryCode = Path.GetFileNameWithoutExtension(file).Split('-').Last();