mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-24 22:35:39 -04:00
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:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user