New: Show Release Title on Release Selection (#343)

Fixes #329
This commit is contained in:
Qstick 2018-05-04 18:34:03 -04:00 committed by GitHub
parent a794ed8860
commit ad6e651090
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 3 deletions

View file

@ -8,6 +8,7 @@ namespace Lidarr.Api.V1.Albums
public class AlbumReleaseResource
{
public string Id { get; set; }
public string Title { get; set; }
public DateTime? ReleaseDate { get; set; }
public int TrackCount { get; set; }
public int MediaCount { get; set; }
@ -29,6 +30,7 @@ namespace Lidarr.Api.V1.Albums
return new AlbumReleaseResource
{
Id = model.Id,
Title = model.Title,
ReleaseDate = model.ReleaseDate,
TrackCount = model.TrackCount,
MediaCount = model.MediaCount,
@ -49,6 +51,7 @@ namespace Lidarr.Api.V1.Albums
return new AlbumRelease
{
Id = resource.Id,
Title = resource.Title,
ReleaseDate = resource.ReleaseDate,
TrackCount = resource.TrackCount,
MediaCount = resource.MediaCount,

View file

@ -12,6 +12,7 @@ namespace NzbDrone.Core.MetadataSource.SkyHook.Resource
public string Disambiguation { get; set; }
public List<string> Label {get; set;}
public List<string> Country { get; set; }
public string Title { get; set; }
public string Format { get; set; }
}
}

View file

@ -313,6 +313,7 @@ namespace NzbDrone.Core.MetadataSource.SkyHook
AlbumRelease albumRelease = new AlbumRelease
{
Id = resource.Id,
Title = resource.Title,
ReleaseDate = resource.ReleaseDate,
TrackCount = resource.TrackCount,
Format = resource.Format,

View file

@ -7,6 +7,7 @@ namespace NzbDrone.Core.Music
public class AlbumRelease : IEmbeddedDocument
{
public string Id { get; set; }
public string Title { get; set; }
public DateTime? ReleaseDate { get; set; }
public int TrackCount { get; set; }
public int MediaCount { get; set; }