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
@@ -49,7 +49,10 @@ namespace NzbDrone.Core.Test.MediaFiles
var album = Builder<Album>.CreateNew()
.With(e => e.Artist = artist)
.Build();
var release = Builder<AlbumRelease>.CreateNew()
.With(e => e.AlbumId = album.Id)
.Build();
var tracks = Builder<Track>.CreateListOfSize(5)
.Build();
@@ -68,6 +71,7 @@ namespace NzbDrone.Core.Test.MediaFiles
{
Artist = artist,
Album = album,
Release = release,
Tracks = new List<Track> { track },
Path = Path.Combine(artist.Path, "Alien Ant Farm - 01 - Pilot.mp3"),
Quality = new QualityModel(Quality.MP3_256),