Commit 92dd5706 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

VLCMetadataService: Set the artist artwork

parent f103db07
......@@ -232,6 +232,9 @@ bool VLCMetadataService::handleArtist( std::shared_ptr<Album> album, std::shared
{
if ( album->addArtist( artist ) == false )
LOG_WARN( "Failed to add artist ", artist->name(), " to album ", album->title() );
// This is the first time we have both artist & album, use this opportunity to set an artist artwork.
if ( artist->artworkUrl().empty() == true )
artist->setArtworkUrl( album->artworkUrl() );
}
}
else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment