mirror of https://github.com/lidarr/Lidarr
Change AlbumResource label to labels due to the change in lidarr/lidarrapi.metadata#13 (#131)
This commit is contained in:
parent
10b8174726
commit
30eb8c9c05
|
@ -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; }
|
||||||
|
|
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue