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.

pull/5399/head
Shadowalker125 2 months ago
parent d8222c066c
commit 396333d906

@ -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;
}

@ -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 =>
{

Loading…
Cancel
Save