mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
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:
parent
d8222c066c
commit
396333d906
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue