diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-04-09 17:11:57 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-04-09 17:11:57 -0400 |
| commit | 1b600aee37fbcbe27ba48e669b5ada790aa4c5da (patch) | |
| tree | 48f61282a83f3715608f1d4363284deb892531b4 /MediaBrowser.Api/UserLibrary/GameGenresService.cs | |
| parent | 1b549adf0fae6d54a2bd1187ce4013ef802b85f2 (diff) | |
improve name matching
Diffstat (limited to 'MediaBrowser.Api/UserLibrary/GameGenresService.cs')
| -rw-r--r-- | MediaBrowser.Api/UserLibrary/GameGenresService.cs | 2 |
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)); } } |
