mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-20 21:54:25 -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:
@@ -7,31 +7,18 @@ namespace NzbDrone.Core.MetadataSource.SkyHook.Resource
|
||||
{
|
||||
public class AlbumResource
|
||||
{
|
||||
public AlbumResource()
|
||||
{
|
||||
Media = new List<MediumResource>();
|
||||
Releases = new List<ReleaseResource>();
|
||||
}
|
||||
|
||||
public List<ArtistResource> Artists { get; set; } // Will always be length of 1 unless a compilation
|
||||
public string Url { get; set; } // Link to the endpoint api to give full info for this object
|
||||
public string Id { get; set; } // This is a unique Album ID. Needed for all future API calls
|
||||
public DateTime ReleaseDate { get; set; }
|
||||
public List<ImageResource> Images { get; set; }
|
||||
public string Title { get; set; }
|
||||
public string ArtistId { get; set; }
|
||||
public List<ArtistResource> Artists { get; set; }
|
||||
public string Disambiguation { get; set; }
|
||||
public string Overview { get; set; }
|
||||
public List<string> Genres { get; set; }
|
||||
public List<string> Labels { get; set; }
|
||||
public string Type { get; set; }
|
||||
public List<string> SecondaryTypes { get; set; }
|
||||
public List<MediumResource> Media { get; set; }
|
||||
public List<TrackResource> Tracks { get; set; }
|
||||
public List<ReleaseResource> Releases { get; set; }
|
||||
public string Id { get; set; }
|
||||
public List<ImageResource> Images { get; set; }
|
||||
public List<LinkResource> Links { get; set; }
|
||||
public RatingResource Rating { get; set; }
|
||||
public string SelectedRelease { get; set; }
|
||||
public AlbumArtistResource Artist { get; set; }
|
||||
public DateTime ReleaseDate { get; set; }
|
||||
public List<ReleaseResource> Releases { get; set; }
|
||||
public List<string> SecondaryTypes { get; set; }
|
||||
public string Title { get; set; }
|
||||
public string Type { get; set; }
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user