When using a JSON list that consists of only MusicBrainzId's, the list is being filtered. This appears to fix the issue, or it may have just broke the check, please check.

This commit is contained in:
Shadowalker125 2025-02-16 02:15:45 +00:00
commit 396333d906
2 changed files with 2 additions and 2 deletions

View file

@ -135,7 +135,7 @@ namespace NzbDrone.Core.ImportLists
Task.WaitAll(taskList.ToArray());
result = result.DistinctBy(r => new { r.Artist, r.Album }).ToList();
result = result.DistinctBy(r => new { r.Artist, r.Album, r.ArtistMusicBrainzId }).ToList();
return result;
}

View file

@ -64,7 +64,7 @@ namespace NzbDrone.Core.ImportLists
protected virtual IList<ImportListItemInfo> CleanupListItems(IEnumerable<ImportListItemInfo> releases)
{
var result = releases.DistinctBy(r => new { r.Artist, r.Album }).ToList();
var result = releases.DistinctBy(r => new { r.Artist, r.Album, r.ArtistMusicBrainzId }).ToList();
result.ForEach(c =>
{