mirror of https://github.com/lidarr/Lidarr
Fixed: Roxsbox ArtistImages using AlbumImages Setting, Returing null
Fixes LIDARR-1S3
This commit is contained in:
parent
ea3534b204
commit
872d65ad1a
|
@ -153,7 +153,7 @@ namespace NzbDrone.Core.Extras.Metadata.Consumers.Roksbox
|
||||||
|
|
||||||
public override List<ImageFileResult> ArtistImages(Artist artist)
|
public override List<ImageFileResult> ArtistImages(Artist artist)
|
||||||
{
|
{
|
||||||
if (!Settings.AlbumImages)
|
if (!Settings.ArtistImages)
|
||||||
{
|
{
|
||||||
return new List<ImageFileResult>();
|
return new List<ImageFileResult>();
|
||||||
}
|
}
|
||||||
|
@ -162,7 +162,7 @@ namespace NzbDrone.Core.Extras.Metadata.Consumers.Roksbox
|
||||||
if (image == null)
|
if (image == null)
|
||||||
{
|
{
|
||||||
_logger.Trace("Failed to find suitable Artist image for artist {0}.", artist.Name);
|
_logger.Trace("Failed to find suitable Artist image for artist {0}.", artist.Name);
|
||||||
return null;
|
return new List<ImageFileResult>(); ;
|
||||||
}
|
}
|
||||||
|
|
||||||
var source = _mediaCoverService.GetCoverPath(artist.Id, image.CoverType);
|
var source = _mediaCoverService.GetCoverPath(artist.Id, image.CoverType);
|
||||||
|
|
Loading…
Reference in New Issue