mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-21 22:04:31 -04:00
Add Album Label Support from Metadata
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
@@ -20,7 +20,7 @@ namespace NzbDrone.Core.MetadataSource.SkyHook.Resource
|
||||
public string Title { get; set; } // In case of a takedown, this may be empty
|
||||
public string Overview { get; set; }
|
||||
public List<string> Genres { get; set; }
|
||||
public string Label { get; set; }
|
||||
public List<string> Label { get; set; }
|
||||
public string Type { get; set; }
|
||||
public List<TrackResource> Tracks { get; set; }
|
||||
}
|
||||
|
||||
@@ -143,6 +143,7 @@ namespace NzbDrone.Core.MetadataSource.SkyHook
|
||||
album.CleanTitle = Parser.Parser.CleanArtistTitle(album.Title);
|
||||
album.AlbumType = resource.Type;
|
||||
album.Images = resource.Images.Select(MapImage).ToList();
|
||||
album.Label = resource.Label;
|
||||
|
||||
var tracks = resource.Tracks.Select(MapTrack);
|
||||
album.Tracks = tracks.ToList();
|
||||
|
||||
Reference in New Issue
Block a user