New: Update DB to store all releases for an album (#517)

* New: Store all releases for an album and track artists

* Add Overview, links and release date by release

* Tidy up

* Fix metadata refresh errors following musicbrainz edits
This commit is contained in:
ta264
2018-12-15 00:02:43 +00:00
committed by Qstick
parent 24bdb5a891
commit c392569a63
136 changed files with 2305 additions and 1120 deletions
@@ -11,6 +11,7 @@ using NzbDrone.Core.Test.Framework;
using NzbDrone.Core.Music;
using NzbDrone.Test.Common;
using FizzWare.NBuilder;
using Marr.Data;
namespace NzbDrone.Core.Test.DecisionEngineTests
{
@@ -233,7 +234,7 @@ namespace NzbDrone.Core.Test.DecisionEngineTests
var albums = Builder<Album>.CreateListOfSize(2)
.All()
.With(v => v.ArtistId, artist.Id)
.With(v => v.Artist, artist)
.With(v => v.Artist, new LazyLoaded<Artist>(artist))
.BuildList();
var criteria = new ArtistSearchCriteria { Albums = albums.Take(1).ToList()};