aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Library/Validators/GenresValidator.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-04-09 17:11:57 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-04-09 17:11:57 -0400
commit1b600aee37fbcbe27ba48e669b5ada790aa4c5da (patch)
tree48f61282a83f3715608f1d4363284deb892531b4 /MediaBrowser.Server.Implementations/Library/Validators/GenresValidator.cs
parent1b549adf0fae6d54a2bd1187ce4013ef802b85f2 (diff)
improve name matching
Diffstat (limited to 'MediaBrowser.Server.Implementations/Library/Validators/GenresValidator.cs')
-rw-r--r--MediaBrowser.Server.Implementations/Library/Validators/GenresValidator.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/Library/Validators/GenresValidator.cs b/MediaBrowser.Server.Implementations/Library/Validators/GenresValidator.cs
index 3a06fac1b..fac5cfc35 100644
--- a/MediaBrowser.Server.Implementations/Library/Validators/GenresValidator.cs
+++ b/MediaBrowser.Server.Implementations/Library/Validators/GenresValidator.cs
@@ -37,7 +37,7 @@ namespace MediaBrowser.Server.Implementations.Library.Validators
{
var items = _libraryManager.RootFolder.GetRecursiveChildren(i => !(i is IHasMusicGenres) && !(i is Game))
.SelectMany(i => i.Genres)
- .Distinct(StringComparer.OrdinalIgnoreCase)
+ .DistinctNames()
.ToList();
var numComplete = 0;