aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/UserLibrary/GameGenresService.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.Api/UserLibrary/GameGenresService.cs
parent1b549adf0fae6d54a2bd1187ce4013ef802b85f2 (diff)
improve name matching
Diffstat (limited to 'MediaBrowser.Api/UserLibrary/GameGenresService.cs')
-rw-r--r--MediaBrowser.Api/UserLibrary/GameGenresService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Api/UserLibrary/GameGenresService.cs b/MediaBrowser.Api/UserLibrary/GameGenresService.cs
index 3063e19c7..2f7430d33 100644
--- a/MediaBrowser.Api/UserLibrary/GameGenresService.cs
+++ b/MediaBrowser.Api/UserLibrary/GameGenresService.cs
@@ -105,7 +105,7 @@ namespace MediaBrowser.Api.UserLibrary
return itemsList
.SelectMany(i => i.Genres)
- .Distinct(StringComparer.OrdinalIgnoreCase)
+ .DistinctNames()
.Select(name => LibraryManager.GetGameGenre(name));
}
}