mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-30 19:32:57 +01:00
improve name matching
This commit is contained in:
@@ -54,7 +54,7 @@ namespace MediaBrowser.Providers.Music
|
||||
var currentList = item.Genres.ToList();
|
||||
|
||||
item.Genres = taggedItems.SelectMany(i => i.Genres)
|
||||
.Distinct(StringComparer.OrdinalIgnoreCase)
|
||||
.DistinctNames()
|
||||
.ToList();
|
||||
|
||||
if (currentList.Count != item.Genres.Count || !currentList.OrderBy(i => i).SequenceEqual(item.Genres.OrderBy(i => i), StringComparer.OrdinalIgnoreCase))
|
||||
|
||||
Reference in New Issue
Block a user