Change AlbumResource label to labels due to the change in lidarr/lidarrapi.metadata#13 (#131)

This commit is contained in:
Daniel Underwood 2017-11-20 22:34:27 -05:00 committed by Qstick
parent 10b8174726
commit 30eb8c9c05
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ namespace NzbDrone.Core.MetadataSource.SkyHook.Resource
public string Title { get; set; } public string Title { get; set; }
public string Overview { get; set; } public string Overview { get; set; }
public List<string> Genres { get; set; } public List<string> Genres { get; set; }
public List<string> Label { get; set; } public List<string> Labels { get; set; }
public string Type { get; set; } public string Type { get; set; }
public List<MediumResource> Media { get; set; } public List<MediumResource> Media { get; set; }
public List<TrackResource> Tracks { get; set; } public List<TrackResource> Tracks { get; set; }

View File

@ -156,7 +156,7 @@ namespace NzbDrone.Core.MetadataSource.SkyHook
album.CleanTitle = Parser.Parser.CleanArtistName(album.Title); album.CleanTitle = Parser.Parser.CleanArtistName(album.Title);
album.AlbumType = resource.Type; album.AlbumType = resource.Type;
album.Images = resource.Images.Select(MapImage).ToList(); album.Images = resource.Images.Select(MapImage).ToList();
album.Label = resource.Label; album.Label = resource.Labels;
album.Media = resource.Media.Select(MapMedium).ToList(); album.Media = resource.Media.Select(MapMedium).ToList();
album.Tracks = resource.Tracks.Select(MapTrack).ToList(); album.Tracks = resource.Tracks.Select(MapTrack).ToList();